RE: https://mastodon.social/@bagder/116359048796181736

Could be potentially nice for fediverse server testing, as more implementations make the jump to final RFC 9421 HTTP signatures.

On the flip side, ever more complex curl invocations (here: Accept header plus signature fields plus key file, presumably) suggest use of more specialized CLI tools, such as provided by @fedify, or at least scripts/aliases.

Speaking of RFC 9421, which notable fediverse implementations can't handle it yet? Anyone keeping track?

#ActivityPub #FediDev #RFC9421

@fedify @julian

I still cant! but I wonder, any example of a software in node/javascript that uses the new signature standard?

@gabboman @fedify @julian I'm adding it to activitypub-bot this week. I'll send a link when it's up.
GitHub - evanp/activitypub-bot: An ActivityPub server-side bot framework

An ActivityPub server-side bot framework. Contribute to evanp/activitypub-bot development by creating an account on GitHub.

GitHub

@julian @fedify @evan

If you send me the part of send signature code that would bee neat


#Thankss
activitypub-bot/lib/httpmessagesignature.js at main · evanp/activitypub-bot

An ActivityPub server-side bot framework. Contribute to evanp/activitypub-bot development by creating an account on GitHub.

GitHub

@gabboman @julian @fedify

Here's the code that does the double-knock. Between the caching, rate limit throttling, and double-knocking it's a real bear to read, though.

https://github.com/evanp/activitypub-bot/blob/main/lib%2Factivitypubclient.js#L90

activitypub-bot/lib/activitypubclient.js at main · evanp/activitypub-bot

An ActivityPub server-side bot framework. Contribute to evanp/activitypub-bot development by creating an account on GitHub.

GitHub