···143143 pager_t info;
144144145145#ifdef HAVE_PGP
146146- if (cur->pgp & PGPGOODSIGN)
147147- mutt_message _("PGP signature successfully verified.");
146146+ mutt_message ((cur->pgp & PGPGOODSIGN) ?
147147+ _("PGP signature successfully verified.") :
148148+ _("PGP signature could NOT be verified."));
148149#endif
149150150151 /* Invoke the builtin pager */
+2
contrib/pgp2.rc
···4444# read in the secret key ring
4545set pgp_list_secring_command="pgpring -s -2 %r"
46464747+# pattern for good signature
4848+set pgp_good_sign="Good signature"
+3
contrib/pgp5.rc
···1111# verify a pgp/mime signature
1212set pgp_verify_command="pgpv +language=mutt +verbose=0 +batchmode --OutputInformationFD=1 %f %s"
13131414+# string that the verify command outputs if the signature is good
1515+set pgp_good_sign = "Good signature"
1616+1417# decrypt a pgp/mime attachment
1518set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgpv +language=mutt +verbose=0 +batchmode --OutputInformationFD=2 -f"
1619
+13-12
doc/manual.sgml.head
···199199Zero or more of the following ``flags'' may appear, which mean:
200200201201<p>
202202-<tscreen><verb>
203203-D message is deleted
204204-K contains a PGP public key
205205-M requires mailcap to view
206206-N message is new
207207-O message is old
208208-P message is PGP encrypted
209209-r message has been replied to
210210-S message is PGP signed
211211-! message is flagged
212212-* message is tagged
213213-</verb></tscreen>
202202+<descrip>
203203+<tag/D/ message is deleted (is marked for deletion)
204204+<tag/d/ message have attachments marked for deletion
205205+<tag/K/ contains a PGP public key
206206+<tag/N/ message is new
207207+<tag/O/ message is old
208208+<tag/P/ message is PGP encrypted
209209+<tag/r/ message has been replied to
210210+<tag/S/ message is PGP signed, and the signature is succesfully verified
211211+<tag/s/ message is PGP signed
212212+<tag/!/ message is flagged
213213+<tag/*/ message is tagged
214214+</descrip>
214215215216Some of the status flags can be turned on or off using
216217<itemize>
+8
init.h
···11021102 ** .dt %[<s>] .dd date of the key where <s> is an strftime(3) expression
11031103 ** .de
11041104 */
11051105+ { "pgp_good_sign", DT_RX, R_NONE, UL &PgpGoodSign, UL "" },
11061106+ /*
11071107+ ** .pp
11081108+ ** If you assign a text to this variable, then a PGP signature is only
11091109+ ** considered verified if the output from $$pgp_verify_command contains
11101110+ ** the text. Use this variable if the exit code from the command is 0
11111111+ ** even for bad signatures.
11121112+ */
11051113 { "pgp_long_ids", DT_BOOL, R_NONE, OPTPGPLONGIDS, 0 },
11061114 /*
11071115 ** .pp