Changeset 0a16b28 for fedd/federation
- Timestamp:
- Aug 12, 2012 4:38:33 PM (12 years ago)
- Branches:
- compt_changes
- Children:
- 7bb03f0
- Parents:
- adf8517
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
radf8517 r0a16b28 302 302 303 303 def abac_pem_type(cert): 304 key_re = re.compile('\s*-----BEGIN RSAPRIVATE KEY-----$')304 key_re = re.compile('\s*-----BEGIN PRIVATE KEY-----$') 305 305 cert_re = re.compile('\s*-----BEGIN CERTIFICATE-----$') 306 306 type = None … … 359 359 # Initialize the diversions 360 360 divs = [diversion(s, e, fn=pfn, fd=pfd ) for s, e, pfn, pfd in ( 361 ('\s*-----BEGIN RSAPRIVATE KEY-----$',362 '\s*-----END RSAPRIVATE KEY-----$',361 ('\s*-----BEGIN PRIVATE KEY-----$', 362 '\s*-----END PRIVATE KEY-----$', 363 363 keyfile, kf), 364 364 ('\s*-----BEGIN CERTIFICATE-----$',
Note: See TracChangeset
for help on using the changeset viewer.