Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor authenticator response identification logic #587

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Apr 8, 2024

The logic for identifying the type of Authenticator Response has been simplified. Instead of checking for multiple array keys in a data object, we now simply check for the presence of either 'attestationObject' or 'signature'. This refactoring leads to cleaner and more maintainable code.

Target branch: 4.8.x
Resolves issue #583

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

The logic for identifying the type of Authenticator Response has been simplified. Instead of checking for multiple array keys in a data object, we now simply check for the presence of either 'attestationObject' or 'signature'. This refactoring leads to cleaner and more maintainable code.
@Spomky Spomky self-assigned this Apr 8, 2024
@Spomky Spomky added bug Something isn't working compliance Issue related to the compliance of the project with the specs labels Apr 8, 2024
@Spomky Spomky added this to the 4.8.5 milestone Apr 8, 2024
@Spomky Spomky linked an issue Apr 8, 2024 that may be closed by this pull request
Copy link

sonarqubecloud bot commented Apr 8, 2024

@Spomky Spomky merged commit b9c4669 into 4.8.x Apr 8, 2024
15 checks passed
@Spomky Spomky deleted the bugs/v2-compliance branch April 8, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compliance Issue related to the compliance of the project with the specs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Unable to create the response object" when adding a 1Password passkey
1 participant