-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add cli option to request secret app admin/user pin counts #39
Comments
sounds good, means:
|
For older hardware, If I follow correctly this should return the GPG pin retry counter? |
correct as it does in the |
For the NK3, it is possible that the PIN is not set. The output format will follow: If the pins are set:
If the pins are not set:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I repeat You proposed :
I proposed and restated: Even more sensical: no secret app even named anywhere because there is none on non nk3(regression), so no version of non existing secret app, no secret app pin, just real information :
For nk3:
Originally posted by @tlaurion in #38 (comment) |
but isn't this the
|
Heads, users, scripts etc simply intelligible output without false info. There is no need to add User/Admin PIN if those are not GPG related for nk3, pin-info is not needed if reported by
To this issue:
I keep providing the same output for consistency, Heads uses |
info is all that is needed if provided with GPG Admin/GPG User/Secure App PIN retry counts, real high level firmware version and nk3 secure element version if useful for something for nitrokey (who else needs secure app version and what is this useful to know, use?
Functions to get GPG User/GPG Admin PIN Secure App PIN retry counts are missing to give real, consitent information. Here was about providing admin/user counts, which if we talk about secure app, don't exist, there is only one Secure App PIN for NK3, and GPG Admin PIN used for <nk3. The info needs to account for that and show only real, existing and actionnable informmation.
If we finally have clarity on what is useful, then we agree that reset SECRET_APP_PIN should set 12345678 if not set, permit SECRET_APP_PIN to be set only once and we can revisit once physical presence removed optionally in firmware next version, unrelated here. info is all that is needed if providing real, actionable and useful information. |
I think I understand. I have all the devices I need to debug and implement the complete |
see also issue #36
to prevent complicated parsing of the info output which is not stable create a option that allows requesting the pin counters direct like
which then can be used directly in heads, this should be backward compatible with older nitrokeys
The text was updated successfully, but these errors were encountered: