~ubuntu-branches/ubuntu/vivid/mutt/vivid-updates

« back to all changes in this revision

Viewing changes to debian/extra/rc/smime-paths.rc

Tags: 1.5.18-6
* Grab from upstream:
  + Guard idata->mailbox read in imap_mailbox_state.
    The bug happens when a user has more than a imap mailbox, when
    he/she browses through them mutt will segfault.
    (Closes: #462266, #513230, #514309. Mutt: #3057)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
# S/MIME configuration
3
 
set smime_ca_location="~/.smime/ca-bundle.crt"
 
2
set smime_ca_location=`for f in $HOME/.smime/ca-certificates.crt $HOME/.smime/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt ; do if [ -f $f ] ; then echo $f ; exit ; fi ; done`
4
3
set smime_certificates="~/.smime/certificates"
5
4
set smime_keys="~/.smime/keys"
6
5
set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out"
12
11
set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -certfile %i -outform DER"
13
12
# This alternative command does not include the full certificates chain.
14
13
# Be sure to understand RFC 2315 section 9.1 before using it.
15
 
# set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -outform DER"
 
14
#set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -outform DER"
16
15
set smime_decrypt_command="openssl smime -decrypt -passin stdin -inform DER -in %f -inkey %k -recip %c"
17
16
set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content %f"
18
 
set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C"
 
17
set smime_verify_opaque_command="\
 
18
openssl smime -verify -inform DER -in %s %C || \
 
19
openssl smime -verify -inform DER -in %s -noverify 2>/dev/null"
19
20
 
20
 
set mixmaster="mixmaster-filter"