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

Add ability to remove PIN cache #62

Merged
merged 3 commits into from
Mar 19, 2024
Merged

Conversation

unreality
Copy link

This pull adds a new argument --disable-pin-cache

If enabled, it will clear the PIN cache after every Sign operation so users are prompted to enter the PIN every time when using Smart Cards.

I have only tested with Smart Cards, so needs testing to make sure setting NCRYPT_PIN_PROPERTY on non-smart-card certs is a noop.

Fixes #58

Further work on holding onto the private key context until a timeout is reached is required for #49

@buptczq buptczq merged commit 1e526e8 into buptczq:master Mar 19, 2024
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

Successfully merging this pull request may close these issues.

PIN re-prompt behavior
2 participants