You are not logged in.

#1 2015-09-29 09:27:05

analbeard
Member
From: London
Registered: 2014-11-07
Posts: 49

SOLVED - i3 and gpg-agent

I'm looking to use duplicity with encrypted backups and I'm struggling with trying to get gpg keys loaded and cached so duplicity can run in the background.

I have gnome-keyring unlocking via pam, however since v2.1 gnupg cannot use the env variables, so that approach isn't going to work.

Can anyone suggest how i would go about achieving this?


Edit - i've solved this by using Keychain (which I was already managing my SSH key with anyway). Explicitly quoting the agents I want to use did the trick: 

eval `keychain --agents gpg,ssh --eval id_rsa 316053AB --nogui -Q`

Last edited by analbeard (2015-09-30 07:35:50)

Offline

Board footer

Powered by FluxBB