Changeset 187a8f9 for fedd/federation
- Timestamp:
- Feb 13, 2015 10:15:47 AM (10 years ago)
- Branches:
- master
- Children:
- 59c56fa
- Parents:
- c3a573c (diff), ad4b25a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
rc3a573c r187a8f9 307 307 308 308 def abac_pem_type(cert): 309 key_re = re.compile('\s*-----BEGIN RSAPRIVATE KEY-----$')309 key_re = re.compile('\s*-----BEGIN (RSA )?PRIVATE KEY-----$') 310 310 cert_re = re.compile('\s*-----BEGIN CERTIFICATE-----$') 311 311 type = None … … 364 364 # Initialize the diversions 365 365 divs = [diversion(s, e, fn=pfn, fd=pfd ) for s, e, pfn, pfd in ( 366 ('\s*-----BEGIN RSAPRIVATE KEY-----$',367 '\s*-----END RSAPRIVATE KEY-----$',366 ('\s*-----BEGIN (RSA )?PRIVATE KEY-----$', 367 '\s*-----END (RSA )?PRIVATE KEY-----$', 368 368 keyfile, kf), 369 369 ('\s*-----BEGIN CERTIFICATE-----$',
Note: See TracChangeset
for help on using the changeset viewer.