Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is force_login supposed to force the user to re-enter their PIN? #643

Open
@totszwai

Description

The line described in here:
https://github.com/OpenSC/libp11/blame/8e391f4f961be30581aaac02049cd38edab82881/src/util_uri.c#L493C13-L493C24

If force_login is true, it doesn't actually do anything... we currently have our own patch to do this:

+	// The force_login flag wasn't .. actually .. forcing a relogin?
+	// Maybe I'm misinterpreting what it was supposed to do?
+	if (ctx->force_login && slot_logged_in(ctx, slot))
+ 	pkcs11_logout(slot);

Could you clarify what's the actual meaning of force_login? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /