EncryptProgram

### Index Up << >>

## EncryptProgram

Contains a program command line specification that indicates how an external encryption program will work. Two placeholders, `%p` and %f, are defined, which are replaced at encryption time with the password and temporary file name respectively. See Order Security.

This is separate from the PGP directive, which enables PGP encryption of the entire order.

If PGP is the encryption program (MiniVend determines this by searching for the string `pgp` in the command string), no password field or file field need be used -- the field mv_credit_card_number will never be written to disk in that case.

        EncryptProgram      /usr/local/bin/pgp -feat sales@company.com

If you use order `Route` method of sending orders (default in the demo) this sets the default value of the encrypt_program attribute.

### Index Up << >>