Why Nostr? What is Njump?
2024-01-07 13:34:45

ruto on Nostr: MastodonのHTTP ...

MastodonのHTTP Signatureはdraft-cavage-http-signatures-06に基づいているが、最新のドラフトとは互換性がない。
https://github.com/mastodon/mastodon/blob/5a6d533c5390832f86c3352af0f6023f9ad07156/app/controllers/concerns/signature_verification.rb#L3-L4
https://datatracker.ietf.org/doc/draft-cavage-http-signatures/06/

そもそもコンテンツのダイジェストを含めるヘッダからして違う。
https://datatracker.ietf.org/doc/html/rfc3230#section-4.3.2
https://datatracker.ietf.org/doc/draft-ietf-httpbis-digest-headers/

一応両方の規格で受理されるヘッダを出力することはできそうではある。
Author Public Key
npub19zyfvxjkfcyqml344k8uv5tmjgxjlnft0qcvw0mu870j4whfp65sq5sfxh