ad180b4fba
This commit fixes a bug in our key derivation for the final step of the key exchange. In our code we were swapping the order of the salt and input keyeing material to the HKDF function. This was triggered by the argument order of the golang implementation we’re currently using has the “secret” of IKM argument first, instead of second as defined within rfc5869. To fix this, we simply need to swap function arguments in two places: within the split() function and during key rotation. This bug was discovered by Rusty Russell, thanks! |
||
---|---|---|
.. | ||
conn.go | ||
listener.go | ||
noise_test.go | ||
noise.go |