tag 315319 +patch confirmed
found 315319 1.5.18-4
thanks

Gerhard is right, openssl smime requires a dash before the encryption.
The following patch was produced against the latest git mutt repository,
I cannot upload it because I'm not a DD :-)

Cheers
Antonio
diff --git a/debian/extra/rc/smime-paths.rc b/debian/extra/rc/smime-paths.rc
index ace80b8..4bb404b 100644
--- a/debian/extra/rc/smime-paths.rc
+++ b/debian/extra/rc/smime-paths.rc
@@ -7,7 +7,7 @@ set smime_get_cert_command="openssl pkcs7 -print_certs -in %f"
 set smime_get_signer_cert_command="openssl smime -verify -in %f -noverify -signer %c -out /dev/null"
 set smime_get_cert_email_command="openssl x509 -in %f -noout -email"
 set smime_import_cert_command="smime_keys add_cert %f"
-set smime_encrypt_command="openssl smime -encrypt %a -outform DER -in %f %c"
+set smime_encrypt_command="openssl smime -encrypt -%a -outform DER -in %f %c"
 set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -certfile %i -outform DER"
 # This alternative command does not include the full certificates chain.
 # Be sure to understand RFC 2315 section 9.1 before using it.

Reply via email to