Skip to content
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

PIN requested when it is not required #506

Open
AndrewAmmerlaan opened this issue Jul 16, 2023 · 0 comments
Open

PIN requested when it is not required #506

AndrewAmmerlaan opened this issue Jul 16, 2023 · 0 comments

Comments

@AndrewAmmerlaan
Copy link

When using gnupg to sign a bunch of files the PIN of my Nitrokey is asked once, and then it will remain unlocked for some time (I think 10 minutes or something). This is convenient when signing things in bulk.

When using pkcs11 URI's for signing via e.g. sbsign or the kernels scripts/sign-file the PIN is asked every time, even though after the first time the card is already unlocked. Consecutive requests for the PIN can be passed by simply pressing enter, so even though the PIN is requested it is not required. This is super inconvenient, and makes signing files in bulk a pain.

I've looked through some manuals for a config option that will maybe make this do what I want but I couldn't find anything. Is it somehow possible to prevent opensc/libp11 from asking for the PIN if the card is already in an unlocked state?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant