git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement verbose output, fix name errors
[sfa.git]
/
sfa
/
server
/
sfa-ca.py
diff --git
a/sfa/server/sfa-ca.py
b/sfa/server/sfa-ca.py
index
a2266c6
..
c76b985
100755
(executable)
--- a/
sfa/server/sfa-ca.py
+++ b/
sfa/server/sfa-ca.py
@@
-83,6
+83,9
@@
def sign(options):
sys.exit(1)
gid = GID(filename=gidfile)
sys.exit(1)
gid = GID(filename=gidfile)
+ # remove previous parent
+ gid = GID(string=gid.save_to_string(save_parents=False))
+
# load the parent private info
authority = options.authority
# if no pkey was specified, then use the this authority's key
# load the parent private info
authority = options.authority
# if no pkey was specified, then use the this authority's key