+2006-09-02 Daiki Ueno <ueno@unixuser.org>
+
+ * pgg-epg.el (pgg-epg-lookup-key): New function.
+
2006-07-29 Daiki Ueno <ueno@unixuser.org>
* EasyPG: Version 0.0.4 released.
"From unknown user")))
"From unknown user"))
+(defun pgg-epg-lookup-key (string &optional type)
+ "Search keys associated with STRING."
+ (mapcar (lambda (key)
+ (epg-sub-key-id (car (epg-key-sub-key-list key))))
+ (epg-list-keys (epg-make-context) string (not (null type)))))
+
(provide 'pgg-epg)
;;; pgg-epg.el ends here