Commit f91e3313 authored by Chong Yidong's avatar Chong Yidong
Browse files

* pgg-gpg.el (pgg-gpg-lookup-key-owner): Handle colon listings format

used by GnuPG 2.0.11.
parent cf299835
2009-06-18 Ulrich Mueller <ulm@gentoo.org>
* pgg-gpg.el (pgg-gpg-lookup-key-owner): Handle colon listings
format used by GnuPG 2.0.a11.
2009-06-18 Glenn Morris <rgm@gnu.org>
 
* files.el (dir-locals-set-directory-class): Make mtime argument
......
......@@ -189,9 +189,9 @@ Optional ALL non-nil means search all keys, including secret keys."
(let ((args (list "--with-colons" "--no-greeting" "--batch"
(if all "--list-secret-keys" "--list-keys")
string))
(key-regexp (concat "^\\(sec\\|pub\\)"
(key-regexp (concat "^\\(sec\\|pub\\|uid\\)"
":[^:]*:[^:]*:[^:]*:\\([^:]*\\):[^:]*"
":[^:]*:[^:]*:[^:]*:\\([^:]*\\):")))
":[^:]*:[^:]*:[^:]*:\\([^:]+\\):")))
(with-temp-buffer
(apply #'call-process pgg-gpg-program nil t nil args)
(goto-char (point-min))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment