Skip to content

Split encrypt and decrypt rekey()#27

Merged
mkj merged 3 commits intomainfrom
matt/kex-bidir
Jul 28, 2025
Merged

Split encrypt and decrypt rekey()#27
mkj merged 3 commits intomainfrom
matt/kex-bidir

Conversation

@mkj
Copy link
Copy Markdown
Owner

@mkj mkj commented Jul 28, 2025

Previously rekeying happened in both directions. That would be incorrect if packets are sent between sending NewKeys and receiving peer's NewKeys. Instead track them separately.

mkj added 3 commits July 28, 2025 00:15
It makes more sense to fail when receiving the input packet than when
processing the application response.
Previously rekeying happened in both directions. That would be
incorrect if packets are sent between sending NewKeys and receiving the
peer's NewKeys. Instead track them separately.
@mkj mkj merged commit 8be5415 into main Jul 28, 2025
6 checks passed
@mkj mkj deleted the matt/kex-bidir branch July 28, 2025 15:40
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.

1 participant