setting pinentry--socket-dir is needed because /tmp/emacs1000 is a
symlink on systemd systems and doesn’t pass server-ensure-safe-dir.
type = SimplePOP3SSLRetriever
server = fencepost.gnu.org
username = bandali
type = SimplePOP3SSLRetriever
server = fencepost.gnu.org
username = bandali
-password_command = ("gpg2", "--no-tty", "-q", "-d", "/home/amin/.passwd/gnu.gpg")
+password_command = ("gpg", "--no-tty", "-q", "-d", "/home/amin/.passwd/gnu.gpg")
port = 995
use_apop = True
port = 995
use_apop = True
:config (pixel-scroll-mode 1))
;; ask for GPG passphrase in minibuffer
:config (pixel-scroll-mode 1))
;; ask for GPG passphrase in minibuffer
-(setq epg-pinentry-mode 'loopback)
+(use-feature epg-config
+ :defer 0.4
+ :custom
+ ((epg-gpg-program (executable-find "gpg"))
+ (epg-pinentry-mode 'loopback)))
+(use-feature epg
+ :after epg-config)
+(use-package pinentry
+ :demand
+ :after (epg server)
+ :config
+ (setq pinentry--socket-dir server-socket-dir)
+ (pinentry-start))
;; useful libraries
(require 'cl-lib)
;; useful libraries
(require 'cl-lib)
("password-store" . "5a52772156b44ef9785e91ab78ab2e1c3b1e510e")
("password-store-otp.el" . "1819cd88463cd98a5be9a63273b09202dc2bba63")
("pdf-tools" . "db7de3901ae0e55f6ab8cf9baec257f706c3d16e")
("password-store" . "5a52772156b44ef9785e91ab78ab2e1c3b1e510e")
("password-store-otp.el" . "1819cd88463cd98a5be9a63273b09202dc2bba63")
("pdf-tools" . "db7de3901ae0e55f6ab8cf9baec257f706c3d16e")
+ ("pinentry" . "cd942f755c38a7ac270ce858bb887ebdd59edd26")
("pkg-info.el" . "76ba7415480687d05a4353b27fea2ae02b8d9d61")
("popup-el" . "80829dd46381754639fb764da11c67235fe63282")
("projectile" . "71a01f409a319d57eb3832e93e8a412fbc9d7a65")
("pkg-info.el" . "76ba7415480687d05a4353b27fea2ae02b8d9d61")
("popup-el" . "80829dd46381754639fb764da11c67235fe63282")
("projectile" . "71a01f409a319d57eb3832e93e8a412fbc9d7a65")
default-cache-ttl-ssh 10800
max-cache-ttl-ssh 10800
default-cache-ttl-ssh 10800
max-cache-ttl-ssh 10800
allow-loopback-pinentry
pinentry-program /usr/bin/pinentry-gnome3
allow-loopback-pinentry
pinentry-program /usr/bin/pinentry-gnome3