Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaccurate HDKey error message when seed length is invalid #151

Open
patlo-iog opened this issue Apr 2, 2024 · 2 comments
Open

Inaccurate HDKey error message when seed length is invalid #151

patlo-iog opened this issue Apr 2, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@patlo-iog
Copy link

Is this a regression?

No

Description

I got this error message when messing around with BIP32 test vector 1, which has short seed length.

java.lang.IllegalArgumentException: Seed expected byte length to be 32

It looks like HDKey expects a 64 bytes seed, but the error message is asking for 32.

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

@mkbreuningIOHK mkbreuningIOHK added the bug Something isn't working label Apr 8, 2024
@elribonazo
Copy link
Contributor

@goncalo-frade-iohk maybe the right moment to look into this

@mkbreuningIOHK
Copy link
Contributor

Assigned to @goncalo-frade-iohk as per the above comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants