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

@nuno0529

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

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