Using the GNU Privacy Guard: Agent GET_CONFIRMATION

Next: Agent HAVEKEY, Previous: Agent CLEAR_PASSPHRASE, Up: Agent Protocol [Contents][Index]

#### 2.6.9 Ask for confirmation

This command may be used to ask for a simple confirmation by presenting a text and 2 buttons: Okay and Cancel.

      GET_CONFIRMATION description

descriptionis displayed along with a Okay and Cancel button. Blanks must be percent escaped or replaced by `+`. A `X` may be used to display confirmation dialog with a default text.

The agent either returns with an error or with a OK. Note, that the length of description is implicitly limited by the maximum length of a command.