X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fcredential.py;h=290fb1d2605e8d6b8957c4693924683fa0a7f2b1;hb=b80c9c29deeccc27eb264e810021c1d92b6339bc;hp=cb02d8644c79a09651bc3f6be3c01a407a12f1b2;hpb=e7466af8f7cf495eb005f842257b3b33dc2ba7e4;p=sfa.git diff --git a/sfa/trust/credential.py b/sfa/trust/credential.py index cb02d864..290fb1d2 100644 --- a/sfa/trust/credential.py +++ b/sfa/trust/credential.py @@ -661,8 +661,10 @@ class Credential(object): # Call out to xmlsec1 to sign it ref = 'Sig_%s' % self.get_refid() filename = self.save_to_random_tmp_file() - signed = os.popen('%s --sign --node-id "%s" --privkey-pem %s,%s %s' \ - % (self.xmlsec_path, ref, self.issuer_privkey, ",".join(gid_files), filename)).read() + command='%s --sign --node-id "%s" --privkey-pem %s,%s %s' \ + % (self.xmlsec_path, ref, self.issuer_privkey, ",".join(gid_files), filename) +# print 'command',command + signed = os.popen(command).read() os.remove(filename) for gid_file in gid_files: