Yubico / yubikit-ios

Yubico Mobile iOS SDK - YubiKit
Apache License 2.0
194 stars 43 forks source link

Understanding YubiKey PIN when authenticate #131

Open luky0007 opened 1 year ago

luky0007 commented 1 year ago

I checked in Yubico Sample and when we want to register FIDO2 YubiKey (NFC), if before YubiKey have PIN, we must pass PIN when we try register new Yubikey. BUT when we authenticate (user its registred) we not must provide PIN for YubiKey, Yubico library success response AssertOnKeyAuthenticationResponse and we can authenticate. So Question is - why? I checkend webauthn on browser and we must ALWAYS provide PIN to YubiKey when authentication is present.

Read that article https://support.yubico.com/hc/en-us/articles/4402836718866-Understanding-YubiKey-PINs but it not help.