How to generate public key using private key in Python -
i have private key want generate public key using python.
this understand:
privatekey = "xxxxxxxx" cryptodome.publickey import rsa i read publickey() can used generate public key, i'm not sure how proceed ahead. can help/point reference material.
cutting short
i have private key want generate public key using python.
if private key called private_key command
ssh-keygen -f private_key -y > public_key.pub
should generate public key public_key.pub.
edit : keep in mind email id used generate key cannot recovered using method. (though should not problem suppose)
Comments
Post a Comment