glite-eds-decrypt

glite-eds-decrypt — Decrypt a local file using a known decryption key.

Synopsis

glite-eds-decrypt [ -h ] [ -q ] [ -s SERVICE ] [ -V ] [ -v ] ID INPUT_FILE OUTPUT_FILE

DESCRIPTION

glite-eds-decrpyt is a command-line tool for decrypting a local input file using an existing decryption key and write the output to a local output file. glite-eds-decrypt will look up the key needed for decryption in the Hydra KeyStore, using the key ID (logical file name or GUID).

OPTIONS

-h

Print a short help message on parameters and usage, and exit.

-q

Quiet operation.

-s SERVICE

Specifies the service endpoint to use. If SERVICE starts with http://, https:// or httpg://, then it is taken as a direct service endpoint URL. Otherwise SERVICE is taken as a service instance name and Service Discovery is invoked to look up the endpoint.

If this option is not specified, Service Discovery will be invoked and the first available catalog will be used. If the Service Discovery fails, the program will exit with an error.

Note

If this option is not specified, only services with a known good status will be returned by Service Discovery. However if you explicitely specify a service name or an endpoint, the tool will try to use it regardless of its registered status.

Note

If you specify an HTTP URL with an empty host name, the tool will dump the SOAP requests to the standard output and will read the SOAP reply from stdin.

-v

Increases the verbosity level.

-V

Print the version number and exit.

ID

The ID of the key, which can be a logical file name or GUID.

INPUT_FILE

The name of the encrypted input file on the local filesystem.

OUTPUT_FILE

The name of the file on the local filesystem to write the decrypted output to.

ENVIRONMENT VARIABLES

GLITE_SD_METADATA_TYPE

Specifies the type of the Hydra KeyStore service to use during service discovery. The default value is org.glite.Metadata.