X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fsfa-ca.py;h=c76b98579091095a975fcd48f9962005f2937853;hb=9681bcd9c320f422c43b29c3f58798db15917dbe;hp=a2266c658f402a15f6670f46b17849847fb17e49;hpb=5a6a0c05783bd0d72d276a2fe601324dc538db63;p=sfa.git diff --git a/sfa/server/sfa-ca.py b/sfa/server/sfa-ca.py index a2266c65..c76b9857 100755 --- 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) + # 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