mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* armor.test: Tweak the bug 1179 test to only run if Twofish is
included in the program. The sample message requires Twofish.
This commit is contained in:
parent
012e7ce7b8
commit
72ef16b939
2 changed files with 20 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-10-19 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* armor.test: Tweak the bug 1179 test to only run if Twofish is
|
||||||
|
included in the program. The sample message requires Twofish.
|
||||||
|
|
||||||
2010-05-12 Werner Koch <wk@g10code.com>
|
2010-05-12 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* armor.test: Extend to test bug 1179.
|
* armor.test: Extend to test bug 1179.
|
||||||
|
|
|
@ -739,16 +739,20 @@ wg7Md81a5RI3F2FG8747t9gX
|
||||||
# armor filter gpg swalled the CRC line and passed the '-----END...'
|
# armor filter gpg swalled the CRC line and passed the '-----END...'
|
||||||
# line on to the decryption layer.
|
# line on to the decryption layer.
|
||||||
|
|
||||||
i=alpha_seckey
|
# Can only perform this test if we have Twofish
|
||||||
info "importing: $i"
|
|
||||||
eval "(IFS=; echo \"\$$i\")" >x
|
|
||||||
$GPG --import x || true
|
|
||||||
|
|
||||||
i=nopad_armored_msg
|
if $GPG --with-colons --list-config ciphername | grep TWOFISH > /dev/null 2>/dev/null ; then
|
||||||
info "checking: $i"
|
i=alpha_seckey
|
||||||
eval "(IFS=; echo \"\$$i\")" >x
|
info "importing: $i"
|
||||||
if echo "abc" | $GPG --passphrase-fd 0 -o - x > /dev/null ; then
|
eval "(IFS=; echo \"\$$i\")" >x
|
||||||
|
$GPG --import x || true
|
||||||
|
|
||||||
|
i=nopad_armored_msg
|
||||||
|
info "checking: $i"
|
||||||
|
eval "(IFS=; echo \"\$$i\")" >x
|
||||||
|
if echo "abc" | $GPG --passphrase-fd 0 -o - x > /dev/null ; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
error "bug#1179 is back in town"
|
error "bug#1179 is back in town"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue