]> git.cworth.org Git - sup/commitdiff
workaround for rubymail quoting bug in pgp MIME statement
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 27 Feb 2008 17:49:29 +0000 (09:49 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 28 Feb 2008 17:20:32 +0000 (09:20 -0800)
lib/sup/crypto.rb

index 9e16132304ebad107b8cab43c0706de82b6e1a78..ee0695862415939120b262d4d4cec2e1ec2f214e 100644 (file)
@@ -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"