dotfiles/roles/gnupg/defaults/main.yml
transcaffeine 6f8ee3627d
gnupg: ensure ssh uses gnupg-agent
Loads the gnupg_agent-skript in the ~/.bashrc, which exports
the needed variables (SSH_AUTH_SOCK, SSH_AGENT_PID, GPG_AGENT_INFO).

Also downloads the pubkey of the user and sets ownertrust on the key.

Fixes #3
2020-11-05 19:55:47 +01:00

11 lines
199 B
YAML

# How long the PIN gets cached (max)
gpg_cache_ttl: 300
gpg_cache_ttl_ssh: 300
# Array of all keygrips to pass to sshcontrol
gpg_keygrips: []
gpg_folder: "~/.gnupg"
gpg_user: "{{ ansible_user }}"