You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, some tokens do not have the CKF_LOGIN_REQUIRED flag set. In these cases, providing the token PIN via the PIN command fails, while entering it interactively when prompted by the engine works correctly.
The FORCE_LOGIN command can enforce a login to the token when the CKF_LOGIN_REQUIRED flag is not set.
In my opinion, enforcing a logout is unnecessary in this case. I recommend closing this issue.
https://github.com/OpenSC/libp11/blob/master/src/eng_back.c#L211
Looking at the code, if
force_login
is set, and they are already logged in, it just returns true.Shouldn't we force it to log out first if
force_login
is enabled?The text was updated successfully, but these errors were encountered: