Hi,
I'm having some problems with s/mime and key selection --
specifically, I can't select a non-default key on a per message basis
(not successfully anyway).
If I create a message and sign with my default settings, it works, and
the headings I see are:
S/MIME: Sign, Encrypt
sign as: 045e8a95.1 Encrypt with: des3
If I try to use a different cert to sign though (to match a different
from: address, for example), I can select the right key:
0x045E8A95.1 chd@xxxxxxxx chd07
-> 0xADE9F311.1 chd@xxxxxxxxxxx chd-az-07
But when I have selected it, the headings look like:
S/MIME: Sign, Encrypt
sign as: ade9f311. Encrypt with: des3
Note the "1" is missing from the end of the key ID. When I try to
send, openssl gives me this error:
Error opening signer certificate
/home/chd/.smime/certificates/ade9f311.
3252:error:02001002:system library:fopen:No such file or
directory:bss_file.c:278:fopen('/home/chd/.smime/certificates/ade9f311.','r')
3252:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
unable to load certificate
Which certainly looks to me like the missing "1" is causing it to look
for the wrong filename.
Help?
Thanks!
-Chris
--------------
Version:
$ mutt -v
Mutt 1.5.11 (2005-09-15)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.4.18-14 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK -USE_INODESORT
-USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_GNUTLS -USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME
-BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID -HAVE_GETADDRINFO
-USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/usr/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.
Attachment:
pgp2X4hnuLJw1.pgp
Description: PGP signature