Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

GetAssertionOptionUvTrueTest - pinUvAuthToken can't be used again for GetAssertionPositiveTest. #111

Description

@nuno0529

In latest ctap2.1 spec, step 6.1.2.14 If the "up" option is set to true:
The last step4. will Call clearUserPresentFlag(), clearUserVerifiedFlag(), and clearPinUvAuthTokenPermissionsExceptLbw().
So the result of following GetAssertionPositiveTest should be always failed due to below line use an old authToken directly.

options_builder.SetDefaultPinUvAuthParam(
      command_state->GetCurrentAuthToken());

Seems following test items in will have the same problem.

  • GetAssertionPinAuthTest
  • GetAssertionPinAuthMissingParameterTest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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