I am using Ubuntu 16.04.2 LTS and currently trying out awesome window manager (I haven't customized the awesome config file yet and using the default one).
One of the thing that is not working for me is that the passpharse is currently not cached by gpg-agent.
I have done the following in .xsessionrc file,
# GnuPG agent (avoid repeatedly putting passphrase)
gnupglog="${HOME}/.gnupg/gpg-agent.info"
if (pgrep -u "${USER}" gpg-agent); then
eval `cat ${gnupglog}`
eval `cut -d= -f1 ${gnupglog} | xargs echo export`
else
eval `gpg-agent --enable-ssh-support --daemon`
fi
I see that the agent has started. However, after running the command like gpg --decrypt FILE
through terminal is not popping a UI dialog box and instead it is asking me a passphrase through the terminal. Also it is not cached.
The gnome keyring works perfectly if I use the default Unity dash. Can you please suggest the steps to get the gpg-agent working in awesome?