Expand description
Authentication bridge — converts a Basic nostr:<token> request
header into a NIP-98 verification call, mirroring the JSS behaviour
where a Basic auth line whose username is nostr and whose
password is a base64-encoded NIP-98 event is accepted by the git
handler (PARITY row 69).
The JSS server layers this bridge on top of the normal NIP-98
Authorization: Nostr <b64> scheme so that off-the-shelf
HTTP-Basic Git clients (e.g. the stock git CLI with a credential
helper) can still push/pull against a Nostr-authenticated pod.
Structs§
- Basic
Nostr Extractor - The canonical JSS-parity authoriser.
Enums§
- Auth
Error - Auth failures exposed to the HTTP surface.
Traits§
- GitAuth
- Pluggable authoriser invoked by the service on write operations.