Changeset ad4b25a for fedd/federation
- Timestamp:
- Feb 9, 2015 9:15:55 AM (10 years ago)
- Branches:
- master
- Children:
- 187a8f9
- Parents:
- 36e701e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
r36e701e rad4b25a 293 293 294 294 def abac_pem_type(cert): 295 key_re = re.compile('\s*-----BEGIN RSAPRIVATE KEY-----$')295 key_re = re.compile('\s*-----BEGIN (RSA )?PRIVATE KEY-----$') 296 296 cert_re = re.compile('\s*-----BEGIN CERTIFICATE-----$') 297 297 type = None … … 350 350 # Initialize the diversions 351 351 divs = [diversion(s, e, fn=pfn, fd=pfd ) for s, e, pfn, pfd in ( 352 ('\s*-----BEGIN RSAPRIVATE KEY-----$',353 '\s*-----END RSAPRIVATE KEY-----$',352 ('\s*-----BEGIN (RSA )?PRIVATE KEY-----$', 353 '\s*-----END (RSA )?PRIVATE KEY-----$', 354 354 keyfile, kf), 355 355 ('\s*-----BEGIN CERTIFICATE-----$',
Note: See TracChangeset
for help on using the changeset viewer.