github GlassHaven/Haven v5.25.0

latest releases: v5.94.67, v5.94.66, v5.94.65...
6 months ago

NFC-aware FIDO2 SSH key prompt

Reported by @t3rr0rz0n3 in #15. SoloKey-via-NFC users were getting TagLostException mid-CTAP because the touch dialog gave them USB-shaped advice ("press the button on your security key") and didn't tell them the NFC exchange takes ~1–2 seconds. Pulling the key away as soon as the on-key LED indicated "ready" interrupted the GetAssertion response, the SSH auth path then disconnected with JSch's opaque "Auth fail for methods 'publickey'", and the server logged Postponed publickey then a 3-second-later disconnect with no signature-verification trace because no signature ever arrived.

The CTAP exchange itself was correct — this is the UX fix that explains what to do.

What changed

FidoTouchPrompt.TouchKey now carries a Transport (USB | NFC) field, threaded through from FidoAuthenticator at every emission site. The dialog branches its copy:

  • USB — "Press the button on your security key now to authorise the SSH signature. The key may blink to indicate it is waiting."
  • NFC — "Hold your security key — keep it against the back of the device for two seconds while it signs. Moving it away early aborts the exchange and you'll need to tap it again."

Why a minor bump

This release closes the long-running #15 SoloKey-NFC ergonomics issue. The previous v5.24.x patches were behind-the-scenes plumbing (CTAP2 PIN protocol, USB permission Intent on Android 14+, legacy getPinToken fallback for CTAP 2.0 keys) — all necessary, but none of them helped users actually complete an NFC FIDO auth without insider knowledge of how long to hold the key. That gap is what this release closes.


Full Changelog: v5.24.99...v5.25.0

Don't miss a new Haven release

NewReleases is sending notifications on new releases.