gpg: OpenPGP card not available: IPC write error
Apr
9
gpg: OpenPGP card not available: IPC write error
If you reach this page searching the internet for this error and did not find anything usefull, it might be because the error you want to search is actually Unknown IPC command
.
Basically, you may not have gpg-agent(1) running. The man page gives a few pointer on how to run it, here is my way to do so, in ${HOME}/.profile:
if ! pgrep -U `id -u` gpg-agent; then
eval `gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info"`
else
eval `cat "${HOME}/.gpg-agent-info"`
fi
Hope this will help someone :-)
- Romain Tartière's blog
- Login to post comments