glite-eds-encrypt

glite-eds-encrypt — Encrypt a local file using a known encryption key.

Synopsis

glite-eds-encrypt [ -q ] [ -v ] ID INPUT_FILE OUTPUT_FILE

DESCRIPTION

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

The client needs to have 'get meta data' (see glite-eds-chmod) permission on the ID to perform this operation.

OPTIONS

-q

Quiet operation.

-v

Increases the verbosity level.

ID

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

INPUT_FILE

The name of the input file on the local filesystem.

OUTPUT_FILE

The name of the file on the local filesystem to write the encrypted 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.