Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/bin/netpgpverify add test for sig...
details: https://anonhg.NetBSD.org/src/rev/ba77617eb91a
branches: trunk
changeset: 816043:ba77617eb91a
user: agc <agc%NetBSD.org@localhost>
date: Tue Jun 14 20:47:43 2016 +0000
description:
add test for signatures produced by gpg --no-emit-version
diffstat:
crypto/external/bsd/netpgp/bin/netpgpverify/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 9517932c9b82 -r ba77617eb91a crypto/external/bsd/netpgp/bin/netpgpverify/Makefile
--- a/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile Tue Jun 14 20:47:08 2016 +0000
+++ b/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile Tue Jun 14 20:47:43 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2014/12/05 04:42:36 agc Exp $
+# $NetBSD: Makefile,v 1.14 2016/06/14 20:47:43 agc Exp $
PROG=netpgpverify
BINDIR= /usr/bin
@@ -36,3 +36,5 @@
./${PROG} -S ${EXTDIST}/src/netpgpverify/sshtest-20140202.pub ${EXTDIST}/src/netpgpverify/data.sig
@echo "expected failure, to check bad signatures fail to verify"
-sed -e 's|A|B|' ${EXTDIST}/src/netpgpverify/data.gpg | ./${PROG} -S ${EXTDIST}/src/netpgpverify/sshtest-20140202.pub
+ @echo "testing signatures with no version"
+ ./${PROG} -k ${EXTDIST}/src/netpgpverify/pubring.gpg ${EXTDIST}/src/netpgpverify/noversion.asc
Home |
Main Index |
Thread Index |
Old Index