[Python] Load openssl Ed25519 private key in PEM format into Python ed25519.SigningKey

Discussão em 'Python' iniciado por Stack, Janeiro 22, 2025.

  1. Stack

    Stack Membro Participativo

    I have some keys generated with openssl:

    openssl genpkey -algorithm Ed25519 -out private_key.pem


    and I would like to use them to generate ed25519 signatures in Python. I found the module ed25519 but I can't see a way to load the PEM file generated as above into ed25519.SigningKey.

    How can I do it?

    Continue reading...

Compartilhe esta Página