From The Compiler, 6 Years ago, written in Plain Text.
Embed
  1. # Decrypt a message. Output is a MIME entity.
  2. set smime_decrypt_command="openssl smime -decrypt  -passin stdin -inform DER -in %f -inkey %k -recip %c"
  3.  
  4. # Verify a signature of type multipart/signed
  5. set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content %f"
  6.  
  7. # Verify a signature of type application/x-pkcs7-mime
  8. set smime_verify_opaque_command="\
  9. openssl smime -verify -inform DER -in %s %C || \
  10. openssl smime -verify -inform DER -in %s -noverify 2>/dev/null"