Description: Fix smime_pk7out_command for OpenSSL in Debian 13 (Trixie) In Debian 13, `openssl smime` enforces that the operation options are mutually exclusive, making the combination of `-verify` and `-pk7out` fail with "smime: Cannot use -pk7out together with -verify". . Dropping the `-verify` flag allows the command to execute successfully and match the behavior seen on previous Debian releases. Origin: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125291 Bug-Debian: https://bugs.debian.org/1125291 Author: Andreas Reviewed-by: Last-Update: 2026-06-21 --- --- a/contrib/smime.rc +++ b/contrib/smime.rc @@ -58,7 +58,7 @@ # These are used to extract a certificate from a message. # First generate a PKCS#7 structure from the message. -set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out" +set smime_pk7out_command="openssl smime -pk7out -in %f -noverify" # Extract the included certificate(s) from a PKCS#7 structure. set smime_get_cert_command="openssl pkcs7 -print_certs -in %f"