this script seems to want to do AXFR all the time, maybe a logic error. Nor does it even handle its own `sshfp -v` successfully. SyntaxError: invalid syntax $ sshfp -v File "/usr/local/bin/sshfp", line 203 raise dns.exception.FormError, domain ^ SyntaxError: invalid syntax $ sshfp -d freebsd.org File "/usr/local/bin/sshfp", line 203 raise dns.exception.FormError, domain ^ SyntaxError: invalid syntax $ pkg info sshfp sshfp-1.2.2_4 Name : sshfp Version : 1.2.2_4 Installed on : Wed Apr 17 08:58:31 2019 UTC Origin : dns/sshfp Architecture : FreeBSD:12:* Prefix : /usr/local Categories : security dns Licenses : GPLv2 Maintainer : ehaupt@FreeBSD.org WWW : https://github.com/xelerance/sshfp Comment : Generate SSHFP DNS records from knownhosts files or ssh-keyscan Annotations : flavor : py36 repo_type : binary repository : FreeBSD
The default python version was recently changed from 2.7 to 3.6. It turns out this port did not age well with age. The last update from upstream is from 2015. For now I've marked the port for 2.7 only. I've managed to patch it to work with python 3.6 but that needs a bit further testing.
A commit references this bug: Author: ehaupt Date: Wed Apr 17 12:25:16 UTC 2019 New revision: 499174 URL: https://svnweb.freebsd.org/changeset/ports/499174 Log: - This port does not yet work with python 3 - While here pacify portlint PR: 237327 (based on) Submitted by: dch@freebsd.org Changes: head/dns/sshfp/Makefile head/dns/sshfp/distinfo
Port is now marked python 2.7 only.