Hi,
While I am also not a friend of storing information in the Windows
Registry you actually can read the SSH keys easily (as Python comes with
"batteries included" all is already there):
https://docs.python.org/3.5/library/winreg.html
import winreg
key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r'Software\ \
SimonTatham\PuTTY\SshHostKeys', 0, winreg.KEY_READ)
for i in range(winreg.QueryInfoKey(key)[1]):
print(winreg.EnumValue(key, i))
HTH!
-Michael
Am 16.08.16 um 09:53 schrieb
johncal...@gmail.com: