From aaecfddb1867c2d6b69096127ac30093657b53e8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 15 Aug 2026 15:57:09 -0700 Subject: The wrong-signer error names the whole npub — a truncated key can't be checked against anything MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv --- src/features/nostrlogin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features') diff --git a/src/features/nostrlogin.js b/src/features/nostrlogin.js index 4c28ac5..66fd8a2 100644 --- a/src/features/nostrlogin.js +++ b/src/features/nostrlogin.js @@ -279,7 +279,7 @@ export function nostrLoginFeature(ctx) { const signer = await makeSigner(); if (signer.pubkey !== st.pubkey) { if (signer.close) signer.close(); - throw new Error(t('nlWrongAccount', { npub: (npubOf(st.pubkey) || '').slice(0, 16) + '…' })); + throw new Error(t('nlWrongAccount', { npub: npubOf(st.pubkey) || '' })); } live = selfHealing(signer); save({ ...load(), ...sessionOf(signer) }); -- cgit v1.2.3