(epa-mode)
(let ((inhibit-read-only t)
buffer-read-only
- configuration pointer entry point)
+ configuration pointer entry point key-id)
(erase-buffer)
(insert "EasyPG Assistant\n\n")
(setq configuration (epg-configuration))
(insert "\nSecret keys:\n\n")
(setq pointer (epg-list-keys nil t))
(while pointer
- (setq point (point))
- (setq entry (cdr (assq 'sec (car pointer))))
- (setq key-id (cdr (assq 'key-id entry)))
+ (setq point (point)
+ entry (cdr (assq 'sec (car pointer)))
+ key-id (cdr (assq 'key-id entry)))
(insert (format " %s %s\n"
key-id
(cdr (assq 'user-id (assq 'uid (car pointer))))))
(insert "\nPublic keys:\n\n")
(setq pointer (epg-list-keys nil))
(while pointer
- (setq point (point))
- (setq entry (cdr (assq 'pub (car pointer))))
- (setq key-id (cdr (assq 'key-id entry)))
+ (setq point (point)
+ entry (cdr (assq 'pub (car pointer)))
+ key-id (cdr (assq 'key-id entry)))
(insert (format " %s %s %s\n"
(or (cdr (assq 'validity entry)) ? )
key-id