Function: epg-start-receive-keys

epg-start-receive-keys is a byte-compiled function defined in epg.el.gz.

Signature

(epg-start-receive-keys CONTEXT KEY-ID-LIST)

Documentation

Initiate a receive key operation.

KEY-ID-LIST is a list of key IDs.

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-receive-keys instead.

Source Code

;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg-start-receive-keys (context key-id-list)
  "Initiate a receive key operation.
KEY-ID-LIST is a list of key IDs.

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-receive-keys' instead."
  (setf (epg-context-operation context) 'receive-keys)
  (setf (epg-context-result context) nil)
  (epg--start context (cons "--recv-keys" key-id-list)))