diff options
| author | Adam Soltys <[email protected]> | 2026-08-30 13:08:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-30 13:08:05 -0700 |
| commit | 431907c9959e6d414fe13e05f76d1a1a45f7828e (patch) | |
| tree | 4193810d2c22848da9ea670d9002f8d07878d233 /src/nostr-login.js | |
| parent | e16e7ed5ec1a762c58b052f76ad84c452f0080b8 (diff) | |
| download | coinosv3-431907c9959e6d414fe13e05f76d1a1a45f7828e.tar.gz coinosv3-431907c9959e6d414fe13e05f76d1a1a45f7828e.zip | |
The DM drain wakes the signer itself: boot's single resume attempt losing to cold-start churn left the phone holding every wrap with nothing ever asking the bunker again — now a drain that finds its decryptor set incomplete calls resume (single-flight, rate-limited) before deciding anything, and the bunker resume deadline stretches to 15s
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr
Diffstat (limited to 'src/nostr-login.js')
| -rw-r--r-- | src/nostr-login.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nostr-login.js b/src/nostr-login.js index 4cc1ddf..86c6b79 100644 --- a/src/nostr-login.js +++ b/src/nostr-login.js @@ -126,7 +126,7 @@ export async function bunkerSigner(uri, { onAuth } = {}) { // permission to this client key, not to this page load, so rebuilding from // the same client key and pointer picks the session back up — usually without // prompting the user again. -export async function resumeBunker(session, { onAuth, timeoutMs = 8000 } = {}) { +export async function resumeBunker(session, { onAuth, timeoutMs = 15000 } = {}) { if (!session || !session.local || !session.bp || !session.bp.pubkey) return null; const { BunkerSigner } = await loadNip46(); const local = hex.decode(session.local); |
