Package: sshfp
Version: 1.2.2-3
Severity: normal

Dear Maintainer,

the -k option to sshfp is ignored and ~/.ssh/known_hosts is always used.
The following patch fixed this:

--- /tmp/sshfp  2013-01-10 11:18:58.437565425 +0100
+++ /usr/bin/sshfp      2013-01-10 11:20:40.727689145 +0100
@@ -258,7 +258,7 @@
                        action="store",
                        dest="known_hosts",
                        metavar="KNOWN_HOSTS_FILE",
-                       default=None,
+                       default=DEFAULT_KNOWN_HOSTS_FILE,
                        help="obtain public ssh keys from the known_hosts file 
KNOWN_HOSTS_FILE")
        parser.add_option("-s", "--scan", 
                        action="store_true",
@@ -342,8 +342,6 @@
        if not args:
                print >> sys.stderr, "WARNING: Assuming -a"
                all_hosts = True
-       if not options.scan:                                                    
                                                                                
                             
-               khfile = DEFAULT_KNOWN_HOSTS_FILE                               
                                                                                
                             
                                                                                
                                                                                
                             
        if options.scan and options.all_hosts:                                  
                                                                                
                             
                datal = []   



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to nl_NL.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sshfp depends on:
ii  openssh-client               1:6.0p1-3
ii  python                       2.7.3-3
ii  python-dnspython             1.10.0-1
ii  python-ipcalc                0.3-1
ii  python-ldns                  1.6.13-4
ii  python2.7 [python-argparse]  2.7.3-5

sshfp recommends no packages.

sshfp suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to