Skip to content

Enable zeroization for X-Wing and X25519 secrets - #111

Merged
rozbb merged 1 commit into
rozbb:mainfrom
lightning-li:fix/enable-zeroize-for-xwing-x25519
Jul 17, 2026
Merged

Enable zeroization for X-Wing and X25519 secrets#111
rozbb merged 1 commit into
rozbb:mainfrom
lightning-li:fix/enable-zeroize-for-xwing-x25519

Conversation

@lightning-li

Copy link
Copy Markdown
Contributor

Summary

Enable the zeroize features of x-wing and x25519-dalek.

Without these features, the X-Wing decapsulation seed and the internal X25519 StaticSecret / SharedSecret values are not zeroized on drop, despite the X25519 wrapper comments stating that the underlying types are zeroize-on-drop.

Both dependencies are updated explicitly because the classical X25519 feature can be enabled without the X-Wing/ML-KEM feature.

Closes #110

@rozbb
rozbb merged commit ce22efd into rozbb:main Jul 17, 2026
14 checks passed
@rozbb

rozbb commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Thank you!

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.

Clarify whether zeroize features should be enabled for x-wing and x25519-dalek

2 participants