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

"is" comparison fails with _Reasons.UNSUPPORTED_HASH, use "==" #235

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

opoplawski
Copy link
Contributor

Drop extra call to attestation.verify()

Follow up to #194

@dainnilsson
Copy link
Member

Thanks! The extra call to verify() is unneeded, but we do need to re-raise the exception in case the if-statement is false.

Drop extra call to attestation.verify(), instead raise if conditional is
false
@opoplawski
Copy link
Contributor Author

Thanks! The extra call to verify() is unneeded, but we do need to re-raise the exception in case the if-statement is false.

Ah, good catch. I think this should do it.

@dainnilsson dainnilsson merged commit d1c6459 into Yubico:main Oct 22, 2024
22 checks passed
@dainnilsson
Copy link
Member

Thanks again! Merged!

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

Successfully merging this pull request may close these issues.

2 participants