| 1 |
Descriptionscip-debian debian mutt 2.4.1-1 mutt/patches/`upstream/1125291-fix-smime_pk7out_command-for-key-extraction.patch`#Description.: Fix smime_pk7out_command for OpenSSL in Debian 13 (Trixie) |
| 2 |
In Debian 13, `openssl smime` enforces that the operation options are |
| 3 |
mutually exclusive, making the combination of `-verify` and `-pk7out` fail |
| 4 |
with "smime: Cannot use -pk7out together with -verify". |
| 5 |
. |
| 6 |
Dropping the `-verify` flag allows the command to execute successfully and |
| 7 |
match the behavior seen on previous Debian releases. |
| 8 |
Originscip-debian debian mutt 2.4.1-1 mutt/patches/`upstream/1125291-fix-smime_pk7out_command-for-key-extraction.patch`#Origin.: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125291scip-debian-bts debian-bts . . 1125291: |
| 9 |
Bug-Debianscip-debian debian mutt 2.4.1-1 mutt/patches/`upstream/1125291-fix-smime_pk7out_command-for-key-extraction.patch`#Bug-Debian.: https://bugs.debian.org/1125291 |
| 10 |
Authorscip-debian debian mutt 2.4.1-1 mutt/patches/`upstream/1125291-fix-smime_pk7out_command-for-key-extraction.patch`#Author.: Andreas <bugs.debian.orgscip-debian . . . identity/`bugs.debian.org`.> |
| 11 |
Reviewed-byscip-debian debian mutt 2.4.1-1 mutt/patches/`upstream/1125291-fix-smime_pk7out_command-for-key-extraction.patch`#Reviewed-by.: |
| 12 |
Last-Updatescip-debian debian mutt 2.4.1-1 mutt/patches/`upstream/1125291-fix-smime_pk7out_command-for-key-extraction.patch`#Last-Update.: 2026-06-21 |
| 13 |
--- |
| 14 |
--- a/contrib/smime.rcscip-debian debian mutt 2.4.1-1 mutt/upstream/`contrib/smime.rc`: |
| 15 |
+++ b/contrib/smime.rcscip-debian debian mutt 2.4.1-1 mutt/upstream/`contrib/smime.rc`: |
| 16 |
@@ -58,7 +58,7 @@ |
| 17 |
|
| 18 |
# These are used to extract a certificate from a message. |
| 19 |
# First generate a PKCS#7 structure from the message. |
| 20 |
|
| 21 |
+set smime_pk7out_command="openssl smime -pk7out -in %f -noverify" |
| 22 |
|
| 23 |
# Extract the included certificate(s) from a PKCS#7 structure. |
| 24 |
set smime_get_cert_command="openssl pkcs7 -print_certs -in %f" |