Skip to content
Commit 100aa178 authored by Stef Walter's avatar Stef Walter
Browse files

Use HKDF for digesting of DH secret key.

 * Previously we truncated the key, which was broken.
 * Secret service spec has been updated.
 * Now we use HKDF + SHA256 to digest the DH secret key into the right
   size usable by AES.
 * The library temporarily still supports the old method in case
   its talking to a daemon that doesn't support this fix.
parent e9d716e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment