gnupg: Invoking GPG-AGENT
1
1 2 Invoking GPG-AGENT
1 ********************
1
1 'gpg-agent' is a daemon to manage secret (private) keys independently
1 from any protocol. It is used as a backend for 'gpg' and 'gpgsm' as
1 well as for a couple of other utilities.
1
1 The agent is automatically started on demand by 'gpg', 'gpgsm',
1 'gpgconf', or 'gpg-connect-agent'. Thus there is no reason to start it
1 manually. In case you want to use the included Secure Shell Agent you
1 may start the agent using:
1
1 gpg-connect-agent /bye
1
1 If you want to manually terminate the currently-running agent, you can
1 safely do so with:
1
1 gpgconf --kill gpg-agent
1
1 You should always add the following lines to your '.bashrc' or whatever
1 initialization file is used for all shell invocations:
1
1 GPG_TTY=$(tty)
1 export GPG_TTY
1
1 It is important that this environment variable always reflects the
1 output of the 'tty' command. For W32 systems this option is not
1 required.
1
1 Please make sure that a proper pinentry program has been installed
1 under the default filename (which is system dependent) or use the option
1 'pinentry-program' to specify the full name of that program. It is
1 often useful to install a symbolic link from the actual used pinentry
1 (e.g. '/usr/local/bin/pinentry-gtk') to the expected one (e.g.
1 '/usr/local/bin/pinentry').
1
1 ⇒Option Index, for an index to 'GPG-AGENT''s commands and
1 options.
1
Menu