mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
clean up troubleshooting comment
This commit is contained in:
parent
49758f2383
commit
e112718d2d
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@ def make_signature(method, sender, destination, date, digest=None):
|
||||||
message_to_sign = "\n".join(signature_headers)
|
message_to_sign = "\n".join(signature_headers)
|
||||||
signer = pkcs1_15.new(RSA.import_key(sender.key_pair.private_key))
|
signer = pkcs1_15.new(RSA.import_key(sender.key_pair.private_key))
|
||||||
signed_message = signer.sign(SHA256.new(message_to_sign.encode("utf8")))
|
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 = {
|
signature = {
|
||||||
"keyId": f"{sender.remote_id}/#main-key",
|
"keyId": f"{sender.remote_id}/#main-key",
|
||||||
"algorithm": "rsa-sha256",
|
"algorithm": "rsa-sha256",
|
||||||
|
|
Loading…
Reference in a new issue