1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-31 11:41:32 +01:00

* clearsig.test, conventional-mdc.test, conventional.test, defs.inc,

encrypt-dsa.test, encrypt.test, genkey1024.test, plain-1.asc,
plain-1-pgp.asc, plain-2.asc, plain-3.asc, pubring.asc, secring.asc,
sigs.test: Rework tests to work properly with a gpg binary that doesn't
have all ciphers and all pk algos. Basically, we test for the ciphers we
have, only test signing with non-160-bit hashes with RSA (we test all
hashes as hashes).  Test all key lengths of AES.
This commit is contained in:
David Shaw 2003-12-31 19:00:35 +00:00
parent 2a785147be
commit e7abe7e909
15 changed files with 1041 additions and 873 deletions

View File

@ -1,3 +1,14 @@
2003-12-31 David Shaw <dshaw@jabberwocky.com>
* clearsig.test, conventional-mdc.test, conventional.test,
defs.inc, encrypt-dsa.test, encrypt.test, genkey1024.test,
plain-1.asc, plain-1-pgp.asc, plain-2.asc, plain-3.asc,
pubring.asc, secring.asc, sigs.test: Rework tests to work properly
with a gpg binary that doesn't have all ciphers and all pk algos.
Basically, we test for the ciphers we have, only test signing with
non-160-bit hashes with RSA (we test all hashes as hashes). Test
all key lengths of AES.
2003-12-05 David Shaw <dshaw@jabberwocky.com> 2003-12-05 David Shaw <dshaw@jabberwocky.com>
* Makefile.am: Reenable tests now that the Elgamal signature keys * Makefile.am: Reenable tests now that the Elgamal signature keys

View File

@ -1,13 +1,9 @@
#!/bin/sh #!/bin/sh
# Fixme: we should not only do a --verify but also the output. # Fixme: we should not only do a --verify but also the output.
. $srcdir/defs.inc || exit 3 . $srcdir/defs.inc || exit 3
# ====================================== # ======================================
# I can't compare the out because plain-3 has no LF as last charcater # I can't compare the out because plain-3 has no LF as last charcater
# but the output has always one. I do not thinkl this is a bug, because # but the output has always one. I do not thinkl this is a bug, because
@ -18,14 +14,17 @@ for i in $plain_files plain-large ; do
$GPG --verify x $GPG --verify x
done done
# ====================================== # ======================================
# and once more to check rfc1991 # and once more to check rfc1991
# ====================================== # ======================================
for i in $plain_files plain-large ; do
echo "$usrpass1" | $GPG --passphrase-fd 0 \ if have_cipher_algo "RSA"; then
--rfc1991 --digest-algo md5 -sat -o x --yes $i for i in $plain_files plain-large ; do
$GPG -u $usrkeyid3 --rfc1991 --digest-algo md5 -sat -o x --yes $i
$GPG --verify x $GPG --verify x
done done
fi
# ====================================== # ======================================
# and one with long lines # and one with long lines
@ -38,6 +37,7 @@ EOF
echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y
$GPG --verify x $GPG --verify x
# ====================================== # ======================================
# and one with only one long lines # and one with only one long lines
# ====================================== # ======================================
@ -46,6 +46,8 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EOF EOF
echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y
$GPG --verify x $GPG --verify x
# ====================================== # ======================================
# and one with an empty body # and one with an empty body
# ====================================== # ======================================
@ -54,6 +56,7 @@ EOF
echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y
$GPG --verify x $GPG --verify x
# ====================================== # ======================================
# and one with one empty line at the end # and one with one empty line at the end
# ====================================== # ======================================
@ -97,7 +100,3 @@ EOF
echo "$usrpass1" | $GPG --passphrase-fd 0 \ echo "$usrpass1" | $GPG --passphrase-fd 0 \
--not-dash-escaped --clearsign -o x --yes y --not-dash-escaped --clearsign -o x --yes y
$GPG --verify x $GPG --verify x

View File

@ -2,9 +2,31 @@
. $srcdir/defs.inc || exit 3 . $srcdir/defs.inc || exit 3
algos="3des"
if have_cipher_algo "idea"; then
algos="$algos idea"
fi
if have_cipher_algo "cast5"; then
algos="$algos idea"
fi
if have_cipher_algo "blowfish"; then
algos="$algos idea"
fi
if have_cipher_algo "aes"; then
algos="$algos aes aes192 aes256"
fi
if have_cipher_algo "twofish"; then
algos="$algos twofish"
fi
#info Checking conventional encryption #info Checking conventional encryption
for i in 0 1 2 3 9 10 11 19 20 21 22 23 39 40 41 8192 32000 ; do for i in 0 1 2 3 9 10 11 19 20 21 22 23 39 40 41 8192 32000 ; do
for ciph in 3des cast5 blowfish twofish rijndael; do for ciph in $algos; do
# *BSD's dd can't cope with a count of 0 # *BSD's dd can't cope with a count of 0
if test "$i" = "0"; then if test "$i" = "0"; then
: >z : >z
@ -18,4 +40,3 @@ for i in 0 1 2 3 9 10 11 19 20 21 22 23 39 40 41 8192 32000 ; do
cmp z y || error "$ciph/$i: mismatch" cmp z y || error "$ciph/$i: mismatch"
done done
done done

View File

@ -2,10 +2,6 @@
. $srcdir/defs.inc || exit 3 . $srcdir/defs.inc || exit 3
# temp. hack cause the format for 128 bit blocksize messages may change
GNUPG_ENABLE_TWOFISH=1
export GNUPG_ENABLE_TWOFISH
#info Checking conventional encryption #info Checking conventional encryption
for i in plain-2 data-32000 ; do for i in plain-2 data-32000 ; do
echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -c -o x --yes $i echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -c -o x --yes $i
@ -13,7 +9,29 @@ for i in plain-2 data-32000 ; do
cmp $i y || error "$i: mismatch" cmp $i y || error "$i: mismatch"
done done
for a in cast5 3des twofish; do algos="3des"
if have_cipher_algo "idea"; then
algos="$algos idea"
fi
if have_cipher_algo "cast5"; then
algos="$algos idea"
fi
if have_cipher_algo "blowfish"; then
algos="$algos idea"
fi
if have_cipher_algo "aes"; then
algos="$algos aes aes192 aes256"
fi
if have_cipher_algo "twofish"; then
algos="$algos twofish"
fi
for a in $algos; do
for i in plain-1 data-80000 ; do for i in plain-1 data-80000 ; do
echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \
--cipher-algo $a -c -o x --yes $i --cipher-algo $a -c -o x --yes $i
@ -21,4 +39,3 @@ for a in cast5 3des twofish; do
cmp $i y || error "$i: ($a) mismatch" cmp $i y || error "$i: ($a) mismatch"
done done
done done

View File

@ -9,6 +9,8 @@ usrname1="one"
usrpass1="def" usrpass1="def"
usrname2="two" usrname2="two"
usrpass2="" usrpass2=""
usrname3="three"
usrpass3=""
dsa_usrname1="pgp5" dsa_usrname1="pgp5"
@ -80,6 +82,23 @@ echo_n () {
# cleanup_files="$cleanup_files $*" # cleanup_files="$cleanup_files $*"
#} #}
have_pubkey_algo () {
if ../g10/gpg --homedir . --version | grep "Pubkey:.*$1" >/dev/null
then
true
else
false
fi
}
have_cipher_algo () {
if ../g10/gpg --homedir . --version | grep "Cipher:.*$1" >/dev/null
then
true
else
false
fi
}
have_hash_algo () { have_hash_algo () {
if ../g10/gpg --homedir . --version | grep "Hash:.*$1" >/dev/null if ../g10/gpg --homedir . --version | grep "Hash:.*$1" >/dev/null

View File

@ -9,11 +9,33 @@ for i in $plain_files $data_files ; do
cmp $i y || error "$i: mismatch" cmp $i y || error "$i: mismatch"
done done
# and with cast algos="3des"
for i in $plain_files $data_files ; do
$GPG $dsa_keyrings --always-trust --cipher-algo cast5 -e \ if have_cipher_algo "idea"; then
algos="$algos idea"
fi
if have_cipher_algo "cast5"; then
algos="$algos idea"
fi
if have_cipher_algo "blowfish"; then
algos="$algos idea"
fi
if have_cipher_algo "aes"; then
algos="$algos aes aes192 aes256"
fi
if have_cipher_algo "twofish"; then
algos="$algos twofish"
fi
for ca in $algos ; do
for i in $plain_files $data_files ; do
$GPG $dsa_keyrings --always-trust --cipher-algo $ca -e \
-o x --yes -r "$dsa_usrname2" $i -o x --yes -r "$dsa_usrname2" $i
$GPG $dsa_keyrings -o y --yes x $GPG $dsa_keyrings -o y --yes x
cmp $i y || error "$i: mismatch" cmp $i y || error "$i: mismatch"
done
done done

View File

@ -8,9 +8,33 @@ for i in $plain_files $data_files ; do
$GPG -o y --yes x $GPG -o y --yes x
cmp $i y || error "$i: mismatch" cmp $i y || error "$i: mismatch"
done done
for i in $plain_files $data_files ; do
$GPG --always-trust -e -o x --yes -r "$usrname2" --cipher-algo cast5 $i algos="3des"
if have_cipher_algo "idea"; then
algos="$algos idea"
fi
if have_cipher_algo "cast5"; then
algos="$algos idea"
fi
if have_cipher_algo "blowfish"; then
algos="$algos idea"
fi
if have_cipher_algo "aes"; then
algos="$algos aes aes192 aes256"
fi
if have_cipher_algo "twofish"; then
algos="$algos twofish"
fi
for ca in $algos ; do
for i in $plain_files $data_files ; do
$GPG --always-trust -e -o x --yes -r "$usrname2" --cipher-algo $ca $i
$GPG -o y --yes x $GPG -o y --yes x
cmp $i y || error "$i: mismatch" cmp $i y || error "$i: mismatch"
done
done done

View File

@ -13,6 +13,10 @@ Name-Email: hh@@ddorf.de
Expire-Date: 1 Expire-Date: 1
Passphrase: abc Passphrase: abc
%commit %commit
EOF
if have_pubkey_algo "RSA"; then
../g10/gpg --quiet --batch --quick-random --homedir . --gen-key <<EOF
Key-Type: RSA Key-Type: RSA
Key-Length: 1024 Key-Length: 1024
Key-Usage: sign,encrypt Key-Usage: sign,encrypt
@ -23,4 +27,4 @@ Expire-Date: 2
Passphrase: abc Passphrase: abc
%commit %commit
EOF EOF
fi

View File

@ -1,29 +1,27 @@
This is an encrypted version of plain-1 for This is an encrypted version of plain-1 for the PGP test key
the PGP test key 0xCB879DE9 using CAST. 0xCB879DE9 using 3DES.
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
Version: PGPfreeware 5.0i for non-commercial use Version: GnuPG v1.3.5-cvs (GNU/Linux)
MessageID: D0P6k4cfvaTDkyRQM+/MpOoQW6xT5Swm
qANQR1DBwA4DW3oC8MuHnekQAwDj3tkgY6XU+e1k9XOlSSzIPGenxgOZ8VSvuEUd hM4DW3oC8MuHnekQAv0U6qlDAA64QS/oZJErr1J77m5Dh7IFen3mAcwOxvL/POqS
L+/1E9T2KJmH5CGyH4Hz6wIOLtFSd1A13yYRyHNhxD/nGg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lVrinR2GAkNu75ef+FP/KWP4NFYvEMpDxqXNS7Ju1sfcyFaTnm9 uo0+rb5eSfJw9t+uzBXDmFHynayj0CB8wW9iwXknpdlHDo1z
=TpZW =7Otr
-----END PGP MESSAGE----- -----END PGP MESSAGE-----

View File

@ -1,27 +1,26 @@
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.4rc1 (GNU/Linux) Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
hQEOAwDZAi05oo3jEAP/WcLsks2vVpWkKsRKzTdJrKyEV+aD+ApjzXSjrJnq8sdA hQEOA6urKKJHvid1EAQA0MchGc7vZsjUgxdII4lo/2jRDesMmLDN4U0uOgExvyhD
h2uq4N1pjIyR9BVFifxozPNaSnhT6kOwt+fQTo9ogCsPB1mtjn5oSTUJxIEILMwY u1OtQBJF8iHgNdDEf8/R3GWhRE94IpVwLqzKTqfVmyKIFd80/Qe4h37TUPpEf8Ex
77Sb4R8okltH2eSXMDQMy1iul+VjhPype2OgpPwl554V0MsiIZCL+aI6xlse9YcD f7WaIBk/9OSDNKOkCwZ5OH9xGaorhBwYiTNJlEEGv5zcDte9ZoLO7WhWFfHp3b0E
/iP65EHcVpAF4ugqGaF8SSH4J0X5ZFBZps2iVN5bwKqANJyFQ/Wb/SxkE63xR0kF AJYk/tf3oV4sJSn8AbUa8UC2tAdpNM1Lx+UEuCtxevYRpWeDVDok7/xuaa/wcb39
L9pROi8C4NWzF67QvbsU5WCErhbYtBUvChvFk84CY1gPFA8pGuU5vQnLimLetlS1 lKyhUV+FBUH++k59K4GVqykOz02hmFl97O+4bAldgP6cVTm0Gh7jwMcJANzhLW/O
izbOBpveB/8/OD1iYQ31rowpxdKkmU1yMC7Dhh4FsJTq0ukB/7VaL5YTBTRlAgbG MR5birB+HPKOotMIfhggzxsAt6ESrviIlknkGqwKXWog0ukB/npOqQdu1GmvJqoC
S8Gu5fIP/k+tKHI7qS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xmdLel4+R5LG9q JpA7nxuf79Wk17bjNvuVQwokhXpzw7FyPPdD7h4Z30LW0ozvSVgs2tigWCAysIKB
6FijDrkUFcy/n28PHh2yU6ifq0gISGweLOYxnF0EoUG9lbf2A+hc+utj/hBDudG8 3ZIolchqBoj0ddJgbPXrx09r1oCckEmdj1KtZsci9m+CFA8d22uxXBec0HkEHZpr
5K+Lu4xXOwnb5rcS7zyMvHxCeMAXnKHAuRjNIHGHkNtRFZXCw+VgWJlz+nKhJk2X EHlqEZfNTmqowoDtJ8KT+S8VPsALEyDnrqm3s4i44OwgvsPiKOST1xwk6lIJ5isu
l+dM0tTfh28wtnDmLPK7/GkLVgGCn98zyJuXkRfw7y50LMXxemgjw7/sMdqiBcwg fO76RHTQ2jc8z7+sKyNffVugfjYVRj54/8Gj34QkrVo/42rlvg398tpbAbWuNq8w
JylAobRi8vkm5NUgcfn14kE+XuWV8xE2QCrdoc/vopSBpt3EkJO/Q4TMAPfJ4HGA PM//M6eVD4IRDYEGrGOk7prd9mgdbWnOWpasirhr41kePu2vsrIUkJWHmOgdMQDH
WyL0XabJXdQW6nBdheE86DW1brwYzv2dIH0VjLCU7FdR+UvxKaY05yJMtkExOzjl cSSzI8C5NpafROHAhMsUymcJ5dKksvPubh5IAdgtH+m6yDnNUJT8s6WV1f1RpSsQ
tjdJRPpcllHH50JUbfzG6/uvdtGxU/slKW1nvP9D7p7k0i60XMcpNOgrqIk= L/n3dhti76l0XtfZ7aST8j46B1JPNDx8+r6Xl9IUbSU=
=kZGn =xK46
-----END PGP MESSAGE----- -----END PGP MESSAGE-----

View File

@ -1,33 +1,31 @@
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.4rc1 (GNU/Linux) Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
hQEOAwDZAi05oo3jEAP/TpkKS1vrVTxJtSaCZBcU6zGbGUKC25EGjeLv7GZqND+E hQEOA6ur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ooINYkfX nx4PXElm8VUuhKDxdVi9Ipo8fL9Amu3PwYonzOck3R2W4wwlmcopVQQ=
IKCGjA== =Ng8B
=vWTp
-----END PGP MESSAGE----- -----END PGP MESSAGE-----

View File

@ -1,14 +1,13 @@
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.4rc1 (GNU/Linux) Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
hQEOAwDZAi05oo3jEAP/RZyGKlqp+9stGNJ0+ctQISmWwsZwvtQGUo9AXGQnZiMh hQEOA6urKKJHvid1EAQAreXx68NPUPpiNhqRyM//Y97N8hX5iAWq3WxXTa8D6Hy9
zhAT/h0z8pzXQceOV7j/cf1iaHYqLVnkUa9Wipp+oda7EwPNcuodaFX3zkB95Qrg 81Jy2wI4IeDhHIoWuXMIX2oVL//V1+LyLkrF/tutBVvqct0TUDUWqb4Ydpfk2l5j
/BmmR6+0sjrwbMB+hi3csgrj+aCFTTruKmzJkS+j4YtrYlqf4VkkdFeteWeO3CkD FfSybWW1fS4D1e0KVB3Lfj2Y4cCoT/+zyq7jUKQE++qNefPBzeaRWY4qeI6xXF8E
/1qALMXO/ruGP7JkrPAqksAoQAWFlFCC7dFyaUKgxV6kCaSgJgIS3MG4pfnI/LNr AMj01HPe0ZwIBWqiIYv91Q7rGzEZm0ROPilgSQjUvCdsNQGhZpFGTl6uMSU0lmp8
MBcS0jqXFIw8KQFOJbMQVj/dWqty+7ffk6C2A7i+X7A4FyeEm8NmUGro2nL1BYTs SD2EKv3xGeo2nMPy/Xp4JoYAMW+fjJh+wM6uT84nJgCVaeWyR7HAfF1U4rzqz7DF
rZRMHC8PLuP32skmGdrdHh2fv9AYQBy4ufdPUy9L/Umb0mwB3PINTwMlq55vrVUF amPozuwuZiyjoo/wB1irZSl90t5Oa69oMesZtGMvwBN10mMBM0TotT4gjgviv5uY
oHxelcPRtA8SPj6o38PEpFh9U5lTAQl2uDMK3yxidoNwd0H0w2UsbTrVgMU0opMH kLjD7DM79xy0drptNypmcVcjnDunM6bSEhTyq/fahdaULTYcwSOTXVMyesNpmLCb
8CzXBdbDPoZNi/m3H6HcudWYuJOct3fkChj7ELnyuNiZXGXNlb9VZkWABi3+w70= ziayleyuSaXPxIqWTgSfkab/W2FGWZvbexYaSaWXmDqsyzs81o0=
=AURw =JDKF
-----END PGP MESSAGE----- -----END PGP MESSAGE-----

File diff suppressed because it is too large Load Diff

View File

@ -1,53 +1,73 @@
This is a test secret keyring simply stored by GNUPG so that it is This is a test secret keyring simply stored by GNUPG so that it is
easier to make diff files. easier to make diff files.
sec 1024R/2D574CD0 2003-12-05 Test one (pp=def) <one@example.com> sec 1024D/D74C5F22 2003-12-31 Test one (pp=def) <one@example.com>
ssb 1024g/39A28DE3 2003-12-05 ssb 1024g/47BE2775 2003-12-31
sec 1024R/2E4BBF50 2003-12-05 Test two (no pp) <two@example.com>
sec 1024D/C40FDECF 2003-12-31 Test two (no pp) <two@example.com>
ssb 1024g/B27907AA 2003-12-31
sec 1024R/ECABF51D 2003-12-31 Test three (no pp) <three@example.com>
-----BEGIN PGP PRIVATE KEY BLOCK----- -----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.2.4rc1 (GNU/Linux) Version: GnuPG v1.3.5-cvs (GNU/Linux)
lQH8BD/QD5YBBADCMlfBdv6UYURjCN9BCvqFbT/mm2PMWmnVniQkNqj2XxyfBjqb lQHhBD/yNQgRBAC/KSfe6uVfDgA3BrGpNLhVxT/ytwXMpBI8pEdTiY0jWnYrb/Yu
zyQotcFIDEdzQ84OssEGXNOOnpNzMO9Ae8yTN8g+GcW1dpVQqav9RK5BMiPcz2SW 8wtCeZ9GAux/ZA/ted+7pdibHXfX5PzDfgUTZwrIJa57OUpWwI878AzZxNsnVv1I
XMUBMwvm9GxYryiIaIWJehLLtrYaz13ssXOi7v3EmllgNv0GLYL2A3VPmwAGKf4D P6ufGyESKME4PUQO5heKhwAb0g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ckxU
n/ESozKSu517zueU8IAkw+Vf2CM/UHntSZHE3yYY2QIA3LWUXwDxr0OL1MMRuLrK
PZ2wrRZRmGU0IDDx3zBX5VMsR/WNMwPLo8iimBT2F7ez3umPqqrugRtJj6ryF3t3
aQH+Kfst9psjWkmpBrEO99j4Gq6orYHnzd4fSnnOJEv4/ObdXrGBGwvV5RZblXCF
A2kB3ShaYowpengtqBVzpD0cCZ6ntCZUZXN0IHRocmVlIChubyBwcCkgPHRocmVl
QGV4YW1wbGUuY29tPoi1BBMBAgAfBQI/8lO9AhsDBwsJCAcDAgEDFQIDAxYCAQIe
AQIXgAAKCRDRILYm7Kv1HWpDA/9sINfVYaTW7TOQolYn9Vee4feOTpl6+S4dkgLC
OWoDG/V17k/cl7Jr/iQ+YRBOi0S/fFwMBn72kEvdOtmiUAqHGQFnTyXhBLLvqTJ/
yEHR6hnZK+zsusY8EmvoIdfSTIOJqkeACEEpCr0aE0qkgBm4voMrZ05pAO2hFJba
IHWHiQ==
=52aT
-----END PGP PRIVATE KEY BLOCK----- -----END PGP PRIVATE KEY BLOCK-----

View File

@ -9,15 +9,8 @@ for i in $plain_files $data_files; do
cmp $i y || error "$i: mismatch" cmp $i y || error "$i: mismatch"
done done
# TODO: add the new SHAs here once we allow them to be used in new # Using the DSA sig key - only 160 bit hashes
# documents. for da in ripemd160 sha1 ; do
hash_algo_list="ripemd160 sha1 md5"
if have_hash_algo "SHA256"; then
hash_algo_list="$hash_algo_list sha256"
fi
for da in $hash_algo_list ; do
for i in $plain_files; do for i in $plain_files; do
echo "$usrpass1" | $GPG --passphrase-fd 0 --digest-algo $da \ echo "$usrpass1" | $GPG --passphrase-fd 0 --digest-algo $da \
-s -o x --yes $i -s -o x --yes $i
@ -27,3 +20,24 @@ for da in $hash_algo_list ; do
break break
done done
done done
# TODO: add the new SHAs here once we allow them to be used in new
# documents.
if have_cipher_algo "RSA"; then
# Using the RSA sig key - all hashes
hash_algo_list="ripemd160 sha1 md5"
if have_hash_algo "SHA256"; then
hash_algo_list="$hash_algo_list sha256"
fi
for da in $hash_algo_list ; do
for i in $plain_files; do
$GPG -u $usrkeyid3 --digest-algo $da -s -o x --yes $i
$GPG -o y --yes x
cmp $i y || error "$i: mismatch"
# process only the first one
break
done
done
fi