nsjph / kestrel

Ideas for a new implementation of cjdns
Apache License 2.0
21 stars 1 forks source link

cjdroute cannot decrypt handshakes from kestrel #1

Closed nsjph closed 9 years ago

nsjph commented 9 years ago

In my development setup, I have cjdroute trying to establish a session with kestrel.

Kestrel is sending an encrypted handshake packet back, but cjdroute is unable to successfully decrypt it, and it drops the packet here: https://github.com/cjdelisle/cjdns/blob/master/crypto/CryptoAuth.c#L814-L820

I believe the problem is likely the memory structure of the *Message, since cjdroute is apparently using the correct nonce and sharedSecret.

Further debugging required.

nsjph commented 9 years ago

Closing this issue as cryptoauth-related functionality has now moved outside of kestrel to cryptoauth.