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

eBay's Ed2559 private key is 64 character base64 which is too long #3

Open
trlaing opened this issue Oct 28, 2022 · 0 comments
Open

Comments

@trlaing
Copy link

trlaing commented Oct 28, 2022

When trying to generate an Ed25519 signature using eBay's private key which I believe is 64 character base64, the length is too long. When I convert to to binary the length is 48 and needs to be 32.

def signature(m,sk,pk):
    assert len(sk) == 32 # seed

Will this code work with longer private keys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant