Usage via command line: > python -m puttykeys rsa_no_password. Print(puttykeys.ppkraw_to_openssh(password_ppk_contents, "password")) Cited by many gaming publications as one of the best games of its time, Putty Squad follows the story of unlikely hero Putty in an old-skool. The stretchy blue blob is all set to go digital in high resolution by way of the critically acclaimed Putty Squad videogame. Password_ppk_contents = open("rsa_with_password.ppk","r").read() Download Putty Squad for macOS 10.8 or later and enjoy it on your Mac. Print(puttykeys.ppkraw_to_openssh(putty_key_contents)) Putty_key_contents = open("rsa_no_password.ppk","r").read() The returned output string is not encrypted or password protected. Implements one method, ppkraw_to_openssh(ppk_text_contents) which decodes the supplied putty key if a password is provided, converts to OpenSSH format and returns it as a string. A module to convert SSH keys from the Putty format to the OpenSSH format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |