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

File: gnupg.info,  Node: Operational GPGSM Commands,  Next: Certificate Management,  Prev: General GPGSM Commands,  Up: GPGSM Commands

5.1.2 Commands to select the type of operation
----------------------------------------------

'--encrypt'
     Perform an encryption.  The keys the data is encrypted to must be
     set using the option '--recipient'.

'--decrypt'
     Perform a decryption; the type of input is automatically
     determined.  It may either be in binary form or PEM encoded;
     automatic determination of base-64 encoding is not done.

'--sign'
     Create a digital signature.  The key used is either the fist one
     found in the keybox or those set with the '--local-user' option.

'--verify'
     Check a signature file for validity.  Depending on the arguments a
     detached signature may also be checked.

'--server'
     Run in server mode and wait for commands on the 'stdin'.

'--call-dirmngr COMMAND [ARGS]'
     Behave as a Dirmngr client issuing the request COMMAND with the
     optional list of ARGS.  The output of the Dirmngr is printed
     stdout.  Please note that file names given as arguments should have
     an absolute file name (i.e.  commencing with '/') because they are
     passed verbatim to the Dirmngr and the working directory of the
     Dirmngr might not be the same as the one of this client.  Currently
     it is not possible to pass data via stdin to the Dirmngr.  COMMAND
     should not contain spaces.

     This is command is required for certain maintaining tasks of the
     dirmngr where a dirmngr must be able to call back to 'gpgsm'.  See
     the Dirmngr manual for details.

'--call-protect-tool ARGUMENTS'
     Certain maintenance operations are done by an external program call
     'gpg-protect-tool'; this is usually not installed in a directory
     listed in the PATH variable.  This command provides a simple
     wrapper to access this tool.  ARGUMENTS are passed verbatim to this
     command; use '--help' to get a list of supported operations.

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