This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blog post "how-to-implement-a-basic-activitypub-server" misses the field Digest
#17299
Comments
How should the Digest field look?
|
It's written in those lines: mastodon/app/controllers/concerns/signature_verification.rb Lines 134 to 142 in c3aef49
The digest field should be added to the "signed string" like that (in Clojure): https://codeberg.org/green-coder/the-pub/src/branch/made-in-taiwan/src/the_pub/ring_handler.clj#L95-L98 The field This commit diff sums up the information missing in the blog, which I found in the Mastodon source code: |
Can/will old blog posts be updated? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Steps to reproduce the problem
Expected behaviour
The POST request should be accepted by the server (code 202)
Actual behaviour
The server answers an error 401
Specifications
The blog post is missing the information about the
Digest
field.See
mastodon/app/controllers/concerns/signature_verification.rb
Line 131 in c3aef49
The text was updated successfully, but these errors were encountered: