gnupg-1.4.1

John R. Shannon john at johnrshannon.com
Sun May 29 14:50:49 CEST 2005


Test problems:

1. Algorithm name returned by gpg is uppercase and script checks for lowercase 
name
2. Incorrect algorithm matching (eg., idea for BLOWFISH)

Fix:

--- checks/conventional.test.orig       2003-12-31 12:00:35.000000000 -0700
+++ checks/conventional.test
@@ -11,26 +11,30 @@ done

 algos="3des"

-if have_cipher_algo "idea"; then
+if have_cipher_algo "IDEA"; then
    algos="$algos idea"
 fi

-if have_cipher_algo "cast5"; then
-   algos="$algos idea"
+if have_cipher_algo "CAST5"; then
+   algos="$algos cast5"
 fi

-if have_cipher_algo "blowfish"; then
-   algos="$algos idea"
+if have_cipher_algo "BLOWFISH"; then
+   algos="$algos blowfish"
 fi

-if have_cipher_algo "aes"; then
+if have_cipher_algo "AES"; then
    algos="$algos aes aes192 aes256"
 fi

-if have_cipher_algo "twofish"; then
+if have_cipher_algo "TWOFISH"; then
    algos="$algos twofish"
 fi

-- 
John R. Shannon
john at johnrshannon.com
john.r.shannon at saic.com
john.r.shannon at us.army.mil
shannonjr at NetBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1458 bytes
Desc: not available
Url : /pipermail/attachments/20050529/7123d8ca/smime.bin


More information about the Gpa-dev mailing list