How can we retrieve public key from private key ( protected with passphrase ) using python's Cryptography library?
How can we retrieve public key from private key ( protected with passphrase ) using python's Cryptography library? I want to use python's Cryptography library to get public key from private key(which could be protected by passphrase also). How can I do that similar to Python's CryptoDome library ? By using the public_key() method. – James K Polk Jun 29 at 22:44 public_key() James K, can you point me to the link? I couldn't find it. – Bharat MV 2 days ago Here it is for RSA. And here it is for elliptic curves, and here for diffie-hellman. Each type of private key has a method called public_key() . – James K Polk 2 d...
