Previous Topic

Next Topic

Book Contents

Book Index

Exporting Keys from Other Applications

If you have been using another PGP application, you have already established a keyring. You will probably want to transfer some or all of the keys in this keyring to MOVEit Automation, so you can continue to use the same keys without additional coordination with your correspondents.

Before you can import these keys into MOVEit Automation, you must export them from the other PGP application. This section describes how to export keys from two popular PGP applications. Note: the act of exporting keys does not remove them from the original application, so you can continue to use the keys with the old application if you like.

Exporting from GNU Privacy Guard

To export a single public key from GnuPG, use a command line like:

gpg -a --export "Fred Smith" >fredsmith-public-key.asc

To export all public keys from GnuPG, use a command line like:

gpg -a --export >all-public-keys.asc

To export a single private key from GnuPG, use a command line like:

gpg -a --export-secret-keys "Fred Smith" >fredsmith-private-key.asc

To export all private keys from GnuPG, use a command line like:

gpg -a --export-secret-keys >all-private-keys.asc

Note: unlike some other applications, GnuPG does not export the public key when it exports the private key. To export both the private key and the public key for a user, use a sequence like:

gpg -a --export "Fred Smith" >fredsmith-both.asc gpg -a --export-secret-keys "Fred Smith" >>fredsmith-both.asc

Exporting from Symantec Corporation's PGP Command Line®

To export a single public key from PGP, use a command line like:

pgp --export "Mary Jones" --output maryjones-public-key.asc

To export a single public/private keypair from PGP, use a command line like:

pgp --export-key-pair "Mary Jones" --output maryjones-both.asc

There does not appear to be a single PGP Command Line command which will export all keys.