diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-22 08:12:12 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-22 08:15:05 +0200 |
commit | d5458026c4d8559d883cac11e632ac30b15f3d8f (patch) | |
tree | 4e6570b44c9ea47d3c43937cca2da35c2bfc0cd3 /dotfiles | |
parent | 063d5156b883e48130e838f65be3eb423a5727aa (diff) | |
download | dotdrop-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.conf | 3 | ||||
-rw-r--r-- | dotfiles/gnupg/config_files/gnupg/gpg.conf | 7 | ||||
-rw-r--r-- | dotfiles/gnupg/systemd/dirmngr_override.conf | 3 | ||||
-rw-r--r-- | dotfiles/gnupg/systemd/gpg_agent_browser_override.conf | 3 | ||||
-rw-r--r-- | dotfiles/gnupg/systemd/gpg_agent_extra_override.conf | 3 | ||||
-rw-r--r-- | dotfiles/gnupg/systemd/gpg_agent_override.conf | 3 | ||||
-rw-r--r-- | dotfiles/gnupg/systemd/gpg_agent_ssh_override.conf | 3 | ||||
-rw-r--r-- | dotfiles/shell_bash/bashrc | 1 |
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 @@ | |||
1 | pinentry-program /usr/bin/pinentry-curses | ||
2 | allow-loopback-pinentry | ||
3 | 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 @@ | |||
1 | # Main signing key | ||
2 | default-key DB1CFE90 | ||
3 | |||
4 | default-recipient-self | ||
5 | encrypt-to 0326A611 | ||
6 | auto-key-retrieve | ||
7 | 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 @@ | |||
1 | [Socket] | ||
2 | ListenStream= | ||
3 | 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 @@ | |||
1 | [Socket] | ||
2 | ListenStream= | ||
3 | 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 @@ | |||
1 | [Socket] | ||
2 | ListenStream= | ||
3 | 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 @@ | |||
1 | [Socket] | ||
2 | ListenStream= | ||
3 | 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 @@ | |||
1 | [Socket] | ||
2 | ListenStream= | ||
3 | 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 | |||
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 | ||
12 | export GPG_TTY=$(tty) | ||
12 | export HISTFILE="$XDG_STATE_HOME/bash/history" | 13 | export HISTFILE="$XDG_STATE_HOME/bash/history" |
13 | 14 | ||
14 | alias vi=vim | 15 | alias vi=vim |