added check to self-verify signature

This commit is contained in:
TLINDEN
2015-04-20 20:13:13 +02:00
parent d019ec4b9e
commit f3a38f3312

View File

@@ -313,6 +313,10 @@ temporarily disabled
cmd = $pcp -V vb -c -f testsig -I README -i $idalicia cmd = $pcp -V vb -c -f testsig -I README -i $idalicia
expect = /verified/ expect = /verified/
</test> </test>
<test check-verify-detached-signature-self>
cmd = $pcp -V va -c -f testsig -I README
expect = /verified/
</test>
<test check-sign-armored-to-bobby> <test check-sign-armored-to-bobby>
prepare = rm -f testsig prepare = rm -f testsig
cmd = $pcp -V va -g -I README -O testsig -x a -z cmd = $pcp -V va -g -I README -O testsig -x a -z
@@ -322,6 +326,10 @@ temporarily disabled
cmd = $pcp -V vb -c -I testsig -i $idalicia -z cmd = $pcp -V vb -c -I testsig -i $idalicia -z
expect = /verified/ expect = /verified/
</test> </test>
<test check-verify-armored-signature-self>
cmd = $pcp -V va -c -I testsig -z
expect = /verified/
</test>
<test check-sign-bin-to-bobby> <test check-sign-bin-to-bobby>
prepare = rm -f testsig prepare = rm -f testsig
cmd = $pcp -V va -g -I README -O testsig -x a cmd = $pcp -V va -g -I README -O testsig -x a
@@ -331,6 +339,10 @@ temporarily disabled
cmd = $pcp -V vb -c -I testsig -i $idalicia cmd = $pcp -V vb -c -I testsig -i $idalicia
expect = /verified/ expect = /verified/
</test> </test>
<test check-verify-bin-signature-self>
cmd = $pcp -V va -c -I testsig
expect = /verified/
</test>
# #
# sign+encrypt tests # sign+encrypt tests