Troubleshooting Nostr

The board is alive (the boot page's heartbeat is running) and the Nostr applet is refusing — or agreeing when you expected a refusal. Nostr errors arrive as status words the extension renders as sentences, so every failure below starts from what you saw, names the word behind it, and says what actually happened. If your symptom is not here, the how-to's error table carries the full vocabulary.

The applet asks for exactly two kinds of consent, and every gated refusal is one of them. The two sentences tell you which:

  • your PIN is needed first (6982) — the PIN session is closed. The session opens at connect-time verify, and closes on LOCK, on a power cycle, on a failed verify, and on a SET_PIN against a board that already has one. Verify and retry; the interrupted operation resumes.
  • touch timed out — the device asked for a touch and none came (6985) — the touch was owed and the press did not land inside the window (~15 s). The amber bar pulses while the board waits; if you pressed and it still refused, the press went to a different interface than the one asking — see the press landed but was refused below.

Everything else is a data, state or firmware answer, not a consent answer.

The touch bypass — errors and misuse

The touch bypass exempts sign, NIP-44 encrypt and NIP-44 decrypt from the button; everything below is about that feature failing — or working when you did not expect it to.

What you seeThe wordWhat actually happenedWhat to do
The checkbox is disabled: firmware does not support touch bypasscaps bit 4 absentthe board predates SET_TOUCH_POLICY (US-1742) — its GET_INFO does not advertise caps 0x0010re-flash the current image over BOOTSEL; the verb ships in the same UF2 as everything else
The status line reads the bypass status needs a firmware update — this board predates it—the board predates the accounting surface: no caps bit 5, or the caps bit on a v0.2 GET_AUDIT bodythe policy itself still works; re-flash the current UF2 for the status line, countdown and ledger
Checking answers your PIN is needed first and the box snaps back unchecked6982the arm leg is a session privilege — the session is closed (fresh power-up, LOCK, or a failed verify)verify the PIN, then check again; the consent press is asked only after the gate passes
Checking answers that identity is not on the device (or another 6A82-worded refusal)6A82no PIN record exists — a board with no PIN can never arm the bypassset a PIN first (the how-to's PIN section), then arm the bypass
Checking lights the LED, then touch timed out and the box snaps back unchecked6985the consent press never landed inside the windowpress again — arming is the dangerous direction, and the board never half-applies a policy: no press, no bypass, box back to unchecked
The checkbox is checked (bypass active) but a signature suddenly asked for the pressflags bit 3 clear at sign timethe 255-operation budget or the 10-minute window ended inside the still-open session — the fallback working, not a faultpress once; the session continues with a fresh allowance — or uncheck to stay touch-required
The checkbox is unchecked but you expected it checkedflags bit 3 clearthe bypass was cleared since you armed it: LOCK, a failed verify, SET_PIN on a set board, the 10-minute expiry, the spent 255 budget, or a power cycle clear it — the button coming back is the feature workingre-open the session if it closed, then check again (the consent press); each arm starts a fresh allowance
The device does not serve that command after you sent 0x4F from a custom tool6D00the vendor byte or INS is not served by this firmware — usually a pre-US-1742 image, or the byte sent outside the Nostr interface's method tableupdate the firmware; CCID tools send INS 0x1F, HID tools send vendor byte 0x4F with the leg in the envelope's idx field

Two misuse patterns worth naming because they look like bugs:

  • "I unplugged to clear the bypass and it is still off after replugging" — that is the design, not a failure. The bypass is RAM-only: a bypass that survives unplug is a bypass the user forgot they owned. The durable things (identities, PIN) survive; the bypass does not.
  • "I armed the bypass and now the board signs when a site asks — is that a leak?" — no. The bypass was armed by a physical press inside a verified session, and every page request still crosses the extension's approval window and its per-site grants; what went away is only the second consent (the button) for the three signing commands, until the 255-operation budget, the 10-minute window, LOCK, a failed verify, SET_PIN on a set board or power takes it back. The extension's status line shows what remains of the allowance.

Board-side sanity check (CCID, no extension involved): GET_INFO answers caps = 0x003F (bit 4 = the verb exists, bit 5 = bypass accounting is served) and flags bit 3 = 0x08 while the bypass is armed and the budget is unspent — a spent budget reads clear on the wire even before the session closes. The scripted walks are scripts/nostr_probe.py --touch-bypass (advertisement, closed-session refusal, consent press, ten-signature chain, LOCK, enable, power cycle) and scripts/nostr_probe.py --audit (the accounting: the closed-session GET_AUDIT gate, the 255-signature burst, the v0.3 ring shape budget ‖ n ‖ age_ms ‖ records, the post-budget touch fallback, LOCK) — each leg narrated and asserted.

The press landed but was refused

A press that is consumed by nothing is the most confusing failure in the inventory, because the finger was real. The board's rule: a press arms a grant for the request that asked, on the interface that asked, and dies with that request. So:

  • A press while no window is open is simply ignored — the button is free, and pressing it consents to nothing. If a refusal arrives after you pressed, the press probably landed before the request reached the touch check (e.g. the PIN gate refused first and ate nothing because no grant existed yet). Read the sentence: the gate word (6982) means the session, not the finger.
  • A press for one request cannot pay for another. Grants are request-bound — a second pending request is refused outright rather than queued onto the same window, and the extension queues its side so clients never provoke it. If a chain of signs keeps refusing 6985, the window is closing before each press: slow the chain down or (deliberately) arm the bypass.
  • The CCID and HID interfaces do not share presses. A press observed by the vendor-HID arm cannot satisfy a CCID command and vice versa; the tag domains are disjoint by construction. If you are driving CCID tools (ykman-style, scripts/nostr_probe.py) while the extension holds the board, close the other client — two holders of one board makes every reading ambiguous.
The popup saysThe wordWhat to do
that slot is occupied — delete it first6A84pick another of the 8 slots, or delete the occupant (a slot may be held by a record that is not a Nostr identity — the refusal is the same and so is the remedy)
that identity is not on the device6A82empty or tombstoned slot — check the Keys screen; on a PIN verb the same word means no PIN is set
the device refused the data — it could not read the request6A80the payload was malformed or over the applet's caps — re-check what you pasted (an nsec/hex paste for import, a peer npub for encrypt)
the device refused the command length6A87 on the devicethe counterparty's key is not a valid curve point — the failure is in the other party's npub, not your board
the device could not complete the operation — its store faulted6F00the boot degraded or a slot would not open — reflash over BOOTSEL; if it persists, the boot page's fatal signatures say whether the store itself is being refused
the device is locked — too many wrong PINs…63C0the durable three-attempt budget is spent; recovery is management RESET, which destroys every identity — the deliberate-act-only path (what RESET does)
ceremony interrupted — the worker restarted mid-operation; try again—the extension's background worker restarted; retry once
no Fapico board connected — connect it and try again—no granted device at all — connect first

The chooser and the udev rule (Linux)

The board never reaching Chrome's chooser is the one Nostr failure that happens before any applet code runs — the applet cannot be at fault, and its status words cannot help. The two cases:

  • lsusb shows fa20: but the chooser does not — the udev rule is missing or not reloaded. Re-run the two udevadm lines from step 0 of the how-to.
  • The chooser shows the board but Connect fails — another client holds the interface: close Yubico Authenticator / ykman / any PC-SC tool, then Try again on the popup's device card. A custom VID (changed via the USB identity) strands the chooser entirely — the udev rule keys on the vendor ID; restore fa20 with scripts/fix_usb_identity.py.