Commits

Anonymous committed 454469b

Sync with other package tree.

2001-05-06 Brian Warner <warner@lothar.com>

* mc-gpg.el (mc-gpg-lookup-key): Change key-regexp to tolerate
extra fields at the end of lines emitted by --with-colons mode.
Needed to handle new output format in gnupg-1.0.5, otherwise you
get "No GPG secret key for xxx" errors.

Comments (0)

Files changed (2)

+2001-05-06  Brian Warner  <warner@lothar.com>
+
+	* mc-gpg.el (mc-gpg-lookup-key): Change key-regexp to tolerate
+	extra fields at the end of lines emitted by --with-colons mode.
+	Needed to handle new output format in gnupg-1.0.5, otherwise you
+	get "No GPG secret key for xxx" errors.
+
 2000-10-28  Steve Youngs  <youngs@xemacs.org>
 
 	* mc-toplev.el: Add eval-when-compile to pick up macros.
     (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)