Skip to content

Prevent VSS encryption nonce reuse - #1062

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-08-fix-vss-entropy-source
Aug 19, 2026
Merged

Prevent VSS encryption nonce reuse#1062
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-08-fix-vss-entropy-source

Conversation

@tnull

@tnull tnull commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Ensure schema setup and normal writes advance the same entropy sequence. This keeps a fresh store from encrypting two values with the same ChaCha20-Poly1305 key and nonce.

Thank you Bitcoin Red Team for reporting.

Ensure schema setup and normal writes advance the same entropy
sequence. This keeps a fresh store from encrypting two values with the
same ChaCha20-Poly1305 key and nonce.

Co-Authored-By: HAL 9000
@tnull
tnull requested a review from tankyleo August 19, 2026 15:04
@ldk-reviews-bot

ldk-reviews-bot commented Aug 19, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull
tnull merged commit 19106b3 into lightningdevkit:main Aug 19, 2026
24 of 25 checks passed
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.

3 participants