bblfish · @bblfish
344 followers · 606 posts · Server mathstodon.xyz

My client and server are now ready for efficient access control demos on using the HTTP WG's 's "Signing HTTP Messages".

I can demo with a server publishing N resources (in this case, Event Stream () data.
The client is implemented in using , and the server uses .
The libraries can be compiled to JS for use on frameworks too. Native is not far off, either.
The client need make no more than N+2 requests:

1. Request 1 on a resource R returning a "401 Unauthorised"
2. a max of 2 requests to get the access control rules
3. from there on, N signed requests using (when those all fall in the same container space)

Solid clients are essentially like Search Engine crawlers fetching data on the web, so they need to jump around from website to website. Having approx 2 requests extra per website for auth is very interesting in that scenario.

Note: those 2 requests can be cached, so those may be only needed once over a long period of time. The connection efficiency is possible by combining the following pieces:

• using the IETF's HTTPSig (a version from the beginning of the year)
• using default rules (part of the spec)
• caching of ACLs on the client
• the use of a "defaultAccessContainer" link header to reduce the number of requests.

I am trying to work out who may be interested in such a technical demo, what a good time for it may be, ...
so please just comment here or send me a mail at henry.story@bblfish.net

#httpsignatures #SolidProject #nodejs #LDES #linkeddata #akka #http4s #scala #bigdata

Last updated 1 year ago

I have a question: for , do you also hash the "(request-headers) post /actor" line? I'm having a very hard time getting this to work, dispite what seems to be very clear docs.

#mastodon #httpsignatures

Last updated 2 years ago

I have a question: for , do you also hash the "(request-headers) post/actor" line? I'm having a very hard time getting this to work, dispite what seems to be very clear docs.

#mastodon #httpsignatures

Last updated 2 years ago

Raphael Luckom · @raphaelluckom
57 followers · 155 posts · Server indieweb.social

Notes so far on 's implementation, covering basics on , , signatures, and vocab. Pretty much a loosely-organized collection of links to useful specs and implementations for understanding how Mastodon specifically does things.

raphaelluckom.com/posts/Things

#activitystream #jsonld #httpsignatures #webfinger #activitypub #mastodon

Last updated 2 years ago

Z0t · @Z0t
22 followers · 76 posts · Server mastodon.uno