Package: mutt
Version: 1.5.13-1.1
Severity: normal

Mutt package comes with default setting (/etc/Muttrc):

    set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s 
%C"

Openssl (OpenSSL 0.9.8c 05 Sep 2006) suppresses message body in case of
verifycation failure (e.g. not trusting CA).
So I see only:

    [-- OpenSSL output follows (current time: Thu Apr 19 15:22:24 2007) --]
    Verification failure
    23994:error:21075075:PKCS7 routines:PKCS7_verify:certificate verify 
error:pk7_smime.c:233:Verify
    +error:unable to get local issuer certificate
    [-- End of OpenSSL output --]

    [-- The following data is S/MIME signed --]

    [-- End of S/MIME signed data. --]

And nothing is displayed, but openssl error.



My dirty solution for this now:

    set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s 
%C || openssl smime -verify -inform DER -in %s %C -noverify 2>/dev/null"

Openssl error message is passed and then another call (in case of
failure) with `-noverify' passes signed body.
Regards
-- 
Vaclav Ovsik


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)

Versions of packages mutt depends on:
ii  exim4                     4.63-17        metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail- 4.63-17        lightweight exim MTA (v4) daemon
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libdb4.4                  4.4.20-8       Berkeley v4.4 Database Libraries [
ii  libgnutls13               1.4.4-3        the GNU TLS library - runtime libr
ii  libidn11                  0.6.5-1        GNU libidn library, implementation
ii  libncursesw5              5.5-5          Shared libraries for terminal hand
ii  libsasl2-2                2.1.22.dfsg1-8 Authentication abstraction library

Versions of packages mutt recommends:
ii  locales                     2.3.6.ds1-13 GNU C Library: National Language (
ii  mime-support                3.39-1       MIME files 'mime.types' & 'mailcap

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to