We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As stated in spec,
A Noise handshake message is also less than or equal to 65535 bytes.
It includes plain & encrypted public keys as well as authentication tag, provided by AEAD cipher.
So, this code
if len(payload) > MaxMsgLen { panic("noise: message is too long") }
is incorrect. MaxMsgLen depends on DHLen & token/pattern
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As stated in spec,
It includes plain & encrypted public keys as well as authentication tag, provided by AEAD cipher.
So, this code
is incorrect. MaxMsgLen depends on DHLen & token/pattern
The text was updated successfully, but these errors were encountered: