[noise] Another go implementation
jonathan at titanous.com
Sat Jul 12 10:15:26 PDT 2014
On Jul 12, 2014, at 1:29 AM, Stephen Touset <stephen at squareup.com> wrote:
> The first two issues have been fixed. Strangely, I could have sworn that the KDF issue *used* to work, due to how (I thought) slices were implemented. That doesn't seem to be the case, so I'm simply copying the bytes back into the message used for the next iteration.
> Thanks for your feedback; let me know if there's anything else you notice. This is my first go project, so I'm bound to have made mistakes. Tests and documentation are forthcoming.
I ran the test again and got farther this time (a box header from your implementation was decrypted successfully by mine).
The next issue is that you don’t appear to be including the eph_pubkey prefix of the header as part of the header authtext passed to the noise_body.
More information about the Noise