Skip to content
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

crash and can't connect to server #1

Open
bitcard opened this issue May 26, 2020 · 0 comments
Open

crash and can't connect to server #1

bitcard opened this issue May 26, 2020 · 0 comments

Comments

@bitcard
Copy link

bitcard commented May 26, 2020

1, crash because of no tweetnacl lib.
/**
* Loads the TweetNaCl JNI library.
*
*/
static {
System.loadLibrary("tweetnacl");
}

the code no use.
try {
KeyPair keyPair = TweetNaCl.cryptoBoxKeyPair();
byte[] val =keyPair.publicKey;
LogD(bytesToHex(val));
} catch (KeyPairException e) {
e.printStackTrace();
}
the public key no send to server. and private key no save to local.

2, can't connect to server.
I setup the nodejs server, but con't connected and register a new user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant