keybase / saltpack

a modern crypto messaging format
https://saltpack.org/
BSD 3-Clause "New" or "Revised" License
992 stars 63 forks source link

switch to HMAC for context-mixing operations, for consistency with chat #29

Closed oconnor663 closed 7 years ago

oconnor663 commented 7 years ago

r? @mlsteele

We have a similar operation in chat to derive context-specific symmetric keys from TLF keys, so that secretboxes across chat and KBFS can't be confused / exploited.

cc @akalin-keybase

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.02%) to 86.227% when pulling be04140aa9ee8397949bea47406ca3ab43bf326f on jack/hmac_key_derivation into 9ec48ee54b6b7131e288439eba7e22e1259531d7 on master.