Skip to content

✨ Additional protection against a second preimage attack#67

Open
LesterEvSe wants to merge 1 commit intoBlockstreamResearch:mainfrom
LesterEvSe:fix/smt-storage
Open

✨ Additional protection against a second preimage attack#67
LesterEvSe wants to merge 1 commit intoBlockstreamResearch:mainfrom
LesterEvSe:fix/smt-storage

Conversation

@LesterEvSe
Copy link
Collaborator

@LesterEvSe LesterEvSe commented Mar 3, 2026

The comments from PR #49 have been addressed.

Mitigated Second Preimage Attacks: Introduced proper domain separation for internal hashes to ensure the structure is fully protected.

Hardcoded Unique Tags: Passed hardcoded application-specific tags (SMT/1.0/leaf and SMT/1.0/node) directly into the script, replacing the reused TapData tag.

@LesterEvSe LesterEvSe self-assigned this Mar 3, 2026
@LesterEvSe LesterEvSe requested a review from KyrylR as a code owner March 3, 2026 15:17
@LesterEvSe LesterEvSe added the enhancement New feature or request label Mar 3, 2026
@LesterEvSe LesterEvSe requested a review from apoelstra March 3, 2026 15:21
@LesterEvSe LesterEvSe changed the title ✨ Additional protection against a second preimage attack. ✨ Additional protection against a second preimage attack Mar 3, 2026
@LesterEvSe LesterEvSe mentioned this pull request Mar 3, 2026
@apoelstra
Copy link

I see "review requested" but there is no PR description or motivation or anything.

@LesterEvSe
Copy link
Collaborator Author

I see "review requested" but there is no PR description or motivation or anything.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants