Example 1

For the GET Source setting in an input card, select OpenPGP Adapter. In the GET > Source > Command field, enter:

-U foo -ACTION ENCRYPT -R foo -ADDCMD "-armor" -FILE input.txt -T

The adapter will:

  • read the file input.txt
  • encrypt it for the foo GnuPG user
  • return the ASCII armored encrypted message back
  • trace the activity in the default trace file m4opgp.mtr in the map directory

The encrypted message can then be passed to some target, for example, E-mail, in an output card.