feat(signer): always-allow grants for external signer requests

Apps asking Keynctr to sign (NIP-46) can now be granted standing
permission per (peer pubkey, method). Approvals gained an 'Always
allow' option; existing grants are listed with a Revoke button on the
Signer screen and persist in the encrypted vault.
This commit is contained in:
Avi 2026-09-12 17:00:41 -05:00
commit 81b082f238
11 changed files with 348 additions and 28 deletions

View file

@ -524,6 +524,8 @@ const RENDERER_METHODS: ReadonlySet<string> = new Set([
'signer_disconnect',
'signer_status',
'signer_approve',
'signer_grants_list',
'signer_grant_revoke',
// New signer modes (default: nip46_client most secure)
'signer_mode_get',
'signer_mode_set',