59 lines
1.9 KiB
Plaintext
59 lines
1.9 KiB
Plaintext
---
|
|
PATCHES | 1 +
|
|
globals.h | 2 ++
|
|
init.h | 12 ++++++++++++
|
|
pgp.c | 3 ++-
|
|
4 files changed, 17 insertions(+), 1 deletion(-)
|
|
|
|
--- PATCHES
|
|
+++ PATCHES 2017-04-28 13:24:26.336119973 +0000
|
|
@@ -1,3 +1,4 @@
|
|
+patch-1.5.3.vk.pgp_verbose_mime
|
|
patch-1.5.9.aw.listreply.1
|
|
patch-attach-headers-color-neomutt
|
|
patch-compose-to-sender-neomutt
|
|
--- globals.h
|
|
+++ globals.h 2017-04-28 13:23:52.912755124 +0000
|
|
@@ -280,6 +280,8 @@ WHERE REGEXP PgpDecryptionOkay;
|
|
WHERE char *PgpSignAs;
|
|
WHERE short PgpTimeout;
|
|
WHERE char *PgpEntryFormat;
|
|
+WHERE char *PgpMimeSignatureFilename;
|
|
+WHERE char *PgpMimeSignatureDescription;
|
|
WHERE char *PgpClearSignCommand;
|
|
WHERE char *PgpDecodeCommand;
|
|
WHERE char *PgpVerifyCommand;
|
|
--- init.h
|
|
+++ init.h 2017-04-28 13:25:47.026586390 +0000
|
|
@@ -3342,6 +3342,18 @@ struct option_t MuttVars[] = {
|
|
** a line quoted text if it also matches $$smileys. This mostly
|
|
** happens at the beginning of a line.
|
|
*/
|
|
+ { "pgp_mime_signature_filename", DT_STR, R_NONE, UL &PgpMimeSignatureFilename, UL "signature.asc"},
|
|
+ /*
|
|
+ ** .pp
|
|
+ ** This option sets the filename used for signature parts in PGP/MIME
|
|
+ ** signed messages.
|
|
+ */
|
|
+ { "pgp_mime_signature_description", DT_STR, R_NONE, UL &PgpMimeSignatureDescription, UL "Digital signature"},
|
|
+ /*
|
|
+ ** .pp
|
|
+ ** This option sets the Content-Description used for signature parts in
|
|
+ ** PGP/MIME signed messages.
|
|
+ */
|
|
{ "smime_ask_cert_label", DT_BOOL, R_NONE, OPTASKCERTLABEL, 1 },
|
|
/*
|
|
** .pp
|
|
--- pgp.c
|
|
+++ pgp.c 2017-04-28 13:27:03.109140122 +0000
|
|
@@ -1184,7 +1184,8 @@ BODY *pgp_sign_message(BODY *a)
|
|
t->disposition = DISPNONE;
|
|
t->encoding = ENC7BIT;
|
|
t->unlink = true; /* ok to remove this file after sending. */
|
|
- mutt_set_parameter("name", "signature.asc", &t->parameter);
|
|
+ mutt_set_parameter ("name", PgpMimeSignatureFilename, &t->parameter);
|
|
+ t->description = safe_strdup (PgpMimeSignatureDescription);
|
|
|
|
return a;
|
|
}
|