From: Tony Mack Date: Tue, 4 May 2010 19:31:59 +0000 (+0000) Subject: dont forget to sign the gid X-Git-Tag: sfa-0.9-11~6^2~13 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=ce100716836564b2e00ead358296c9e0e9000188 dont forget to sign the gid --- diff --git a/sfa/server/sfa-ca.py b/sfa/server/sfa-ca.py index 477399a7..84b7ea35 100755 --- a/sfa/server/sfa-ca.py +++ b/sfa/server/sfa-ca.py @@ -87,10 +87,13 @@ def sign(options): outfile = options.outfile if not outfile: outfile = os.path.abspath('./signed-%s.gid' % gid.get_hrn()) - + + # check if gid already has a parent + # sign the gid gid.set_issuer(parent_key, parent_hrn) gid.set_parent(parent_gid) + gid.sign() gid.save_to_file(outfile, save_parents=True)