diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-12-31 00:38:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-12-31 00:38:55 +0200 |
commit | 394189a3bddb59f32c27bab388786b035591758d (patch) | |
tree | 6e11eb7a8b70db76134d4033833c7f0cce9156c4 /tests/openpgp-certs | |
parent | 06c6a7ed3f7448bf2a94af14c10d872e71f97269 (diff) | |
download | gnutls-394189a3bddb59f32c27bab388786b035591758d.tar.gz |
specify key type (raw) to certtool
Diffstat (limited to 'tests/openpgp-certs')
-rwxr-xr-x | tests/openpgp-certs/testselfsigs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/openpgp-certs/testselfsigs b/tests/openpgp-certs/testselfsigs index 49d7427920..7350b894c7 100755 --- a/tests/openpgp-certs/testselfsigs +++ b/tests/openpgp-certs/testselfsigs @@ -34,19 +34,19 @@ fail() { echo "Checking OpenPGP certificate self verification" -($CERTTOOL --pgp-certificate-info --infile $srcdir/selfsigs/alice.pub \ +($CERTTOOL --inraw --pgp-certificate-info --infile $srcdir/selfsigs/alice.pub \ | grep "^Self Signature verification: ok" > /dev/null) || \ fail "Self sig Verification should have succeeded!" -($CERTTOOL --pgp-certificate-info --infile $srcdir/selfsigs/alice-mallory-badsig18.pub \ +($CERTTOOL --inraw --pgp-certificate-info --infile $srcdir/selfsigs/alice-mallory-badsig18.pub \ | grep "^Self Signature verification: failed" > /dev/null) || \ fail "Self sig Verification should have failed!" -($CERTTOOL --pgp-certificate-info --infile $srcdir/selfsigs/alice-mallory-irrelevantsig.pub \ +($CERTTOOL --inraw --pgp-certificate-info --infile $srcdir/selfsigs/alice-mallory-irrelevantsig.pub \ | grep "^Self Signature verification: failed" >/dev/null) || \ fail "Self sig Verification should have failed!" -($CERTTOOL --pgp-certificate-info --infile $srcdir/selfsigs/alice-mallory-nosig18.pub \ +($CERTTOOL --inraw --pgp-certificate-info --infile $srcdir/selfsigs/alice-mallory-nosig18.pub \ | grep "^Self Signature verification: failed" >/dev/null) || \ fail "Self sig Verification should have failed!" |