-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now the private key is 64 bytes, and is the concatenation of the seed and the public key just like Libsodium. The idea is to make sure users never sign messages with the wrong public key, which can leak the secret scalar and allow forgeries. Users who can't afford the overhead of storing 32 additional bytes for the secret key (say they need to burn the key into expensive fuses), they can always only store the first 32 bytes, and re-derive the entire key pair when they need it. TODO: update the manual. Fixes #240
- Loading branch information
1 parent
69df67a
commit da7b540
Showing
5 changed files
with
203 additions
and
131 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
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
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
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
Oops, something went wrong.