Next: UI Server: Verify a Message, Previous: UI Server: Sign a Message, Up: The GnuPG UI Server Protocol [Contents][Index]
Decryption may include the verification of OpenPGP messages. This is due to the often used combined signing/encryption modus of OpenPGP. The client may pass an option to the server to inhibit the signature verification. The following two commands are required to set the input and output file descriptors:
Set the file descriptor for the message to be decrypted to n. The
message send to the server is either binary encoded or — in the case
of OpenPGP — ASCII armored. For details on the file descriptor, see
the description of INPUT
in the ENCRYPT
section.
Set the file descriptor to be used for the output. The output is binary
encoded. For details on the file descriptor, see the description of
INPUT
in the ENCRYPT
section.
The decryption is started with the command:
name is the encryption protocol used for the message. For a
description of the allowed protocols see the ENCRYPT
command.
This argument is mandatory. If the option --no-verify is
given, the server should not try to verify a signature, in case the
input data is an OpenPGP combined message. If the option
--export-session-key is given and the underlying engine knows
how to export the session key, it will appear on a status line