privacyidea-credential-provider icon indicating copy to clipboard operation
privacyidea-credential-provider copied to clipboard

fido2 nfc support, fixes

Open nilsbehlen opened this issue 1 year ago • 2 comments

  • NFC support requires libfido2 to be built with USE_PCSC enabled. It does not change the code related to fido2 in this project.
  • Added smartcard listener to wait for a security key to be connected via NFC, which will be recognized as a smartcard (pcsc)
  • If userVerification=discourged, the user will not be prompted for the PIN
  • Fixed a bug that would cause the (customizable) OTP failure text to not be displayed.
  • Offline data will be saved if it empty (because webauthn data can be revoked)

nilsbehlen avatar Jul 09 '24 13:07 nilsbehlen

need to change SmartcardListener to have SCardListReaders in a function instead of the constructor cause it can fail if none are connected

nilsbehlen avatar Jul 09 '24 13:07 nilsbehlen

There is not much to gain from changing the setup of the SmartcardListener. It does the 1 thing and thats fine for now, all errors are logged anyway.

nilsbehlen avatar Jul 09 '24 14:07 nilsbehlen