Download - Authora Inc.

Transcript
Authora, Inc.
EDGE–Command Line User Guide
Values for specified options remain for future operations and are saved in the
configuration file. If commands and options are specified together, the given
options override options from the configuration file for the current operation only
and leave the configuration file unchanged.
Examples:
edge +ARMOR
edge –-armor on
The above lines contain only options and no commands. EDGE changes the
configuration file and the value for the ARMOR option will be set to ON.
edge –e <file.txt> <userID> +ARMOR
edge --encrypt <file.txt> --user <userID> --armor
In the above lines, EDGE encrypts the specified file with the specified public key
and produces an armored file. The value for the ARMOR option remains unchanged
in the configuration file.
All options can also be specified by using environment variables. If a setting is
defined by an environment variable, its variable value is used instead of the value
found in the configuration file.
The default mode for specifying options is the long arguments mode. The legacy
mode exists to assure the compatibility of scripts written for old versions of
OpenPGP command-line products.
You don’t need to specify that you are using the legacy or the long arguments
mode, EDGE automatically detects it and checks the syntax of your command
accordingly.
The long arguments mode allows for full automation of all EDGE commands. For
example, the creation of key pairs cannot be fully automated with the legacy mode
but can be with the long arguments mode.
Because the long arguments mode is the default mode to specify options, this
manual presents examples using that mode.
Refer to the Legacy Mode Commands section for the syntax of all commands
and options for the legacy mode.
21