-
Notifications
You must be signed in to change notification settings - Fork 232
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
AeadKx #838
base: main
Are you sure you want to change the base?
AeadKx #838
Conversation
I think wrapping the newer APIs in libsodium is a good idea (we should stay up-to-date!), but I am a bit concerned about how to represent it to callers when we have a lot of partially overlapping concepts. Do you see that as solely a documentation problem? |
Hey @reaperhulk, I think The reason for these wrappers was simply to provide within Are the |
Hey @reaperhulk , just submitted some modifications for readability and to implement the new base class as an abstract base class instead. More consistent with the rest of the code in PyNacl. |
98e8b29
to
6c116a1
Compare
Hey @reaperhulk , should I kill this PR? |
I've been too busy to review this unfortunately. I don't think you should kill it until I've at least had a chance to look more closely. At that point I'll let you know, sorry about the delay. |
Recently thought about building this wrapper to simplify and harden the usage of newer key exchange apis along the newer aead constructs:
It would provide an
xchacha20poly1305_ietf
option fornacl.public
. Besides the existingxsalsa20poly1305
fromcrypto_box
. Plus the capability of usingrx
andtx
keys (which would help with nonce counters use cases).Here's a simple test as a quick visual aid:
Will do the docs afterwards, if merged.
Let me know what you think. Or if it feels like an overkill I will close the request.
HTH.