feat: expose signed HTTP client for consumer use #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Consumers that need to fetch remote actor profiles or collections (e.g. followers list, outbox pages) currently use raw
reqwest::Clientwithout HTTP Signatures. This fails on instances with authorized-fetch (Secure Mode) enabled — a growing share of the fediverse.k-ap already has the signing infrastructure internally (for inbox delivery), but doesn't expose a signed fetch method for consumer use.
Suggested API
This would let consumers call
ap_service.signed_fetch(local_user_id, &collection_url)instead of raw reqwest, automatically signing the request with the local actor's keypair.