Mar 08 2007

pgp exporting private keys

Published by rob at 12:02 pm under work

Every few months I am in the fun position of having to juggle around some PGP keys between servers. While doing this I always spend fifteen minutes trying to remember the right export commands so here for my own and google users reference:

export PGPPATH=”/path/to/pgp/”

This is used if you are using a none default PGP path.

To do the actual exporting you need four bits of info; the PGP command, PGP user, export filename and the location of the public and private key
pgp -kx $pgpuser $exportfilename secring.skr

Things dont get more exciting than that.

One Response to “pgp exporting private keys”

  1. Brownon 23 Jul 2007 at 1:21 pm

    Brown…

    You a right. Thank you….

Trackback URI | Comments RSS

Leave a Reply