Closed unreality closed 6 months ago
This pull adds a new argument --disable-pin-cache
--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.
NCRYPT_PIN_PROPERTY
Fixes #58
Further work on holding onto the private key context until a timeout is reached is required for #49
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