-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stop leak of value of recovered output (#3558)
Description --- Updated the recovery of an output to not reuse the blinding factor to use as thescript_key, but rather generate a new key. Motivation and Context --- If the blinding factor is reused as the script_key, on spending you will reveal k.G, this makes guessing v.H trivial and this leaks the k.G value. How Has This Been Tested? ---
- Loading branch information
1 parent
9f8e289
commit e0f2187
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters