]> git.eshelyaron.com Git - emacs.git/commit
Change the default socket location for pinentry
authorDaiki Ueno <ueno@gnu.org>
Sun, 21 Feb 2016 21:06:50 +0000 (06:06 +0900)
committerDaiki Ueno <ueno@gnu.org>
Sun, 21 Feb 2016 21:17:29 +0000 (06:17 +0900)
commite34fbdee8aca84b98393b06b2450837d175999ca
treee185601c1584540ca75f7f47aec903acee1e9b49
parent5f8965839d573032fc02be1298f37899cf61862d
Change the default socket location for pinentry

* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
(pinentry--socket-dir): Change the default from /tmp/emacsXXX to
~/.emacs.d/pinentry.
(pinentry-start): Change the file modes of the socket file to 0700.
This is just for extra safety since the parent directory is already
protected with `server-ensure-safe-dir'.
lisp/net/pinentry.el