...
Code Block |
---|
udmg-client sb_pgp add |
Adds a new pgp PGP key with the given parameters.
short option | long option | description |
---|---|---|
-n | --name= | The name of the key, must be unique. |
-u | --pgp-name= | The key user name. |
-e | --pgp-email= | The associated email. |
-a | --pgp-algo= | The algorithm that was used for creating the key (free text, for reference). |
-f | --valid-from= | The valid from date |
-t | --valid-to= | The expiration date |
-k | --private-key= | The private key. It must be in ascii ASCII armored format. |
-K | --public-key= | The public key. It must be in ascii ASCII armored format. |
-p | --passphrase= | The passphrase of the private key. |
-c | --comment= | An additional comment to describe the pgp PGP key. |
Example
To create a public pgp PGP key from a file containing the key that was given by a partner, the syntax is as follows:
...
Code Block |
---|
udmg-client sb_pgp <key_name> |
Retrieve a PGP key details. The private key content is not output on screen.
...