<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Question about HTTP Signatures in #ActivityPub, IIUC the header is a digest of the HTTP body.]]></title><description><![CDATA[<p>Question about HTTP Signatures in <a href="https://mastodon.social/tags/ActivityPub" rel="tag">#<span>ActivityPub</span></a>, IIUC the header is a digest of the HTTP body. Given that JSON is not white-space sensitive, does that mean that storing the response must preserve the indentation used by the server?</p><p><a href="https://mastodon.social/tags/ActivityPubDev" rel="tag">#<span>ActivityPubDev</span></a></p>]]></description><link>https://bb.devnull.land/topic/98fe4d1d-ac3d-4f79-aa5e-968ba1bc722f/question-about-http-signatures-in-activitypub-iiuc-the-header-is-a-digest-of-the-http-body.</link><generator>RSS for Node</generator><lastBuildDate>Sun, 21 Jun 2026 09:28:44 GMT</lastBuildDate><atom:link href="https://bb.devnull.land/topic/98fe4d1d-ac3d-4f79-aa5e-968ba1bc722f.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2026 23:09:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Question about HTTP Signatures in #ActivityPub, IIUC the header is a digest of the HTTP body. on Thu, 18 Jun 2026 19:52:42 GMT]]></title><description><![CDATA[<p><span><a href="/user/puercopop%40mastodon.social" rel="noopener">@PuercoPop</a></span> I think HTTP signatures are not good for that, but you can put a signature inside an activity:</p><p><a href="https://fediverse.codeberg.page/fep/fep/8b32/" rel="noopener">https://fediverse.codeberg.page/fep/fep/8b32/</a></p><p>"integrity proofs" proposed in this document use <a href="https://www.rfc-editor.org/rfc/rfc8785" rel="noopener">JSON Canonicalization Scheme</a>, which is not whitespace-sensitive.</p>]]></description><link>https://bb.devnull.land/post/https://mitra.social/objects/019edc4a-fc0e-74c1-9837-1df5d369c584</link><guid isPermaLink="true">https://bb.devnull.land/post/https://mitra.social/objects/019edc4a-fc0e-74c1-9837-1df5d369c584</guid><dc:creator><![CDATA[silverpill@mitra.social]]></dc:creator><pubDate>Thu, 18 Jun 2026 19:52:42 GMT</pubDate></item><item><title><![CDATA[Reply to Question about HTTP Signatures in #ActivityPub, IIUC the header is a digest of the HTTP body. on Thu, 18 Jun 2026 19:31:04 GMT]]></title><description><![CDATA[<p><span><a href="/user/silverpill%40mitra.social">@<span>silverpill</span></a></span> Sorry for being imprecise, I meant the response as the response body, not the entire HTTP response. I'm wondering if having white-space sensitive JSON means one can't use JSONB to store the response. </p><p>What I'm trying to understand is if the HTTP signature is useful to provide a way for users/clients to verify the integrity of the activity, similar to how sha256.sum is used in software distribution.</p>]]></description><link>https://bb.devnull.land/post/https://mastodon.social/users/PuercoPop/statuses/116772769918258209</link><guid isPermaLink="true">https://bb.devnull.land/post/https://mastodon.social/users/PuercoPop/statuses/116772769918258209</guid><dc:creator><![CDATA[puercopop@mastodon.social]]></dc:creator><pubDate>Thu, 18 Jun 2026 19:31:04 GMT</pubDate></item><item><title><![CDATA[Reply to Question about HTTP Signatures in #ActivityPub, IIUC the header is a digest of the HTTP body. on Thu, 18 Jun 2026 14:38:59 GMT]]></title><description><![CDATA[<p><span><a href="https://mastodon.social/@PuercoPop" rel="noopener">@PuercoPop</a></span> Yes, but why do you want to store the response? HTTP signatures are not supposed to be re-used.</p>]]></description><link>https://bb.devnull.land/post/https://mitra.social/objects/019edb2b-c503-7b73-a7b4-02b85ecf42d4</link><guid isPermaLink="true">https://bb.devnull.land/post/https://mitra.social/objects/019edb2b-c503-7b73-a7b4-02b85ecf42d4</guid><dc:creator><![CDATA[silverpill@mitra.social]]></dc:creator><pubDate>Thu, 18 Jun 2026 14:38:59 GMT</pubDate></item></channel></rss>