Skip to content

fix: derive independent target_key to prevent target host substitution#20

Merged
lhear merged 1 commit into
mainfrom
dev
May 14, 2026
Merged

fix: derive independent target_key to prevent target host substitution#20
lhear merged 1 commit into
mainfrom
dev

Conversation

@lhear
Copy link
Copy Markdown
Owner

@lhear lhear commented May 14, 2026

The target host was previously encrypted with a shared master key, which was vulnerable to ciphertext substitution attacks.

This change updates the KDF to derive a dedicated 'target_key' alongside the connection keys. By binding the target host's ciphertext to the session-specific connection nonce, we ensure that the target cannot be swapped between different sessions.

The target host was previously encrypted with a shared master key, which was vulnerable to ciphertext substitution attacks.

This change updates the KDF to derive a dedicated 'target_key' alongside the connection keys. By binding the target host's ciphertext to the session-specific connection nonce, we ensure that the target cannot be swapped between different sessions.
@lhear lhear merged commit a7394cc into main May 14, 2026
13 checks passed
@lhear lhear deleted the dev branch May 14, 2026 08:30
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