X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/ddf8a9dd6bbabd3ba3716abb794ac965877405d4..31bf71bd4a10329d81db902036b0156cbf316a6f:/debian/extra/rc/smime-paths.rc diff --git a/debian/extra/rc/smime-paths.rc b/debian/extra/rc/smime-paths.rc index 36ebd44..ace80b8 100644 --- a/debian/extra/rc/smime-paths.rc +++ b/debian/extra/rc/smime-paths.rc @@ -14,5 +14,7 @@ set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin - #set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -outform DER" set smime_decrypt_command="openssl smime -decrypt -passin stdin -inform DER -in %f -inkey %k -recip %c" set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content %f" -set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C" +set smime_verify_opaque_command="\ +openssl smime -verify -inform DER -in %s %C || \ +openssl smime -verify -inform DER -in %s -noverify 2>/dev/null"