Changeset 187a8f9


Ignore:
Timestamp:
Feb 13, 2015 10:15:47 AM (10 years ago)
Author:
Ted Faber <faber@…>
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.
Message:

Merge branch 'master' of tardis.deterlab.net:/var/local/git/fedd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/util.py

    rc3a573c r187a8f9  
    307307
    308308def abac_pem_type(cert):
    309     key_re = re.compile('\s*-----BEGIN RSA PRIVATE KEY-----$')
     309    key_re = re.compile('\s*-----BEGIN (RSA )?PRIVATE KEY-----$')
    310310    cert_re = re.compile('\s*-----BEGIN CERTIFICATE-----$')
    311311    type = None
     
    364364    # Initialize the diversions
    365365    divs = [diversion(s, e, fn=pfn, fd=pfd ) for s, e, pfn, pfd in (
    366         ('\s*-----BEGIN RSA PRIVATE KEY-----$',
    367             '\s*-----END RSA PRIVATE KEY-----$',
     366        ('\s*-----BEGIN (RSA )?PRIVATE KEY-----$',
     367            '\s*-----END (RSA )?PRIVATE KEY-----$',
    368368            keyfile, kf),
    369369        ('\s*-----BEGIN CERTIFICATE-----$',
Note: See TracChangeset for help on using the changeset viewer.