From d5458026c4d8559d883cac11e632ac30b15f3d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 22 Oct 2018 08:12:12 +0200 Subject: Add gnupg configuration --- dotfiles/gnupg/config_files/gnupg/gpg-agent.conf | 3 +++ dotfiles/gnupg/config_files/gnupg/gpg.conf | 7 +++++++ dotfiles/gnupg/systemd/dirmngr_override.conf | 3 +++ dotfiles/gnupg/systemd/gpg_agent_browser_override.conf | 3 +++ dotfiles/gnupg/systemd/gpg_agent_extra_override.conf | 3 +++ dotfiles/gnupg/systemd/gpg_agent_override.conf | 3 +++ dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf | 3 +++ dotfiles/shell_bash/bashrc | 1 + 8 files changed, 26 insertions(+) create mode 100644 dotfiles/gnupg/config_files/gnupg/gpg-agent.conf create mode 100644 dotfiles/gnupg/config_files/gnupg/gpg.conf create mode 100644 dotfiles/gnupg/systemd/dirmngr_override.conf create mode 100644 dotfiles/gnupg/systemd/gpg_agent_browser_override.conf create mode 100644 dotfiles/gnupg/systemd/gpg_agent_extra_override.conf create mode 100644 dotfiles/gnupg/systemd/gpg_agent_override.conf create mode 100644 dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf (limited to 'dotfiles') diff --git a/dotfiles/gnupg/config_files/gnupg/gpg-agent.conf b/dotfiles/gnupg/config_files/gnupg/gpg-agent.conf new file mode 100644 index 0000000..da0291a --- /dev/null +++ b/dotfiles/gnupg/config_files/gnupg/gpg-agent.conf @@ -0,0 +1,3 @@ +pinentry-program /usr/bin/pinentry-curses +allow-loopback-pinentry +enable-ssh-support diff --git a/dotfiles/gnupg/config_files/gnupg/gpg.conf b/dotfiles/gnupg/config_files/gnupg/gpg.conf new file mode 100644 index 0000000..17bc522 --- /dev/null +++ b/dotfiles/gnupg/config_files/gnupg/gpg.conf @@ -0,0 +1,7 @@ +# Main signing key +default-key DB1CFE90 + +default-recipient-self +encrypt-to 0326A611 +auto-key-retrieve +no-greeting diff --git a/dotfiles/gnupg/systemd/dirmngr_override.conf b/dotfiles/gnupg/systemd/dirmngr_override.conf new file mode 100644 index 0000000..8b149b7 --- /dev/null +++ b/dotfiles/gnupg/systemd/dirmngr_override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/<<<>>>/S.dirmngr diff --git a/dotfiles/gnupg/systemd/gpg_agent_browser_override.conf b/dotfiles/gnupg/systemd/gpg_agent_browser_override.conf new file mode 100644 index 0000000..af354a8 --- /dev/null +++ b/dotfiles/gnupg/systemd/gpg_agent_browser_override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/<<<>>>/S.gpg-agent.browser diff --git a/dotfiles/gnupg/systemd/gpg_agent_extra_override.conf b/dotfiles/gnupg/systemd/gpg_agent_extra_override.conf new file mode 100644 index 0000000..ee36d77 --- /dev/null +++ b/dotfiles/gnupg/systemd/gpg_agent_extra_override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/<<<>>>/S.gpg-agent.extra diff --git a/dotfiles/gnupg/systemd/gpg_agent_override.conf b/dotfiles/gnupg/systemd/gpg_agent_override.conf new file mode 100644 index 0000000..ee23ad2 --- /dev/null +++ b/dotfiles/gnupg/systemd/gpg_agent_override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/<<<>>>/S.gpg-agent diff --git a/dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf b/dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf new file mode 100644 index 0000000..8cadc91 --- /dev/null +++ b/dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/<<<>>>/S.gpg-agent.ssh diff --git a/dotfiles/shell_bash/bashrc b/dotfiles/shell_bash/bashrc index 8f43283..9b74341 100644 --- a/dotfiles/shell_bash/bashrc +++ b/dotfiles/shell_bash/bashrc @@ -9,6 +9,7 @@ fi # If not running interactively, don't do anything [[ $- != *i* ]] && return +export GPG_TTY=$(tty) export HISTFILE="$XDG_STATE_HOME/bash/history" alias vi=vim -- cgit v1.2.3