From db20dc2565307a1d1283df4aa92d8fe5c899dac8 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Wed, 27 Feb 2008 09:49:29 -0800 Subject: [PATCH] workaround for rubymail quoting bug in pgp MIME statement --- lib/sup/crypto.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.45.2