From: William Morgan Date: Wed, 27 Feb 2008 17:49:29 +0000 (-0800) Subject: workaround for rubymail quoting bug in pgp MIME statement X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=db20dc2565307a1d1283df4aa92d8fe5c899dac8;p=sup workaround for rubymail quoting bug in pgp MIME statement --- diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb index 9e16132..ee06958 100644 --- a/lib/sup/crypto.rb +++ b/lib/sup/crypto.rb @@ -40,7 +40,7 @@ class CryptoManager raise Error, (output || "gpg command failed: #{cmd}") unless $?.success? envelope = RMail::Message.new - envelope.header["Content-Type"] = 'multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1' + envelope.header["Content-Type"] = 'multipart/signed; protocol=application/pgp-signature; micalg=pgp-sha1' envelope.add_part payload signature = RMail::Message.make_attachment output, "application/pgp-signature", nil, "signature.asc"