sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 787d8691058b0c20f19087e41d71944365ec4554
parent 469b2b449bc7b45bddd3474ff4456a4a13c95fc7
Author: ian <itaylor@uark.edu>
Date:   Tue, 20 May 2008 21:25:18 -0400

exact match gpg fix

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
@@ -53,7 +53,7 @@ class CryptoManager
     payload_fn.write format_payload(payload)
     payload_fn.close
 
-    recipient_opts = to.map { |r| "--recipient '#{r}'" }.join(" ")
+    recipient_opts = to.map { |r| "--recipient '<#{r}>'" }.join(" ")
     sign_opts = sign ? "--sign --local-user '#{from}'" : ""
     gpg_output = run_gpg "--output - --armor --encrypt --textmode #{sign_opts} #{recipient_opts} #{payload_fn.path}"
     raise Error, (gpg_output || "gpg command failed: #{cmd}") unless $?.success?