]> granicus.if.org Git - neomutt/log
neomutt
22 years agoIntroduce $content_type. There's one change against Michael's
Michael Elkins [Mon, 9 Sep 2002 20:09:52 +0000 (20:09 +0000)]
Introduce $content_type.  There's one change against Michael's
patch, in how the "format=flowed" parameter is used.

22 years agoFixing history classes.
Vincent Lefevre [Mon, 9 Sep 2002 20:04:36 +0000 (20:04 +0000)]
Fixing history classes.

22 years agowhen doing the second parsing pass on a maildir, mutt doesn't delete
Armin Wolfermann [Mon, 9 Sep 2002 19:56:25 +0000 (19:56 +0000)]
when doing the second parsing pass on a maildir, mutt doesn't delete
the fake HEADER struct if the file is unreadable. With this fix
unreadable files get silently ignored (like in the MH case).

22 years agoUpdate.
TAKAHASHI Tamotsu [Mon, 9 Sep 2002 19:55:01 +0000 (19:55 +0000)]
Update.

22 years agoFixing #1149: Truncate files used for editing messages.
Michael Elkins [Mon, 9 Sep 2002 19:53:24 +0000 (19:53 +0000)]
Fixing #1149:  Truncate files used for editing messages.

22 years agoAn unmailboxes command. #1311.
Nicolas Rachinsky [Mon, 9 Sep 2002 19:29:23 +0000 (19:29 +0000)]
An unmailboxes command.  #1311.

22 years agoFixing #1330.
Michael Elkins [Mon, 9 Sep 2002 19:24:54 +0000 (19:24 +0000)]
Fixing #1330.

22 years agoDocument unalternative_order in the manual page.
Thomas Roessler [Fri, 9 Aug 2002 07:01:11 +0000 (07:01 +0000)]
Document unalternative_order in the manual page.

22 years agoThe following patch adds the `unalternative_order' command. It also
Michael Elkins [Fri, 9 Aug 2002 06:58:35 +0000 (06:58 +0000)]
The following patch adds the `unalternative_order' command.  It also
allows using "*" more generically in un-commands which use
parse_unlists().

22 years agoError handling fixes.
Michael Elkins [Mon, 5 Aug 2002 17:24:55 +0000 (17:24 +0000)]
Error handling fixes.

22 years agoDocumentation for reply-hook. Another patch (for the manual page)
Michael Elkins [Fri, 26 Jul 2002 08:24:01 +0000 (08:24 +0000)]
Documentation for reply-hook.  Another patch (for the manual page)
would be most welcome. ;-))

22 years agoThe attached patch fixes mutt_yesorno() so that the question will be
Michael Elkins [Fri, 26 Jul 2002 08:23:28 +0000 (08:23 +0000)]
The attached patch fixes mutt_yesorno() so that the question will be
truncated enough to always fit in the default answer string.  The
size is calculated on the fly so that there is no artificial
truncation.

22 years agoThe attached patch sets MB_LEN_MAX to 16, which is MB_LEN_MAX value
TAKIZAWA Takashi [Wed, 24 Jul 2002 09:46:50 +0000 (09:46 +0000)]
The attached patch sets MB_LEN_MAX to 16, which is MB_LEN_MAX value
on glibc-2.2. It works only with --without-wc-funcs switch. It may
be applied to mutt-1.4 and mutt-1.5.1.

22 years agoFix a quoting sloppiness. Noted by Vincent Lefevre.
Lars Hecking [Wed, 24 Jul 2002 09:37:18 +0000 (09:37 +0000)]
Fix a quoting sloppiness.  Noted by Vincent Lefevre.

22 years agoFixing #1282. An off-by-one error. :-/
Thomas Roessler [Wed, 24 Jul 2002 09:33:31 +0000 (09:33 +0000)]
Fixing #1282.  An off-by-one error. :-/

22 years agoreply-hook. Documentation still needed.
Michael Elkins [Wed, 24 Jul 2002 09:20:21 +0000 (09:20 +0000)]
reply-hook.  Documentation still needed.

22 years agoupdate.
Vincent Lefevre [Wed, 24 Jul 2002 09:06:06 +0000 (09:06 +0000)]
update.

22 years agoFix $editor and $visual. Based on an earlier patch from Edmund
Michael Elkins [Wed, 24 Jul 2002 08:40:06 +0000 (08:40 +0000)]
Fix $editor and $visual.  Based on an earlier patch from Edmund
Grimley Evans.

22 years agoAnother documentation patch.
Michael Elkins [Fri, 19 Jul 2002 19:23:21 +0000 (19:23 +0000)]
Another documentation patch.

22 years ago* Thomas Roessler [02-07-08 10:14:53 +0200] wrote:
Rocco Rutte [Wed, 17 Jul 2002 12:48:38 +0000 (12:48 +0000)]
* Thomas Roessler [02-07-08 10:14:53 +0200] wrote:
>  * sendlib.c, 3.12 -> 3.13
>    From: Rocco Rutte <s1118644@mail.inf.tu-dresden.de>

>    Make encode_from a bit more aggressive, by also catching a 'f' in
>    the beginning of a line.

'Catch' is good but also to encode it is better. It may have
been too late (sorry for that) so I fixed it. I don't know
why the current source only escapes lines that actually
begin with 'from' or 'From' followed by some text. I think
that escaping 'from' or 'From' on a single line should be
done, too.

Not a big deal, anyways.

22 years agoUpdate copyright notices.
Michael Elkins [Tue, 16 Jul 2002 07:28:11 +0000 (07:28 +0000)]
Update copyright notices.

22 years agoDocumentation fixes.
Cedric Duval [Sun, 7 Jul 2002 19:33:48 +0000 (19:33 +0000)]
Documentation fixes.

22 years agoDcumentation fixes.
TAKAHASHI Tamotsu [Sun, 7 Jul 2002 19:29:05 +0000 (19:29 +0000)]
Dcumentation fixes.

22 years agoMake encode_from a bit more aggressive, by also catching a 'f' in
Rocco Rutte [Sun, 7 Jul 2002 19:22:19 +0000 (19:22 +0000)]
Make encode_from a bit more aggressive, by also catching a 'f' in
the beginning of a line.

22 years agoDocumentation fix (#271).
Michael Elkins [Fri, 28 Jun 2002 19:52:31 +0000 (19:52 +0000)]
Documentation fix (#271).

22 years agoThe string used to store the commmand for a backtic expansion in the
Michael Elkins [Tue, 18 Jun 2002 09:52:52 +0000 (09:52 +0000)]
The string used to store the commmand for a backtic expansion in the
muttrc was not free'd if the command failed for some reason.

22 years agoOkay, two bugs here. One's an oversight of mine in my previous patch,
David Champion [Tue, 18 Jun 2002 09:52:13 +0000 (09:52 +0000)]
Okay, two bugs here. One's an oversight of mine in my previous patch,
where I tried to use "[hH]" as Bourne code while m4 had quoting set to
([, ]) -- this probably makes mutt mis-detect Heimdal after all.

The other is not mine (i.e., it's in cvs now) and it makes mutt
overstrike $LIBS if Heimdal or MIT Kerberos is detected. This is a
problem for anyone who needs -lnsl -lsocket, in particular. I was
fixing
this by hand during late 1.3.x releases, as I didn't have time to
track
it down....

Here's a patch against the current (unpatched) 1.5 cvs copy of
m4/gssapi.m4. It probably should go into both branches. Sorry for the
repeats.

22 years agoFix #1230.
Michael Elkins [Thu, 6 Jun 2002 23:13:54 +0000 (23:13 +0000)]
Fix #1230.

22 years agoFix a couple of compile-time warnings.
Will Fiveash [Thu, 6 Jun 2002 12:22:05 +0000 (12:22 +0000)]
Fix a couple of compile-time warnings.

22 years agoFix charset-hook.
Edmund GRIMLEY EVANS [Fri, 31 May 2002 16:58:55 +0000 (16:58 +0000)]
Fix charset-hook.

22 years agoProperly handle empty addresses (<>) when they show up in mail
Thomas Roessler [Thu, 30 May 2002 12:15:02 +0000 (12:15 +0000)]
Properly handle empty addresses (<>) when they show up in mail
headers.  The approach taken is to store this address as <@>, and to
check this special case when printing an address.

22 years agoFix some warnings noted by Vincent Lefevre.
Michael Elkins [Tue, 28 May 2002 09:07:29 +0000 (09:07 +0000)]
Fix some warnings noted by Vincent Lefevre.

22 years agoFix #1175. Noticed by Alain Bench.
Thomas Roessler [Sat, 18 May 2002 05:38:00 +0000 (05:38 +0000)]
Fix #1175.  Noticed by Alain Bench.

22 years agoAttached patch for mutt 1.3.X/1.4 and 1.5.X removes gcc warning in
Vsevolod Volkov [Sat, 18 May 2002 05:34:42 +0000 (05:34 +0000)]
Attached patch for mutt 1.3.X/1.4 and 1.5.X removes gcc warning in
pop_lib.c.

22 years agoupdate.
Im Eunjea [Thu, 16 May 2002 13:05:14 +0000 (13:05 +0000)]
update.

22 years agoupdate.
Ronny Haryanto [Thu, 16 May 2002 13:04:23 +0000 (13:04 +0000)]
update.

22 years agoTriple-DES, not Tripple-DES.
Ronny Haryanto [Thu, 16 May 2002 13:02:08 +0000 (13:02 +0000)]
Triple-DES, not Tripple-DES.

22 years agoupdate
Toomas Soome [Mon, 13 May 2002 20:18:44 +0000 (20:18 +0000)]
update

22 years agoupdate
Vsevolod Volkov [Mon, 13 May 2002 20:18:17 +0000 (20:18 +0000)]
update

22 years agoupdate
Jörgen Tegnér [Mon, 13 May 2002 20:14:50 +0000 (20:14 +0000)]
update

22 years ago#1190, from Tim Alexeevsky <tim@zhuchka.gbnet.net>
Thomas Roessler [Thu, 9 May 2002 09:52:09 +0000 (09:52 +0000)]
#1190, from Tim Alexeevsky <tim@zhuchka.gbnet.net>

22 years agoInclude smime.h with EXRA_DIST.
Thomas Roessler [Thu, 2 May 2002 01:05:27 +0000 (01:05 +0000)]
Include smime.h with EXRA_DIST.

17 years agoupdate tags
convert-repo [Thu, 1 Mar 2007 19:20:08 +0000 (19:20 +0000)]
update tags

22 years agoautomatic post-release commit for mutt-1.5.1
Thomas Roessler [Wed, 1 May 2002 23:24:11 +0000 (23:24 +0000)]
automatic post-release commit for mutt-1.5.1

22 years agoShut up check_sec.sh. No security holes, but some ugly code.
Thomas Roessler [Wed, 1 May 2002 23:21:10 +0000 (23:21 +0000)]
Shut up check_sec.sh.  No security holes, but some ugly code.

22 years agoGive all the warnings at once.
Thomas Roessler [Wed, 1 May 2002 23:20:56 +0000 (23:20 +0000)]
Give all the warnings at once.

22 years ago- This is a development branch.
Thomas Roessler [Wed, 1 May 2002 23:14:49 +0000 (23:14 +0000)]
- This is a development branch.
- Add a -nodiff option to suppress generating a patch.

22 years agoFix #1171.
Thomas Roessler [Mon, 29 Apr 2002 17:12:00 +0000 (17:12 +0000)]
Fix #1171.

22 years agoupdate.
Vincent Lefevre [Mon, 29 Apr 2002 12:26:23 +0000 (12:26 +0000)]
update.

22 years agoupdate.
oota toshiya [Mon, 29 Apr 2002 12:25:24 +0000 (12:25 +0000)]
update.

22 years agoThere is a possible buffer overflow due an off-by-one error in
Byrial Jensen [Mon, 29 Apr 2002 12:09:09 +0000 (12:09 +0000)]
There is a possible buffer overflow due an off-by-one error in
imap/util.c, line 125. The error is in the maximum field width
indication in the sscanf() call. You must have room in the
receiving buffer for this number of characters /plus a
terminating NULL character/.

22 years agoAttached patch fixes the problem described below. It should be
Vsevolod Volkov [Thu, 25 Apr 2002 13:30:10 +0000 (13:30 +0000)]
Attached patch fixes the problem described below. It should be
applied to both mutt 1.3/1.4 and 1.5 branches.

> Date: Thu, 11 Apr 2002 16:24:00 -0500
> Subject: mutt 1.3.x / pop
> From: "Ryan O'Hara" <rohara@isis.visi.com>
> To: bcully@users.sourceforge.net
> User-Agent: Mutt/1.3.27i

> Hi. My apologies if this has nothing to do with you. If it does not,
> maybe you could forward it on to someone.

> In mutt 1.3.x I have noticed that if I uses POP to retrieve mail, and
> I enter an incorrect password whem prompted, it will *save* that
> password and keep trying to use it. However, in the 1.2.x versions it
> worked like this: type in wrong POP password, try to connect to POP
> server again and it will ask you (again) for the password. mutt 1.3.x
> does not, it just tries to connect with the wrongs password (which
> just failed).

> This is kinda annoying. Just thought I'd point out this regression.

> Thanks.
> R

22 years agoSomeone in news:comp.mail.mutt noted that the list of command-line
Wouter Verheijen [Thu, 25 Apr 2002 13:28:23 +0000 (13:28 +0000)]
Someone in news:comp.mail.mutt noted that the list of command-line
options in the manual is not up-to-date.

Included a small patch that includes all options that 'mutt -h' shows.

22 years agoattached are fixes for some little mistakes :
Cedric Duval [Thu, 25 Apr 2002 13:26:26 +0000 (13:26 +0000)]
attached are fixes for some little mistakes :

* history-down -> scroll _down_, not up
* functions decode-(save|copy) do not exist in the attach menu.
* gettext oversight in pattern.c
* inconsistency between "printf-like sequences" used all over the
  place and "escape sequences" for the description of $attribution.

22 years agoAlso fix this for the S/MIME case.
Thomas Roessler [Thu, 25 Apr 2002 13:24:33 +0000 (13:24 +0000)]
Also fix this for the S/MIME case.

22 years agoFiy handling of multiparts which have encrypted sub-parts, at least
Thomas Roessler [Thu, 25 Apr 2002 13:23:57 +0000 (13:23 +0000)]
Fiy handling of multiparts which have encrypted sub-parts, at least
for PGP.

22 years agoForce 7bit encoding for application/pgp-keys.
Thomas Roessler [Thu, 25 Apr 2002 12:53:37 +0000 (12:53 +0000)]
Force 7bit encoding for application/pgp-keys.

22 years agoGenerate the resent-message-id ourselves, and add it in the top of
Thomas Roessler [Sat, 20 Apr 2002 08:14:59 +0000 (08:14 +0000)]
Generate the resent-message-id ourselves, and add it in the top of
the header.

22 years agoBug #571 "mutt should not replicate ">From " headers while bounding",
Wouter Verheijen [Sat, 20 Apr 2002 08:11:13 +0000 (08:11 +0000)]
Bug #571 "mutt should not replicate ">From " headers while bounding",
has a patch attached.
Will that patch get in?

Although these lines are not generated by mutt, I would strongly
suggest
to prevent it, because by boucing a mail the MUA should ensure
that the message header is according to the specification.
A ">From " line is not, because of the spaces before a colon.

Because this has such serious consequences (totally unreadable mail)
when a MTA interpretes this line as the beginning of the body (not
unreasonable), I think Mutt should prevent sending this invalid
headerline.

Because the other patch to the bugreport is not really correct IMHO
(because the fieldnames are not limited to alphanumeric chars, RFC2822
3.6.8), I propose another one.

This patch also appends Resent-* to the header, instead of
prepending it. The Resent-Message-Id is however still appended,
because I could not find it; is it added by the MTA instead of by
Mutt?

22 years agoUpdate.
Vincent Lefevre [Wed, 17 Apr 2002 17:05:54 +0000 (17:05 +0000)]
Update.

22 years agoThe attached patch cleans up some bugs in switching IMAP mailboxes:
Brendan Cully [Sun, 7 Apr 2002 19:21:45 +0000 (19:21 +0000)]
The attached patch cleans up some bugs in switching IMAP mailboxes:
* free current flags on mailbox close
* reset reopen state
* don't parse the same untagged SELECT response for multiple options
* call mx_update_context after reading the whole mailbox, not after
  each message
* reset new mail flag if mail arrives in the middle of opening the
  mailbox. This should close 1139

939 is most likely unaffected. I discovered these problems while
investigating 939.

22 years agoupdate.
TAKAHASHI Tamotsu [Fri, 5 Apr 2002 10:42:54 +0000 (10:42 +0000)]
update.

22 years agoUpdate.
Im Eunjea [Thu, 4 Apr 2002 20:49:46 +0000 (20:49 +0000)]
Update.

22 years agoUpdate.
TAKAHASHI Tamotsu [Thu, 4 Apr 2002 06:50:52 +0000 (06:50 +0000)]
Update.

22 years agoFix a typo noted by Tamotsu Takahashi.
Thomas Roessler [Thu, 4 Apr 2002 06:50:12 +0000 (06:50 +0000)]
Fix a typo noted by Tamotsu Takahashi.

22 years agoFix printing of format=flowed text parts.
Thomas Roessler [Wed, 3 Apr 2002 15:22:27 +0000 (15:22 +0000)]
Fix printing of format=flowed text parts.

22 years agoFix a file descriptor leak in the display filter code. Noted by
Thomas Roessler [Wed, 3 Apr 2002 10:51:24 +0000 (10:51 +0000)]
Fix a file descriptor leak in the display filter code.  Noted by
Chr. v. Stuckrad.

fixes: #1144

22 years agoUpdate; From Vincent Lefevre.
Thomas Roessler [Sat, 30 Mar 2002 08:25:13 +0000 (08:25 +0000)]
Update; From Vincent Lefevre.

22 years agoThe attached patch allows the user to override the user-agent field
Thomas Roessler [Sat, 30 Mar 2002 08:24:16 +0000 (08:24 +0000)]
The attached patch allows the user to override the user-agent field
with my_hdr.  It also removes the stripping of the x-mailer field
when recalling a postponed message.

22 years agopatch-1.3.28-me.emptycheck.1
Thomas Roessler [Thu, 28 Mar 2002 13:25:22 +0000 (13:25 +0000)]
patch-1.3.28-me.emptycheck.1

22 years agoThere was some output missing.
Thomas Roessler [Wed, 27 Mar 2002 08:50:42 +0000 (08:50 +0000)]
There was some output missing.

22 years agoupdate.
Thomas Roessler [Wed, 27 Mar 2002 08:44:17 +0000 (08:44 +0000)]
update.

22 years agoMore fixes. Note to self: The code which controls character set
Thomas Roessler [Wed, 27 Mar 2002 01:23:11 +0000 (01:23 +0000)]
More fixes.  Note to self:  The code which controls character set
selection for attachments is far too complicated.

22 years agoDon't include temporary file names in the Content-Disposition header.
Thomas Roessler [Wed, 27 Mar 2002 00:58:05 +0000 (00:58 +0000)]
Don't include temporary file names in the Content-Disposition header.

22 years agoUse text/plain; format=... when we are asked to detect inline PGP
Thomas Roessler [Wed, 27 Mar 2002 00:49:10 +0000 (00:49 +0000)]
Use text/plain; format=... when we are asked to detect inline PGP
material in in text/plain body parts.

22 years agoFix encoder mode for text/plain; action=pgp-*.
Thomas Roessler [Wed, 27 Mar 2002 00:39:26 +0000 (00:39 +0000)]
Fix encoder mode for text/plain; action=pgp-*.

22 years agoFix "noconv" handling for the message body when we generate inline
Thomas Roessler [Wed, 27 Mar 2002 00:11:55 +0000 (00:11 +0000)]
Fix "noconv" handling for the message body when we generate inline
PGP.

22 years agoSome hackisch charset handling for text/plain; x-action=pgp-*. I
Thomas Roessler [Wed, 27 Mar 2002 00:07:53 +0000 (00:07 +0000)]
Some hackisch charset handling for text/plain; x-action=pgp-*.  I
don't like this stuff, but it's better than nothing.

22 years agoChange x-action values to "pgp-encrypted", "pgp-signed".
Thomas Roessler [Tue, 26 Mar 2002 22:25:48 +0000 (22:25 +0000)]
Change x-action values to "pgp-encrypted", "pgp-signed".

22 years agoMore inline PGP changes.
Thomas Roessler [Tue, 26 Mar 2002 22:23:57 +0000 (22:23 +0000)]
More inline PGP changes.

22 years agoAlso permit for "action" and "x-action" on the receiving end, just
Thomas Roessler [Tue, 26 Mar 2002 21:08:17 +0000 (21:08 +0000)]
Also permit for "action" and "x-action" on the receiving end, just
in case we can settle on a joint standard with other MUA developers.

22 years agoOK, I'm giving up: pgp_create_traditional now creates text/plain;
Thomas Roessler [Tue, 26 Mar 2002 20:34:23 +0000 (20:34 +0000)]
OK, I'm giving up: pgp_create_traditional now creates text/plain;
x-mutt-action={pgp-encrypt,pgp-sign}.

22 years agoFix application/pgp signatures.
Thomas Roessler [Tue, 26 Mar 2002 19:57:20 +0000 (19:57 +0000)]
Fix application/pgp signatures.

22 years agoFix iconv warnings; from Edmund Grimley Evans.
Thomas Roessler [Tue, 26 Mar 2002 09:50:06 +0000 (09:50 +0000)]
Fix iconv warnings; from Edmund Grimley Evans.

22 years agoPlease use ascii_strcasecmp() if you want to compare ASCII parameter
Thomas Roessler [Tue, 26 Mar 2002 09:23:54 +0000 (09:23 +0000)]
Please use ascii_strcasecmp() if you want to compare ASCII parameter
strings.  mutt_strcasecmp() depends on the locale, and detects "i"
and "I" as _different_ in Turkish locales.

22 years agoFix S/MIME signature type. Noted by Dan Ohnesorg <Dan@ohnesorg.cz>.
Thomas Roessler [Mon, 25 Mar 2002 11:34:40 +0000 (11:34 +0000)]
Fix S/MIME signature type.  Noted by Dan Ohnesorg <Dan@ohnesorg.cz>.

22 years agoclose 1103; from Brendan Cully
Thomas Roessler [Mon, 25 Mar 2002 11:30:20 +0000 (11:30 +0000)]
close 1103; from Brendan Cully

22 years agoclose 1122; from Brendan Cully
Thomas Roessler [Mon, 25 Mar 2002 11:30:00 +0000 (11:30 +0000)]
close 1122; from Brendan Cully

22 years agoFix #872, from Brendan Cully.
Thomas Roessler [Mon, 25 Mar 2002 11:29:20 +0000 (11:29 +0000)]
Fix #872, from Brendan Cully.

22 years agoInclude a test script by Mike Schiraldi. It's perl > the one I have
Thomas Roessler [Mon, 25 Mar 2002 10:13:28 +0000 (10:13 +0000)]
Include a test script by Mike Schiraldi.  It's perl > the one I have
installed, so I'm just putting it into contrib for now.

22 years agoRename the new M_NEW by M_NEWFOLDER. There was another constant of
Thomas Roessler [Wed, 20 Mar 2002 09:53:19 +0000 (09:53 +0000)]
Rename the new M_NEW by M_NEWFOLDER.  There was another constant of
the same name.  Problem noted by Will Yardley's compiler.

22 years agoupdate
Thomas Roessler [Tue, 19 Mar 2002 09:52:19 +0000 (09:52 +0000)]
update

22 years agoShould fix #1115. BACKPORT!
Thomas Roessler [Mon, 18 Mar 2002 18:54:56 +0000 (18:54 +0000)]
Should fix #1115.  BACKPORT!

22 years agoupdate from oota toshiya.
Thomas Roessler [Fri, 15 Mar 2002 09:11:05 +0000 (09:11 +0000)]
update from oota toshiya.

22 years agoUndoing the previous patch. It was junk, and may ruin files.
Thomas Roessler [Wed, 13 Mar 2002 23:43:41 +0000 (23:43 +0000)]
Undoing the previous patch.  It was junk, and may ruin files.

22 years agoDon't fopen mail folders in append mode where we should safe_fopen()
Thomas Roessler [Wed, 13 Mar 2002 23:34:58 +0000 (23:34 +0000)]
Don't fopen mail folders in append mode where we should safe_fopen()
them in write mode.  Debian bug #138200, noted by Colin Philipps
<cph@cph.demon.co.uk>.

NEEDS BACKPORTING.

22 years agoAssorted patches from Mike Schiraldi.
Thomas Roessler [Wed, 13 Mar 2002 12:31:01 +0000 (12:31 +0000)]
Assorted patches from Mike Schiraldi.

22 years agoIntroduce smime_default_key. From Oliver Ehli.
Thomas Roessler [Sat, 2 Mar 2002 12:11:33 +0000 (12:11 +0000)]
Introduce smime_default_key.  From Oliver Ehli.

22 years agosmime.c:
Thomas Roessler [Sat, 2 Mar 2002 09:17:40 +0000 (09:17 +0000)]
smime.c:
 - the getkeys() function was broken and deleted the last char
   of the certfilename
 - it now lets me use more than one key for the same mailbox
   ie select these.
 - some display output was garbled when the email didn't match.
   i posted some fix to mutt-users, but i don't like that sleep()
   so i dropped the first error message, which basically repeated
   the from/sender field only. so now there's just the message: they
   don't match.

smime_keys:
 - i modified the add_chain to continue even if no roo-cert
   is present (david collantes received som chain that got
   exported from outlook. obiously they don't (always ?)
   include the root cert) it will now abort if neither root
   nor intermediate certs are present.
 - add_cert created index entries with '-' as issuer cert, when
   it should have been '?'. thus verify would fail. (obviously
   nobody ever used that command (add_cert, that is) :)

the feature above obsoletes the hash_cert and fingerprint_cert commands,
adds import_cert command and ask_cert_label bool. i modified the output
of smime_keys (a little) so it doesn't look too garbled when supplying
the label (it is actually interactive :) furthermore, i do a verify
after the cert was added and modified the verify routine to make the
cerificate trusted in case of success. (we discussed this in another
message) that is ok so far, but perhaps this requires some better root
certificate handling, ie the trust should be somehow connected to the
root certificate, that maybe added (if the user trusts it and its not
present already) to the ca-file. i'll think about that some more ... but
then, there already is the add_root command. hmmm... (btw, you'll now
never get asked to trust a certificate)

i have not yet deleted the email handling from the import key stuff (in
smime.c/crypt.c), for i'm thinking about smime_keys using it as an
additional arg. otoh i don't think users would press ^k if verification
failed...hmmm... but still, smime_keys does extract the email from the
certificate either way and does verify it by itself, so the only thing
that would happen is to have some invalid certificates, that mutt'll
refuse to use anyways, left in the database....

(From Oliver Ehli.)

22 years agoTurn on incremental threading again.
Thomas Roessler [Thu, 28 Feb 2002 23:28:51 +0000 (23:28 +0000)]
Turn on incremental threading again.