fix: private key strength should be 256 bits. #435

Closed
susumuota wants to merge 1 commits from fix-private-key-strength into main
susumuota commented 2023-03-13 02:17:47 +00:00 (Migrated from github.com)

Added signature.


Hi! Thank you for creating a great client!

I think I found an issue about NIP-06 PR #425.

bip39.generateMnemonic(wordlist) generates 128 bit strength private keys.
In my opinion, it should be 256 bit if you replace secp.utils.randomPrivateKey() which generates 32 byte (256bit) private keys.

Added signature. --- Hi! Thank you for creating a great client! I think I found an issue about NIP-06 PR #425. `bip39.generateMnemonic(wordlist)` generates 128 bit strength private keys. In my opinion, it should be 256 bit if you replace `secp.utils.randomPrivateKey()` which generates 32 byte (256bit) private keys.
v0l (Migrated from github.com) approved these changes 2023-03-13 09:48:29 +00:00
v0l commented 2023-03-13 10:21:13 +00:00 (Migrated from github.com)
cd89da39ddf27a75cc7cb0023ec61ed62749096b

Pull request closed

Sign in to join this conversation.
No description provided.