Changeset cf7bc45


Ignore:
Timestamp:
Apr 9, 2012 11:32:42 AM (8 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
cc6091c
Parents:
9be06f0
Message:

Tool to add credentials to an existing abac authorizer

Location:
fedd
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/authorizer.py

    r9be06f0 rcf7bc45  
    311311            if data_list is None: data_list = []
    312312            for fn in file_list:
     313                # Try to parse file as a Creddy ID, so we can import PEM files
     314                try:
     315                    cid = Creddy.ID(fn)
     316                    data_list.append(cid.cert_chunk())
     317                    continue
     318                except:
     319                    # Not an ID
     320                    pass
    313321                try:
    314322                    f = open(fn, 'r')
  • fedd/setup.py

    r9be06f0 rcf7bc45  
    1515        scripts=['access_to_abac.py', 'cert_to_fedid.py', 'confirm_sshkey.py',
    1616            'creddy_split.py', 'dump_abac_authorizer.py', 'exp_access_db.py',
     17            'import_abac_creds.py',
    1718            'fedd.py', 'fedd_client.py', 'fedd_create.py', 'fedd_ftopo.py',
    1819            'fedd_image.py', 'fedd_info.py', 'fedd_multiinfo.py',
Note: See TracChangeset for help on using the changeset viewer.