binance / asymmetric-key-generator

This simple tool can be used to generate an RSA PKCS#8 or Ed25519 key pairs.
MIT License
76 stars 55 forks source link

Unknown password #29

Closed nof1sh closed 5 months ago

nof1sh commented 5 months ago

Hi, When I use the cryptography.hazmat.primitives.serialization.load_pem_private_key() function to load private key of ed25519 format, one valueerror ('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 type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>]) occured, turns out that there is a password for the very private key, but where can I konw the password? Thans for any help.