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
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:
>
>