good morning!!!!

Skip to content
Snippets Groups Projects
Commit 076c382a authored by Viktor Trón's avatar Viktor Trón Committed by Felix Lange
Browse files

handshake test to crypto

parent 3b6385b1
Branches
Tags
No related merge requests found
...@@ -31,7 +31,7 @@ func TestCryptoHandshake(t *testing.T) { ...@@ -31,7 +31,7 @@ func TestCryptoHandshake(t *testing.T) {
respNonce, randomPubKey, _, _ := initiator.verifyAuthResp(response) respNonce, randomPubKey, _, _ := initiator.verifyAuthResp(response)
fmt.Printf("%x\n%x\n%x\n%x\n%x\n%x\n%x\n%x\n", auth, initNonce, response, remoteRespNonce, remoteInitNonce, remoteRandomPubKey, respNonce, randomPubKey) fmt.Printf("%x\n%x\n%x\n%x\n%x\n%x\n%x\n%x\n", auth, initNonce, response, remoteRespNonce, remoteInitNonce, remoteRandomPubKey, respNonce, randomPubKey)
// initSessionToken, initSecretRW, _ := initiator.newSession(initNonce, respNonce, auth, randomPubKey) initSessionToken, initSecretRW, _ := initiator.newSession(initNonce, respNonce, auth, randomPubKey)
// respSessionToken, respSecretRW, _ := responder.newSession(remoteInitNonce, remoteRespNonce, auth, remoteRandomPubKey) // respSessionToken, respSecretRW, _ := responder.newSession(remoteInitNonce, remoteRespNonce, auth, remoteRandomPubKey)
// if !bytes.Equal(initSessionToken, respSessionToken) { // if !bytes.Equal(initSessionToken, respSessionToken) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment