-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out what version of YubiKeys support PIN caching #60
Comments
Note that Yubico doesn't sell older keys so I can't buy test hardware for this. |
For a v3.4.3 YubiKey:
|
Is it because I saw one doc that says that reset can only be done after out of retries? @russelldavies can you test by first trying with wrong pin enough times to make sure both PIN and PUK are unlocked and then run the test? My hypothesis is that you basically only need wrong pin attempts to enable reset on older devices.
|
That seems to be what is happening. If the PIN and PUK are blocked then the test passes. The |
6302 is odd. It should be 63c2. I can send a fix anyway though. https://cardwerk.com/smart-card-standard-iso7816-4-section-5-basic-organizations/#table14 |
#64 fixes the "blocking pin: verify pin: smart card error" message |
Currently we're assuming > 4.3.0 since I only have a v4.3.7 and v3.4.9 key to test with
piv-go/piv/piv_test.go
Lines 137 to 152 in 2184bb6
If someone can confirm that that test passes with an older version of a YubiKey (e.g. 4.2.X), we can support PIN caching and PINPolicyOnce for those versions.
To test against a YubiKey, comment out the version and run (this will destroy all data on your PIV applet but leave GPG and U2F/WebAuthN data unaffected):
The text was updated successfully, but these errors were encountered: