Module Name:    src
Committed By:   agc
Date:           Thu Jul  1 04:28:33 UTC 2010

Modified Files:
        src/crypto/external/bsd/netpgp/dist: tst

Log Message:
take advantage of appropriate defaults when calling ssh key commands


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/crypto/external/bsd/netpgp/dist/tst

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/netpgp/dist/tst
diff -u src/crypto/external/bsd/netpgp/dist/tst:1.25 src/crypto/external/bsd/netpgp/dist/tst:1.26
--- src/crypto/external/bsd/netpgp/dist/tst:1.25	Thu Jul  1 03:51:07 2010
+++ src/crypto/external/bsd/netpgp/dist/tst	Thu Jul  1 04:28:33 2010
@@ -165,13 +165,13 @@
 /usr/bin/netpgp --verify i.asc && passed=$(expr $passed + 1)
 echo "32 " $passed >> passed
 echo "======> host ssh fingerprint and netpgp fingerprint"
-netpgpkey=$(/usr/bin/netpgpkeys --ssh-keys --sshkeyfile=/etc/ssh/ssh_host_rsa_key.pub --list-keys --hash=md5 | awk 'NR == 3 { print $3 $4 $5 $6 $7 $8 $9 $10 }')
+netpgpkey=$(/usr/bin/netpgpkeys --ssh --sshkeyfile=/etc/ssh/ssh_host_rsa_key.pub --list-keys --hash=md5 | awk 'NR == 3 { print $3 $4 $5 $6 $7 $8 $9 $10 }')
 sshkey=$(/usr/bin/ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub | awk '{ gsub(":", "", $2); print $2 }')
 echo "host sshkey \"$sshkey\" = netpgpkey \"$netpgpkey\""
 [ $sshkey = $netpgpkey ] && passed=$(expr $passed + 1)
 echo "33 " $passed >> passed
 echo "======> user ssh fingerprint and netpgp fingerprint"
-netpgpkey=$(/usr/bin/netpgpkeys --ssh-keys --sshkeyfile=/home/agc/.ssh/id_rsa.pub --list-keys --hash=md5 | awk 'NR == 3 { print $3 $4 $5 $6 $7 $8 $9 $10 }')
+netpgpkey=$(/usr/bin/netpgpkeys --ssh --list-keys --hash=md5 | awk 'NR == 3 { print $3 $4 $5 $6 $7 $8 $9 $10 }')
 sshkey=$(/usr/bin/ssh-keygen -l -f /home/agc/.ssh/id_rsa.pub | awk '{ gsub(":", "", $2); print $2 }')
 echo "user sshkey \"$sshkey\" = netpgpkey \"$netpgpkey\""
 [ $sshkey = $netpgpkey ] && passed=$(expr $passed + 1)

Reply via email to