mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
16 lines
396 B
EmacsLisp
16 lines
396 B
EmacsLisp
;;; -*- lexical-binding: t -*-
|
|
(use-package pinentry
|
|
:straight t
|
|
:if my/is-termux
|
|
:config
|
|
(setenv "GPG_AGENT_INFO" nil) ;; use emacs pinentry
|
|
(setq auth-source-debug t)
|
|
|
|
(setq epg-gpg-program "gpg") ;; not necessary
|
|
(require 'epa-file)
|
|
(epa-file-enable)
|
|
(setq epa-pinentry-mode 'loopback)
|
|
(setq epg-pinentry-mode 'loopback)
|
|
(pinentry-start))
|
|
|
|
(provide 'sqrt-emacs-pinentry)
|