Function: majutsu-sign--read-gpg-key
majutsu-sign--read-gpg-key is a natively compiled function defined in
majutsu-sign.el.
Signature
(majutsu-sign--read-gpg-key PROMPT INITIAL-INPUT HISTORY PROTOCOL DEFAULT)
Documentation
Read a secret signing key using EPG.
PROMPT, INITIAL-INPUT, and HISTORY follow a transient reader. PROTOCOL is the EPG protocol and DEFAULT is jj's configured key.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-sign.el
(defun majutsu-sign--read-gpg-key
(prompt initial-input history protocol default)
"Read a secret signing key using EPG.
PROMPT, INITIAL-INPUT, and HISTORY follow a transient reader.
PROTOCOL is the EPG protocol and DEFAULT is jj's configured key."
(unless (fboundp 'magit-read-gpg-secret-key)
(require 'magit))
(let ((epa-protocol protocol))
(magit-read-gpg-secret-key
prompt initial-input history
#'majutsu-sign--gpg-signing-key-p default)))