core-wg / oscore-key-update

Other
0 stars 0 forks source link

Issue with out of sync PRK_out/PRK_exporter e.g. if nonces are manipulated #34

Closed rikard-sics closed 1 year ago

rikard-sics commented 2 years ago

If EDHOC-Exporter(label, context, length) is executed on the peers with different nonce (for instance due to manipulation), the PRK_out and PRK_exporter can get out of sync. Somehow the old PRK_out needs to be saved, or new ones created in branches.

Note that this could possibly be solved in EDHOC.

rikard-sics commented 2 years ago

Wait for updates to EDHOC to allow "branching"

rikard-sics commented 1 year ago

No longer relevant since we removed the EDHOC-KeyUpdate from updateCtx.