Bugfix to embedded sign_json() python code

pull/977/head
Paul "LeoNerd" Evans 10 years ago
parent e572cc662a
commit 28894ac1b7

@ -124,7 +124,7 @@ and additional signatures.
signature_base64 = encode_base64(signed.signature) signature_base64 = encode_base64(signed.signature)
key_id = "%s:%s" % (signing_key.alg, signing_key.version) key_id = "%s:%s" % (signing_key.alg, signing_key.version)
signatures.setdefault(sigature_name, {})[key_id] = signature_base64 signatures.setdefault(signing_name, {})[key_id] = signature_base64
json_object["signatures"] = signatures json_object["signatures"] = signatures
if unsigned is not None: if unsigned is not None:

Loading…
Cancel
Save