Function: epg-start-edit-key
epg-start-edit-key is a byte-compiled function defined in epg.el.gz.
Signature
(epg-start-edit-key CONTEXT KEY EDIT-CALLBACK HANDBACK)
Documentation
Initiate an edit operation on KEY.
See epg-edit-key for a description of the arguments.
If you use this function, you will need to wait for the completion of
epg-gpg-program by using epg-wait-for-completion and call
epg-reset to clear a temporary output file.
If you are unsure, use synchronous version of this function
epg-edit-key instead.
Source Code
;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg-start-edit-key (context key edit-callback handback)
"Initiate an edit operation on KEY.
See `epg-edit-key' for a description of the arguments.
If you use this function, you will need to wait for the completion of
`epg-gpg-program' by using `epg-wait-for-completion' and call
`epg-reset' to clear a temporary output file.
If you are unsure, use synchronous version of this function
`epg-edit-key' instead."
(setf (epg-context-operation context) 'edit-key)
(setf (epg-context-result context) nil)
(setf (epg-context-edit-callback context) (cons edit-callback handback))
(epg--start context (list "--edit-key"
(epg-sub-key-id
(car (epg-key-sub-key-list key))))))