manpagez: man pages & more
info gnupg
Home | html | info | man

File: gnupg.info,  Node: GPGSM GETINFO,  Next: GPGSM OPTION,  Prev: GPGSM GETAUDITLOG,  Up: GPGSM Protocol

5.6.11 Return information about the process
-------------------------------------------

This is a multipurpose function to return a variety of information.

     GETINFO WHAT

   The value of WHAT specifies the kind of information returned:
'version'
     Return the version of the program.
'pid'
     Return the process id of the process.
'agent-check'
     Return OK if the agent is running.
'cmd_has_option CMD OPT'
     Return OK if the command CMD implements the option OPT.  The
     leading two dashes usually used with OPT shall not be given.
'offline'
     Return 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-trust'
     Returns OK of the connection is in always-trust mode.  That is
     either '--always-trust' or 'GPGSM OPTION always-trust' are active.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.