Changeset 67fa1cf for fedd/fedd_create.py
- Timestamp:
- May 30, 2013 3:53:29 PM (11 years ago)
- Branches:
- master
- Children:
- 1f9c361, b213b53
- Parents:
- e8f2d4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_create.py
re8f2d4c r67fa1cf 6 6 7 7 import ABAC 8 import Creddy9 8 10 9 from string import join, ascii_letters … … 129 128 130 129 try: 131 cid = Creddy.ID(certfile)130 cid = ABAC.ID(certfile) 132 131 cid.load_privkey(keyfile) 133 cattr = Creddy.Attribute(cid, 'acting_for', 3600 * 24 * 365 * 10)132 cattr = ABAC.Attribute(cid, 'acting_for', 3600 * 24 * 365 * 10) 134 133 cattr.principal("%s" % expid) 135 134 cattr.bake() 136 cattr.write_ name(fn)135 cattr.write_file(fn) 137 136 except RuntimeError: 138 137 print >>sys.stderr, "Cannot create ABAC delegation. " + \
Note: See TracChangeset
for help on using the changeset viewer.