summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-10-22 08:12:12 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-10-22 08:15:05 +0200
commitd5458026c4d8559d883cac11e632ac30b15f3d8f (patch)
tree4e6570b44c9ea47d3c43937cca2da35c2bfc0cd3 /dotfiles
parent063d5156b883e48130e838f65be3eb423a5727aa (diff)
downloaddotdrop-d5458026c4d8559d883cac11e632ac30b15f3d8f.tar.gz
dotdrop-d5458026c4d8559d883cac11e632ac30b15f3d8f.tar.zst
dotdrop-d5458026c4d8559d883cac11e632ac30b15f3d8f.zip
Add gnupg configuration
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/gnupg/config_files/gnupg/gpg-agent.conf3
-rw-r--r--dotfiles/gnupg/config_files/gnupg/gpg.conf7
-rw-r--r--dotfiles/gnupg/systemd/dirmngr_override.conf3
-rw-r--r--dotfiles/gnupg/systemd/gpg_agent_browser_override.conf3
-rw-r--r--dotfiles/gnupg/systemd/gpg_agent_extra_override.conf3
-rw-r--r--dotfiles/gnupg/systemd/gpg_agent_override.conf3
-rw-r--r--dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf3
-rw-r--r--dotfiles/shell_bash/bashrc1
8 files changed, 26 insertions, 0 deletions
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 @@
1pinentry-program /usr/bin/pinentry-curses
2allow-loopback-pinentry
3enable-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 @@
1# Main signing key
2default-key DB1CFE90
3
4default-recipient-self
5encrypt-to 0326A611
6auto-key-retrieve
7no-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 @@
1[Socket]
2ListenStream=
3ListenStream=%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 @@
1[Socket]
2ListenStream=
3ListenStream=%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 @@
1[Socket]
2ListenStream=
3ListenStream=%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 @@
1[Socket]
2ListenStream=
3ListenStream=%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 @@
1[Socket]
2ListenStream=
3ListenStream=%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
9# If not running interactively, don't do anything 9# If not running interactively, don't do anything
10[[ $- != *i* ]] && return 10[[ $- != *i* ]] && return
11 11
12export GPG_TTY=$(tty)
12export HISTFILE="$XDG_STATE_HOME/bash/history" 13export HISTFILE="$XDG_STATE_HOME/bash/history"
13 14
14alias vi=vim 15alias vi=vim