Replies: 2 comments
|
The |
|
If you want to force a login for each use of a key, Set the CKA_ALWAYS_AUTHENTICATE attribute of the private key. "Re-authentication occurs by calling C_Login with userType set to CKU_CONTEXT_SPECIFIC Examples in: For example, PIV card with the 9C signing key enforce this on card by requiring a PIN APDU immediately before the crypto operation. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The line described in here:
https://github.com/OpenSC/libp11/blame/8e391f4f961be30581aaac02049cd38edab82881/src/util_uri.c#L493C13-L493C24
If
force_loginis true, it doesn't actually do anything... we currently have our own patch to do this:Could you clarify what's the actual meaning of
force_login? Thanks.All reactions