Check that Old Mac keys are correctly revealed
Created by: claucece
Why
As we are currently implementing the revision number 2 of the OTRv4 specification, we need to include a consistent way of revealing MAC keys.
Reference
Please, refer to the "Revealing MAC keys" section of the OTRv4 spec.
Tasks
-
Check that the list of the old mac keys is correctly set up. -
Check that all old mac keys are included in the appropriate list. -
Check that TLV type 1 reveals some MAC keys. -
Reveal MAC keys of skipped stored messages keys. -
Check that MAC keys are derived from the message key. -
Correctly derive the MAC keys for the non-interactive DAKE.
Open questions
None.