trying to export the sender key
Mon Apr 14 13:29:22 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday 13 Apr 2003 4:47 pm, Don Patou wrote:
> I've just created my keys from the gnupg tutorial on
> http://technocage.com/~caskey/gnupg/gpg-cmt.html. The problem is that when
> I try to export my sender key with this line:
> "joe@debian:~/keys/recipient$ gpg --homedir -a --export recipient"
If you use --homedir, you need to specify a directory for it to use. If you've
followed the defaults, it'll be in ~/.gnupg/ and you won't need --homedir
Use ls -a ~
to list the entire contents of your home directory and look for .gnupg/
Replace recipient with the keyid (or leave blank to get all keys).
If you only have your key in place, use:
gpg -a --export > export.asc
This will create a text file called export.asc containing the public key.
> I get a:
> "gpg: keyblock resource `-a/secring.gpg': file open error
> gpg: keyblock resource `-a/pubring.gpg': file open error
Because of the --homedir setting, gpg is misreading the -a option as a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----