Closed vavrajosef closed 1 year ago
Thanks for the submission! I think TestNewMasterBIP32EDKeyPair
would be more meaningful if it generated two keypairs using the same mnemonic, then ensured that it could sign using one keypair and verify using the other. It's not testing a lot but at least it would be testing that the process of generating keypairs is deterministic. Would you mind making this change?
I just updated the test. Please let me know if this is what you had in mind.
looks good, thanks!
Closes #35
This removes recovery dependency mentioned in issue #35 . I am not sure whether the test in bip32_ed25519_wrapper_test.go makes sense anymore, because depndency "crypto/ed25519" does not provide api for public key extraction from signature. Only thing that is now tested is if message is signed. Maybe whole test file is no longer relevant.