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

security: len(pubkey) should match len(messages), or fail #8

Closed
coolaj86 opened this issue Jan 18, 2024 · 1 comment
Closed

security: len(pubkey) should match len(messages), or fail #8

coolaj86 opened this issue Jan 18, 2024 · 1 comment

Comments

@coolaj86
Copy link

coolaj86 commented Jan 18, 2024

- if pksLen != len(messages) && pksLen < 1 {
+ if pksLen != len(messages) || pksLen == 0 { 

if pksLen != len(messages) && pksLen < 1 {
return false
}

@chuwt
Copy link
Owner

chuwt commented Jan 18, 2024

Thanks for the code, fixed!

@chuwt chuwt closed this as completed Jan 18, 2024
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

No branches or pull requests

2 participants