sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit db20dc2565307a1d1283df4aa92d8fe5c899dac8
parent 0beaf8d7d87f4b264fda5d5f6d4e9f4808f76d02
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Wed, 27 Feb 2008 09:49:29 -0800

workaround for rubymail quoting bug in pgp MIME statement

Diffstat:
M lib/sup/crypto.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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"