python-pure25519 icon indicating copy to clipboard operation
python-pure25519 copied to clipboard

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

Open trlaing opened this issue 1 year ago • 0 comments

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?

trlaing avatar Oct 28 '22 13:10 trlaing