-
Notifications
You must be signed in to change notification settings - Fork 26
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
Set nsec to null by default in crypto_aead_aes256gcm.go #9
Comments
I agree with this change. |
silkeh
added a commit
to silkeh/libsodium-go
that referenced
this issue
Mar 20, 2017
- Fix CryptoAEADAES256GCMNSecBytes() - Remove nsec from CryptoAEADAES256GCMEncrypt() and Decrypt() - Add support.CheckSizeMin for things with a minimum size - Add support.BytePointer to get a pointer for things than can have 0 length - Add CryptoAEADAES256GCMIsAvailable(), CryptoAEADAES256GCMEncryptDetached(), CryptoAEADAES256GCMDecryptDetached() and CryptoAEADAES256GCMKeyGen() - Add tests for all encryption and decryption functions (related to GoKillers#1) Closes GoKillers#9
silkeh
added a commit
to silkeh/libsodium-go
that referenced
this issue
Apr 29, 2017
- Fix CryptoAEADAES256GCMNSecBytes() - Remove nsec from CryptoAEADAES256GCMEncrypt() and Decrypt() - Add support.CheckSizeMin for things with a minimum size - Add support.BytePointer to get a pointer for things than can have 0 length - Add CryptoAEADAES256GCMIsAvailable(), CryptoAEADAES256GCMEncryptDetached(), CryptoAEADAES256GCMDecryptDetached() and CryptoAEADAES256GCMKeyGen() Closes GoKillers#9
silkeh
added a commit
to silkeh/libsodium-go
that referenced
this issue
Apr 29, 2017
- Fix CryptoAEADAES256GCMNSecBytes() - Remove nsec from CryptoAEADAES256GCMEncrypt() and Decrypt() - Add support.CheckSizeMin for things with a minimum size - Add support.BytePointer to get a pointer for things than can have 0 length - Add CryptoAEADAES256GCMIsAvailable(), CryptoAEADAES256GCMEncryptDetached(), CryptoAEADAES256GCMDecryptDetached() and CryptoAEADAES256GCMKeyGen() Closes GoKillers#9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the libsodium documentation, "
nsec
is not used by this particular construction and should always beNULL
." Since this is the case, I think we should handle this in our code. Less of an issue, more of a to-do.The text was updated successfully, but these errors were encountered: