[Cryptography-dev] Loading an ED25519 private key

2023-09-20 Thread John Walstra via Cryptography-dev
For other keys I can use cryptography.hazmat.primitives.serialization.load_pem_private_key, however for a ED25519 private key I get .. ('Could not deserialize key data. The data may be in an incorrect format, it may be encrypted with an unsupported algorithm, or it may be an unsupported key

Re: [Cryptography-dev] Loading an ED25519 private key

2023-09-20 Thread Alex Gaynor
If you've exported a key with PrivateFormat.OpenSSH, you can load with https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/#cryptography.hazmat.primitives.serialization.load_ssh_private_key Alex On Wed, Sep 20, 2023 at 1:24 PM John Walstra via Cryptography-dev wrote: > >