implement verbose output, fix name errors
authorTony Mack <tmack@cs.princeton.edu>
Thu, 6 May 2010 16:22:04 +0000 (16:22 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 6 May 2010 16:22:04 +0000 (16:22 +0000)
sfa/server/sfa-ca.py

index a2266c6..c76b985 100755 (executable)
@@ -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