Next: Session options, Previous: Retrieve an audit log, Up: The Protocol the Server Mode Uses [Contents][Index]
This is a multipurpose function to return a variety of information.
GETINFO what
The value of what specifies the kind of information returned:
versionReturn the version of the program.
pidReturn the process id of the process.
agent-checkReturn OK if the agent is running.
cmd_has_option cmd optReturn OK if the command cmd implements the option opt. The leading two dashes usually used with opt shall not be given.
offlineReturn OK if the connection is in offline mode. This may be either
due to a OPTION offline=1 or due to gpgsm being
started with option --disable-dirmngr.
always-trustReturns OK of the connection is in always-trust mode. That is either --always-trust or GPGSM OPTION always-trust are active.