Hardware-backed passkey does not require PIN for sudo

(#5114) Bug Open: Fix pending Priority: P2 security

Reproduction steps

Hardware required: Hardware FIDO2 security token with PIN supported and set that does not have FIDO2 "Always Require User Verification" extension enabled/supported Ex. YubiKey 5 series (Firmware < 5.5.x) 1) Register a passkey for Fluxer on a FIDO2 token that has a PIN set 2) PIN is required to register key and during initial login attempts 3) Perform an action that requires Fluxer's sudo mode, such as registering another passkey 4) Select to authenticate sudo using the passkey stored on hardware token 5) Touch hardware token to activate 6) sudo is enabled without PIN prompt

Expected behaviour

PIN, if set, is required for sudo using a FIDO2 hardware token due to Fluxer requesting the client require it during auth (as is the case during login)

Actual behaviour

sudo authenticates on first touch, skipping the set PIN as it is not requested by server

Build information

Canary Desktop 2026.1129.234426, Web 2026.1202.34400, macOS 27.2.1 (arm64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US Stable Desktop 2026.1129.234430, Web 2026.1202.40907, macOS 27.2.1 (arm64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US Stable Web 2026.1202.23045, macOS 10.15 (arm64), Firefox 161.0, Locale en-US Stable Web 2026.1202.23045, macOS 10.15.7 (arm64), Chrome 157.0.0.0, Locale en-US Stable Web 2026.1202.23045, Linux (x64), Firefox 161.0, Locale en-US Version 2026.11.400, Channel Stable, Build 115, iOS 27.2.1 (arm64), Device iPhone17,1, Locale en-US, Push apns, Flutter 3.50.0, Dart 3.14.0

Platform

macOS, Windows, Web, iOS

  1. Jiralite changed the status from Needs triage to Confirmed
  2. Jiralite changed the status from Confirmed to Fix pending
  1. The pull request fluxer#4375 mentions this post Open

3 comments

Sign in with Fluxer to comment and vote.
Comment by Sunlight Hertz
Sunlight Hertz OP1 vote edited 1 reply
Reviewing the pull request, it appears the change will be to require PIN / biometric. To the best of my understanding of the FIDO2 spec, this will force users who do not currently have a PIN to set one on their token before being able to use it with Fluxer. This will result in the disablement of any registered FIDO2 passkeys that do not support user verification. If Fluxer intends to require PINs on tokens, this is correct. My suggestion was to use the preferred option, which requires a PIN if one is set on the token but allows auth to proceed if the user chose to never configure it.
Comment by Sunlight Hertz
With further testing, it appears user verification is not required during Fluxer's passkey registration but is required during login from home screen. This appears to be another bug as it means you can register and require a key but not be able to use it for login. It would currently work for sudo and 2FA login after password. Whatever decision is reached, please ensure required | preferred | discouraged flag is set consistently across all flows.