-
Notifications
You must be signed in to change notification settings - Fork 0
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
key_helpers.DecryptPayload vulnerability: missing IV check #1
Comments
There are actually bigger issues:
Given it is hard to fix all these issues, let me delay the fixing for now. |
Then you should retract the release on pkg.go.dev and put a warning in README. |
NDNCERT protocol requires the recipient of encrypted messages to check the uniqueness of the initialization-vector field, which is essential for the security of the AES-GCM crypto.
However,
key_helpers.DecryptPayload
has not properly implemented this check.go-ndncert/key_helpers/aes.go
Lines 87 to 110 in ca9e50f
This NDNCERT implementation must not be used until the required check is implemented.
The text was updated successfully, but these errors were encountered: