X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=contrib%2Fkh2reg.py;h=279834c55ae7b7339773d841dfc56e849be95322;hb=49d2cf19accb059b3b68d1fc2b78e606a578c3e8;hp=98f4868c395a7d9efdb0d8be2804e2f8cb90783b;hpb=7bc5b64c20bbebeb023aa79640124b8ba130cdbd;p=PuTTY.git diff --git a/contrib/kh2reg.py b/contrib/kh2reg.py index 98f4868c..279834c5 100755 --- a/contrib/kh2reg.py +++ b/contrib/kh2reg.py @@ -1,6 +1,6 @@ #! /usr/bin/env python -# $Id: kh2reg.py,v 1.3 2003/10/21 13:26:12 jacob Exp $ +# $Id$ # Convert OpenSSH known_hosts and known_hosts2 files to "new format" PuTTY # host keys. # usage: @@ -87,7 +87,7 @@ for line in fileinput.input(args): # is second field entirely decimal digits? if re.match (r"\d*$", fields[1]): - # Treat as SSH1-type host key. + # Treat as SSH-1-type host key. # Format: hostpat bits10 exp10 mod10 comment... # (PuTTY doesn't store the number of bits.) magicnumbers = map (long, fields[2:4]) @@ -95,7 +95,7 @@ for line in fileinput.input(args): else: - # Treat as SSH2-type host key. + # Treat as SSH-2-type host key. # Format: hostpat keytype keyblob64 comment... sshkeytype, blob = fields[1], base64.decodestring (fields[2])