Hi,
after fixing the other bug related to GPG messages, this patch has to be
modified, too:
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -436,6 +436,16 @@ private
end
chunks
+ elsif m.header.content_type == "application/pgp"
+ notice, sig, decryptedm = CryptoManager.decrypt m.body
+ if decryptedm # managed to decrypt
+ children = message_to_chunks(decryptedm, true)
+ chunks = [notice, sig, children].flatten.compact
+ else
+ chunks = [notice]
+ end
+
+ chunks
elsif m.header.content_type == "message/rfc822"
if m.body
payload = RMail::Parser.read(m.body)
Best regards,
Michael
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk