From e112718d2d08369581dc14f0f12fef1525d0be74 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Mon, 10 Apr 2023 20:34:45 +1000 Subject: [PATCH] clean up troubleshooting comment --- bookwyrm/signatures.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bookwyrm/signatures.py b/bookwyrm/signatures.py index 10d500f1c..3dfde4cb1 100644 --- a/bookwyrm/signatures.py +++ b/bookwyrm/signatures.py @@ -38,7 +38,6 @@ def make_signature(method, sender, destination, date, digest=None): message_to_sign = "\n".join(signature_headers) signer = pkcs1_15.new(RSA.import_key(sender.key_pair.private_key)) signed_message = signer.sign(SHA256.new(message_to_sign.encode("utf8"))) - # TODO: this should be /#main-key to match our user key ids, even though that was probably a mistake in hindsight. signature = { "keyId": f"{sender.remote_id}/#main-key", "algorithm": "rsa-sha256",