smime_keys doesn't work on 1.5.12
Hello!
Can someone help me with importing thawte free email smime certificate into
mutt ? I'm getting error trying to do that on mutt-1.5.12 :
$ smime_keys init
$ smime_keys add_p12 cert.p12
NOTE: This will ask you for two passphrases:
1. The passphrase you used for exporting
2. The passphrase you wish to secure your private key with.
Enter Import Password:
MAC verified OK
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
Couldn't identify root certificate!
No root and no intermediate certificates. Can't continue. at
/usr/local/bin/smime_keys line 668.
Thanks for your help.
--
Anatoly Pugachev
set smime_is_default
set smime_timeout=300
set crypt_autosign = no
set crypt_replyencrypt = no
set crypt_replysign = no
set crypt_replysignencrypted = no
set crypt_verify_sig = no
set smime_default_key="12345678.0"
set smime_ca_location="~/.smime/ca-bundle.crt"
set smime_certificates="~/.smime/certs"
set smime_keys="~/.smime/keys"
set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out"
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_with="des3"
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"
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"