getting gnupg keys from old computer to new

Mika Suomalainen mika.henrik.mainio at hotmail.com
Tue Jul 17 11:15:29 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 17.07.2012 00:39, eMyListsDDg wrote:
> i've installed gnupg on the new notebook, how do i get the keys
> from the old computer into gnupg on the new computer?

Open terminal and run

```
gpg --export-secret-keys -a > secring.asc
gpg --export -a > pubring.asc
```

Then files secring.asc and pubring.asc should appear at your home folder.

On new computer, just run

```
gpg --import secring.asc
gpg --import pubring.asc
```

when they are in your home folder and they should get imported.

- -- 
Mika Suomalainen

NOTICE! I am on mobile broadband with very limited time, so I cannot
read emails very much.
The best time to contact me is probably weekends when I have better
connectivity with good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Homepage: http://mkaysi.github.com/
Comment: gpg --keyserver pool.sks-keyservers.net --recv-keys 82A46728
Comment: Public key: http://mkaysi.github.com/PGP/key.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: Why do I (clear)sign emails? http://git.io/6FLzWg
Comment: Please send plaintext instead of HTML. http://git.io/TAc0cg
Comment: Please don't toppost. http://git.io/7-VB3g
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJQBS0uAAoJEE21PP6CpGconkkP/ReU6sUe0POGCMcgkZbh1LYH
x4UvQGQXhDB21MhZRw+0IjfUd2jXuitaz983jMxmxedteB6z2SYo+mFHl+IGWEOd
dya98Pa3frwicZ3Gdtj8uCW15fex/CnYtOUwz6YcleLkvUo1GKlJMrfxAaQk65RM
JyklNO3VWEB7A75q+UBqpkOuGjmkdfMPji5gPWB1o/MvwDQE0KfjzZIyFamHanAS
IeoNYL8x8btlQF8gX6ISeebs8ZFjO/6cY76RXGpznHroWEsi7EejXkBQg2gpKYyJ
kZoVSB3Vs4j4B1cTJRBk/uSnCB4ziKvBYCof6PJAGDj+5Q3IvvgOnmr5FYaDDZOP
zmJTSBLQYHaJYmZU/olGBf7mGy+hRXxj4+VfyXCLsFPdkBOkOXn7y0nBz+3pHncg
GRD/Zr9bB3I51iZgOqzP781MkEhOMm5EXH1AZQSE1fgJKL/NjQjEcHrAIP1v44CQ
kf1eYkeIWrzRJG8nfvB/DL23NZrnJNjQX26MP38WsgYYYpK6tdzyUFimH9g6/IME
72WZKXO6kZ/sYzVvnHz5TmuVsNqrjYBHrMBLulcayg2uiaAFx/r7xvUEYEjsixJC
vj/BTD9FvGhG8YDz2StUBhnLyutNHBslDcTiuwVQ92wjYqB8ChOKXjnl9B843m40
PbAgbOgpS+GR6xrf/h3v
=Z3iu
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list