Hi,

When I attempt to decrypt a message with 

Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
        protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk"

from sqwebmail, sqwebmail reports that the encryption algorithm isn't
supported; when I run it through mimegpg manually, no processing is done on
the message.

When I access the same message in mutt, however, it happily decrypts it.

I can see that in gpglib/mimegpg.c, in the function isgpg(), there is a test
if the algorithm equals "pgp-sha1" (line 791). If I remove this test, or OR
that test with one for "pgp-md5", decryption appears to work properly.

Am I overlooking something that _doesn't_ work? Why is that test there? 

I built sqwebmail-2.0.0 with rpm -ta from the .tar.gz without other
modifications: 
$ rpm -q sqwebmail
sqwebmail-2.0.0-1.6.1

(note: /etc/redhat-release is 6.1 on this system, but pretty much everything
else has been brought up to 6.2 level. Maybe I should rpm -U that, too)

$ rpm -q gnupg
gnupg-1.0.4-8.6.x

My copy of gnupg appears to support MD5, SHA1 and RIMEMD160 as hash
algorithms. Wouldn't mimegpg work fine for all those?

By the way, thanks for sqwebmail, Sam. It's a great product.


Vince.

 

Reply via email to