Skip to content

[bip151] slightly increase robustness of the re-keying#430

Merged
luke-jr merged 2 commits intobitcoin:masterfrom
jonasschnelli:2017/08/bip151_rekey
Aug 7, 2016
Merged

[bip151] slightly increase robustness of the re-keying#430
luke-jr merged 2 commits intobitcoin:masterfrom
jonasschnelli:2017/08/bip151_rekey

Conversation

@jonasschnelli
Copy link
Copy Markdown
Contributor

The current re-keying procedure does allow an attacker knowing the current symmetric cipher key while not knowing the session-id (derived from the ECDH secret) to "survive" the re-keying.

This will slightly increase the prediction resistance.

Also includes a ugly typo in the hkdf key. Reported by @ccjj.

cc: @ccjj

@luke-jr luke-jr merged commit 85805be into bitcoin:master Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants