Volker> I think there is a bug in the regular expression in
mc-gpg.el
Volker> which is used in mailcrypt-3.5.5 together with gnupg-1.0.5.
Ooops, that shoud be:
"^\\(sec\\|pub\\):[^:]*:[^:]*:[^:]*:\\([^:]*\\):[^:]*:[^:]*:[^:]*:[^:]*:\\([^:]*\\):[^:]*:[^:]*:$"
Actually I went for a conservative route and removed that last field and '$'
altogether. We don't really need those fields for mailcrypt (the new ones are
"Signature class" and "Key capabilities") yet, so it is safer to
ignore them.
The benefit is that is new fields are added in the future, the expression
should continue to work.
I've checked in this change to the mailcrypt CVS repository
(
http://mailcrypt.sourceforge.net has a pointer) and will be releasing
mailcrypt-3.5.6 just as soon as I can figure out Len's release procedure (in
particular I don't know how to upload anything to sunsite.. any pointers would
be appreciated). The Debian folks already made a mailcrypt package revision
from the CVS repository.. you're more than welcome to do the same.
thanks,
-Brian
Index: mc-gpg.el
===================================================================
RCS file: /cvsroot/mailcrypt/mailcrypt/mc-gpg.el,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- mc-gpg.el 1999/10/07 05:23:46 1.14
+++ mc-gpg.el 2001/05/06 22:55:26 1.15
@@ -3,7 +3,7 @@
;; Patrick LoPresti <patl(a)lcs.mit.edu>
;; 1998 Brian Warner <warner(a)lothar.com>
-;; $Id: mc-gpg.el,v 1.14 1999/10/07 05:23:46 budney Exp $
+;; $Id: mc-gpg.el,v 1.15 2001/05/06 22:55:26 warner Exp $
;;{{{ Licensing
;; This file is intended to be used with GNU Emacs.
@@ -319,7 +319,7 @@
(if (string= str "***** CONVENTIONAL *****") nil
(let ((result (cdr-safe (assoc str mc-gpg-key-cache)))
(key-regexp
-
"^\\(sec\\|pub\\):[^:]*:[^:]*:[^:]*:\\([^:]*\\):[^:]*:[^:]*:[^:]*:[^:]*:\\([^:]*\\):$"
+
"^\\(sec\\|pub\\):[^:]*:[^:]*:[^:]*:\\([^:]*\\):[^:]*:[^:]*:[^:]*:[^:]*:\\([^:]*\\):"
)
(obuf (current-buffer))
buffer)