From e0312206b1ed78cbc6b73a3101d17f0b504096f0 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Fri, 28 May 2021 10:41:38 +0200 Subject: [PATCH] added gpg pinentry config --- TODO.md | 3 ++- install.yml | 3 +++ roles/gpg/files/gpg-agent.conf | 1 + roles/gpg/tasks/main.yml | 5 +++++ 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 roles/gpg/files/gpg-agent.conf create mode 100644 roles/gpg/tasks/main.yml diff --git a/TODO.md b/TODO.md index 016692e..5b62ebd 100644 --- a/TODO.md +++ b/TODO.md @@ -6,7 +6,8 @@ - [ ] gopass - [ ] create issue about autoclip not working with wayland - [x] wofi menu with sway keybind - - [ ] gopass fills user + - [ ] gopass fills user, autotype multiple fields + - [ ] otp test - [ ] neomutt ### TOFIX diff --git a/install.yml b/install.yml index 63ba8d0..9d7aa91 100644 --- a/install.yml +++ b/install.yml @@ -25,6 +25,9 @@ - role: gtk tags: gtk when: ansible_user_id != 'root' + - role: gpg + tags: gpg + when: ansible_user_id != 'root' - role: sway tags: sway when: ansible_user_id != 'root' diff --git a/roles/gpg/files/gpg-agent.conf b/roles/gpg/files/gpg-agent.conf new file mode 100644 index 0000000..b40cc5e --- /dev/null +++ b/roles/gpg/files/gpg-agent.conf @@ -0,0 +1 @@ +pinentry-program /bin/pinentry-gtk-2 diff --git a/roles/gpg/tasks/main.yml b/roles/gpg/tasks/main.yml new file mode 100644 index 0000000..1500e80 --- /dev/null +++ b/roles/gpg/tasks/main.yml @@ -0,0 +1,5 @@ +--- +- name: configure gtk pinentry + copy: + src: gpg-agent.conf + dest: ~/.gnupg