Skip to content

Commit

Permalink
config pinentry
Browse files Browse the repository at this point in the history
  • Loading branch information
ravachol-yang committed Feb 25, 2024
1 parent 2f21baa commit 6dacba0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
(require 'init-paredit)

;; version control
(require 'init-gpg)
(require 'init-magit)

;; language support
Expand Down
12 changes: 12 additions & 0 deletions lisp/init-gpg.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
;;; init-gpg.el --- GnuPG support -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(use-package pinentry
:ensure t
:config
(setq epa-pinentry-mode 'loopback)
(pinentry-start))

(provide 'init-gpg)
;;; init-gpg.el ends here

0 comments on commit 6dacba0

Please sign in to comment.