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

fix: Catch invalid signature length when verifying signature #46

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

joonas
Copy link
Member

@joonas joonas commented Jul 18, 2024

Feature or Problem

Addresses the example described in #13 where wrong length would cause the verify method to panic.

Related Issues

Closes #13

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

@joonas joonas force-pushed the fix/check-signature-length branch from 1c6445b to eb35335 Compare July 18, 2024 22:36
@joonas joonas marked this pull request as draft July 18, 2024 22:38
@joonas joonas force-pushed the fix/check-signature-length branch from eb35335 to 2c69430 Compare July 18, 2024 22:40
@joonas joonas marked this pull request as ready for review July 18, 2024 22:40
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
@joonas joonas force-pushed the fix/check-signature-length branch from 2c69430 to f7e719d Compare July 18, 2024 22:43
@joonas
Copy link
Member Author

joonas commented Jul 18, 2024

would love to get this in as part of #45 🙂

@brooksmtownsend brooksmtownsend merged commit c01c462 into wasmCloud:main Jul 19, 2024
4 checks passed
@joonas joonas deleted the fix/check-signature-length branch July 19, 2024 13:22
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.

[BUG] - update types to use fixed-length slices
2 participants