gentoo-ebuilds/app-emacs/pinentry/files/50pinentry-gentoo.el
Ulrich Müller ecafd0276e
app-emacs/pinentry: new package, add 0.1_p20170913
This has been taken from lisp/net/pinentry.el in the GNU Emacs
repository. The file was dropped in Emacs 26 because of its sparse
documentation (see upstream bug at https://debbugs.gnu.org/27445
and etc/NEWS.26 in Emacs).

The package is still useful, e.g. with gpgsm, where loopback
pinentry-mode isn't supported by EasyPG.

The corresponding client is installed by app-crypt/pinentry[emacs]
as pinentry-emacs.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2023-11-16 20:30:22 +01:00

11 lines
342 B
EmacsLisp

(add-to-list 'load-path "@SITELISP@")
(autoload 'pinentry-start "pinentry"
"Start a Pinentry service.
Once the environment is properly set, subsequent invocations of
the gpg command will interact with Emacs for passphrase input.
If the optional QUIET argument is non-nil, messages at startup
will not be shown.
\(fn &optional QUIET)" t)