From 28894ac1b758ad3a8f762eee87662d1bba0d214f Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Fri, 3 Jul 2015 20:11:27 +0100 Subject: [PATCH] Bugfix to embedded sign_json() python code --- specification/31_event_signing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/31_event_signing.rst b/specification/31_event_signing.rst index c015e892..9351cd57 100644 --- a/specification/31_event_signing.rst +++ b/specification/31_event_signing.rst @@ -124,7 +124,7 @@ and additional signatures. signature_base64 = encode_base64(signed.signature) 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 if unsigned is not None: