2015-09-11 17:37:14 +02:00
|
|
|
---
|
2018-07-05 13:57:50 +02:00
|
|
|
globals.h | 2 ++
|
|
|
|
init.h | 15 ++++++++++++---
|
|
|
|
pgp.c | 3 ++-
|
|
|
|
3 files changed, 16 insertions(+), 4 deletions(-)
|
2015-09-11 17:37:14 +02:00
|
|
|
|
|
|
|
--- globals.h
|
2018-07-05 13:57:50 +02:00
|
|
|
+++ globals.h 2018-07-04 13:31:23.664299582 +0000
|
|
|
|
@@ -256,6 +256,8 @@ WHERE char *PgpDefaultKey;
|
2012-05-25 16:08:44 +02:00
|
|
|
WHERE char *PgpSignAs;
|
|
|
|
WHERE short PgpTimeout;
|
|
|
|
WHERE char *PgpEntryFormat;
|
|
|
|
+WHERE char *PgpMimeSignatureFilename;
|
|
|
|
+WHERE char *PgpMimeSignatureDescription;
|
|
|
|
WHERE char *PgpClearSignCommand;
|
|
|
|
WHERE char *PgpDecodeCommand;
|
|
|
|
WHERE char *PgpVerifyCommand;
|
2015-09-11 17:37:14 +02:00
|
|
|
--- init.h
|
2018-07-05 13:57:50 +02:00
|
|
|
+++ init.h 2018-07-04 13:34:46.696603852 +0000
|
2018-07-17 11:51:04 +02:00
|
|
|
@@ -3107,9 +3107,18 @@ struct option_t MuttVars[] = {
|
2012-05-25 16:08:44 +02:00
|
|
|
** a line quoted text if it also matches $$smileys. This mostly
|
|
|
|
** happens at the beginning of a line.
|
|
|
|
*/
|
2018-07-05 13:57:50 +02:00
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
+ { "pgp_mime_signature_filename", DT_STR, R_NONE, UL &PgpMimeSignatureFilename, UL "signature.asc"},
|
2012-05-25 16:08:44 +02:00
|
|
|
+ /*
|
|
|
|
+ ** .pp
|
|
|
|
+ ** This option sets the filename used for signature parts in PGP/MIME
|
|
|
|
+ ** signed messages.
|
|
|
|
+ */
|
2018-07-05 13:57:50 +02:00
|
|
|
+ { "pgp_mime_signature_description", DT_STR, R_NONE, UL &PgpMimeSignatureDescription, UL "Digital signature"},
|
2012-05-25 16:08:44 +02:00
|
|
|
+ /*
|
|
|
|
+ ** .pp
|
|
|
|
+ ** This option sets the Content-Description used for signature parts in
|
|
|
|
+ ** PGP/MIME signed messages.
|
|
|
|
+ */
|
2018-07-05 13:57:50 +02:00
|
|
|
{ "smime_ask_cert_label", DT_BOOL, R_NONE, OPTASKCERTLABEL, 1 },
|
2017-04-28 16:47:43 +02:00
|
|
|
/*
|
|
|
|
** .pp
|
2018-07-05 13:57:50 +02:00
|
|
|
--- pgp.c
|
|
|
|
+++ pgp.c 2018-07-04 13:37:32.013594333 +0000
|
2018-07-17 11:51:04 +02:00
|
|
|
@@ -1292,7 +1292,8 @@ BODY *pgp_sign_message (BODY *a)
|
2012-05-25 16:08:44 +02:00
|
|
|
t->disposition = DISPNONE;
|
|
|
|
t->encoding = ENC7BIT;
|
2018-07-05 13:57:50 +02:00
|
|
|
t->unlink = 1; /* ok to remove this file after sending. */
|
|
|
|
- mutt_set_parameter ("name", "signature.asc", &t->parameter);
|
2012-05-25 16:08:44 +02:00
|
|
|
+ mutt_set_parameter ("name", PgpMimeSignatureFilename, &t->parameter);
|
|
|
|
+ t->description = safe_strdup (PgpMimeSignatureDescription);
|
|
|
|
|
2018-07-05 13:57:50 +02:00
|
|
|
return (a);
|
2012-05-25 16:08:44 +02:00
|
|
|
}
|