There is probably a typo in the documentation about gpg-agent. The --daemon
switch is described with:
Run the program in the background. This option is required to prevent
it from being accidently running in the background. A common way to do
this is:
The second "background" probably should be "foreground". But later in the manual
page it is stated, that gpg-agent "can only be used in background mode". So the
description above needs to be corrected anyway?