-
Notifications
You must be signed in to change notification settings - Fork 426
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
Support NaCl SealedBox #431
Comments
yes, we do support Cryptosign in autobahn-java today, using https://github.com/joshjdevl/libsodium-jni, I just peaked into its source and it seems it doesn't implement SealedBox as well. Regarding Here is our CryptosignAuth impl: https://github.com/crossbario/autobahn-java/blob/master/autobahn/src/main/java/io/crossbar/autobahn/wamp/auth/CryptosignAuth.java#L18 |
ahhh, right .. I forgot! cool=) so we have a NaCl library already integrated, and we only need to find out how to use |
FYI, the upstream proposal lives here joshjdevl/libsodium-jni#127 |
Closing this, we do have SealedBox in now. Also have some of the XBR stuff as well. |
This issue is about the first step of supporting WAMP-cryptosign and XBR in AutobahnJava, which is integrate a NaCl library to that we can implement the former.
Ultimately, we want an ABJ equivalent of the code here:
I've looked at some of the libraries from here https://download.libsodium.org/doc/bindings_for_other_languages/, and spent a bit more time looking into lazysodium, which I had a good impression:
The other library that I looked at:
In WAMP-cryptosign and XBR we need:
nacl.signing.SigningKey
nacl.secret.SecretBox
nacl.public.SealedBox
and while I've seen
SecretBox
support in lazysodium and cava, not sure aboutSealedBox
.. haven't seen that one.In which case we would need to work with upstream to get support for that into the lib ..
@om26er what do you think? I think you once looked into NaCl libraries also / already .. not sure?
The text was updated successfully, but these errors were encountered: