python-pure25519
python-pure25519 copied to clipboard
eBay's Ed2559 private key is 64 character base64 which is too long
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?