chained certs now included in credential signature
authorJosh Karlin <jkarlin@bbn.com>
Tue, 13 Apr 2010 16:33:49 +0000 (16:33 +0000)
committerJosh Karlin <jkarlin@bbn.com>
Tue, 13 Apr 2010 16:33:49 +0000 (16:33 +0000)
sfa/trust/credential.py

index ed1d585..68fdca9 100644 (file)
@@ -479,6 +479,9 @@ class Credential(object):
                  % (ref, self.issuer_privkey, ",".join(gid_files), filename)).read()
         os.remove(filename)
 
+        for gid_file in gid_files:
+            os.remove(gid_file)
+
         self.xml = signed
 
         # This is no longer a legacy credential