Skip to content

verify: Actually expose verify_message in the API#153

Merged
DarkaMaul merged 1 commit into
trailofbits:mainfrom
jku:ackshually-add-verify-message-to-API
May 20, 2025
Merged

verify: Actually expose verify_message in the API#153
DarkaMaul merged 1 commit into
trailofbits:mainfrom
jku:ackshually-add-verify-message-to-API

Conversation

@jku

@jku jku commented May 20, 2025

Copy link
Copy Markdown
Contributor

Previously we returned a _Verifier from VerifierBuilder.build(): this hid the fact that verify_message() is not actually part of the Verifier API.

Add verify_message() to the API

Fixes #152

Previously we returned a _Verifier from VerifierBuilder.build():
this hid the fact that verify_message() is not actually part of the
Verifier API.

Add verify_message() to the API
@jku jku force-pushed the ackshually-add-verify-message-to-API branch from d4425a9 to 119e0c6 Compare May 20, 2025 08:18
@jku

jku commented May 20, 2025

Copy link
Copy Markdown
Contributor Author

Using mypy in tests would have exposed this: I did not add it in this PR since the tests do have a bit of accessing internal fields and such which would need to be handled to get mypy running smoothly.

@DarkaMaul

Copy link
Copy Markdown
Collaborator

Great catch!

I agree, we should probably run mypy (or ty?).

@DarkaMaul DarkaMaul merged commit 6a4a50d into trailofbits:main May 20, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verifier.verify_message() publicity needs a tweak

2 participants