Closed drewstone closed 5 years ago
@burdges can you see any reason why it shouldn't?
Nope. There are 32 byte seeds for sr25519 private keys but we call them MiniSecretKey
s while ed25519 calls them SecretKey
s, so maybe someone is only storing the 64 byte SecretKey
somewhere.
Just fyi, I changed the naming because HDKD only works with the 64 byte version, so after doing HDKD then seed no longer makes sense, but that should not be happening here.
I testest this scenario, it seems this issue has been resolved at master.
@ ./target/debug/subkey generate
Secret phrase `honey initial impulse rebel arm visit lab easily physical sponsor power brisk` is account:
Secret seed: 0xf85e5060ba7f646e6510afbd3331b77d1a3f5e3f59e7be794af7f1b6f21e509a
Public key (hex): 0xc4f50bf1f331fa15a454d93a9459c7b3b4d4f67985c68868b8c7efdf0e8c8632
Address (SS58): 5GWx35Tn7eKitR14UzrDmYt9jZnBzrXNjbV8X2zrLR356yp6
@ ./target/debug/subkey -p "" -e inspect "honey initial impulse rebel arm visit lab easily physical sponsor power brisk"
Secret phrase `honey initial impulse rebel arm visit lab easily physical sponsor power brisk` is account:
Secret seed: 0xf85e5060ba7f646e6510afbd3331b77d1a3f5e3f59e7be794af7f1b6f21e509a
Public key (hex): 0xee1171254f3b3f58c46bb5e64dafb89174ae45c769800cad0db20228474d4b6d
Address (SS58): 5HSrSBprbvKv4vFXVabgPxmNuRENKbGFgd1ChAwPytFSPHDL
@ ./target/debug/subkey -p "" -s inspect "honey initial impulse rebel arm visit lab easily physical sponsor power brisk"
Secret phrase `honey initial impulse rebel arm visit lab easily physical sponsor power brisk` is account:
Secret seed: 0xf85e5060ba7f646e6510afbd3331b77d1a3f5e3f59e7be794af7f1b6f21e509a
Public key (hex): 0xc4f50bf1f331fa15a454d93a9459c7b3b4d4f67985c68868b8c7efdf0e8c8632
Address (SS58): 5GWx35Tn7eKitR14UzrDmYt9jZnBzrXNjbV8X2zrLR356yp6
If it is solved, we can close this :)
Example
ED25519 keys display seeds when inspected, but not SR25519.