mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-18 10:06:27 +01:00
a User interface that is like a Signer but can't sign.
This commit is contained in:
@@ -9,6 +9,8 @@ import (
|
||||
"github.com/nbd-wtf/go-nostr/nip49"
|
||||
)
|
||||
|
||||
var _ nostr.Keyer = (*EncryptedKeySigner)(nil)
|
||||
|
||||
// EncryptedKeySigner is a signer that must ask the user for a password before every operation.
|
||||
// It stores the private key in encrypted form (NIP-49) and uses a callback to request the password
|
||||
// when needed for operations.
|
||||
|
||||
Reference in New Issue
Block a user