joshjdevl
joshjdevl
Have you tried initialization? import org.libsodium.jni.NaCl; (this calls System.loadLibrary("sodiumjni");) call NaCl.sodium(). https://github.com/joshjdevl/libsodium-jni#usage https://github.com/joshjdevl/libsodium-jni/blob/master/src/test/java/org/libsodium/jni/publickey/SignatureTest.java
The code in question [Util.isValid](https://github.com/joshjdevl/libsodium-jni/blob/master/src/main/java/org/libsodium/jni/crypto/Util.java#L45) is code remnant brought in from an earlier fork. In this case bool return is better. Would you be willing to contribute a patch? Thanks.
Good points! Let's deprecate the existing method and add a new method?
Marked as deprecated.
Thank you for the pull request. My comments are below. > I've killed all code that installs files into the system paths. Building some code should never pollute a user's...
I would be happy to take a pull request for the proposal.
Hi @om26er I initially had something similar in the repo early on. However, the issue is that only at encryption or decryption is an error thrown. In addition, it is...
Running all tasks will have an Android dependency. build.gradle in this repository is meant for use in conjunction with Android. compileNative_host was [removed](https://github.com/joshjdevl/libsodium-jni/commit/d92e4f0da2bd916ed4bcba9b188960c630d6dc96#diff-c197962302397baf3a4cc36463dce5ea) as the host compilation is managed upstream...
I'm not completely sure. There used to be emulation tests that would execute on the Android emulator as part of the continuous integration build. That might help to pinpoint if...
I'm sorry, though I don't see how this matches the libsodium api for [sealed box](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes). The proposed constructor is expecting the keys to be generated outside the constructor. Why are...