if replyinfo_obj.decrypt_success == True:
debug('decrypt success')
reply_plain += replyinfo_obj.replies['success_decrypt']
-
- if (replyinfo_obj.sig_success == True) and (replyinfo_obj.have_reply_key == True):
- debug('message quoted')
- reply_plain += replyinfo_obj.replies['space']
- reply_plain += replyinfo_obj.replies['quote_follows']
- reply_plain += "\n\n"
- quoted_text = email_quote_text(replyinfo_obj.msg_to_quote)
- reply_plain += quoted_text
-
reply_plain += "\n\n"
elif replyinfo_obj.decrypt_failure == True:
reply_plain += "\n\n"
+ if (replyinfo_obj.decrypt_success == True) \
+ and (replyinfo_obj.sig_success == True) \
+ and (replyinfo_obj.have_reply_key == True):
+ debug('message quoted')
+ reply_plain += replyinfo_obj.replies['quote_follows']
+ reply_plain += "\n\n"
+ quoted_text = email_quote_text(replyinfo_obj.msg_to_quote)
+ reply_plain += quoted_text
+ reply_plain += "\n\n"
+
+
if (reply_plain == ""):
debug('plaintext message')
reply_plain += replyinfo_obj.replies['failed_decrypt']
-I received your message and decrypted it. Here's a copy of your message:
+I received your message and decrypted it.
+
+Your signature was verified.
+
+Here's a copy of your message:
> thanks for the message!
>
>
>
-Your signature was verified.
-
- Edward, the friendly GnuPG bot
The Free Software Foundation created me.
Hello, I am Edward, the friendly GnuPG bot.
-I received your message and decrypted it. Here's a copy of your message:
+I received your message and decrypted it.
+
+Your signature was verified.
+
+I received your public key. Thanks.
+
+Here's a copy of your message:
> thanks for the message!
>
>
>
-Your signature was verified.
-
-I received your public key. Thanks.
-
- Edward, the friendly GnuPG bot
The Free Software Foundation created me.
-あなたから送られたメールの暗号を解きました。確認のため、内容を返信します:
+あなたから送られたメールの暗号を解きました。
+
+あなたの署名を確認できました。
+
+確認のため、内容を返信します:
> thanks for the message!
>
>
>
- あなたの署名を確認できました。
-
- GnuPGボットのEdward
Free Software Foundationが私を制作しました。 Free Software Foundationに寄付しませんか。| https://www.fsf.org/donate
Hello, I am Edward, the friendly GnuPG bot.
-I received your message and decrypted it. Here's a copy of your message:
+I received your message and decrypted it.
+
+Your signature was verified.
+
+I received your public key. Thanks.
+
+Here's a copy of your message:
> > Über Spaß.
> >
>
>
-Your signature was verified.
-
-I received your public key. Thanks.
-
- Edward, the friendly GnuPG bot
The Free Software Foundation created me.