Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication message handlers for Avestruz.

Signing in with a key is offline: it is read from the sign-in field, and a secret key is handed to the system keyring. Signing in with a bunker address waits on its remote signer, which may wait on a person, and can be called off meanwhile. A signer that turns it down is shown with the key it would have to know this client by. Which account is signed in is remembered in the config by its npub.

Functions§

sign_error_text 🔒
Why an event was not signed, in the user’s language.