trying to export the sender key
Erik
mitabrev@mochamail.com
Sun Apr 13 19:54:01 2003
--s/l3CgOIzMHHjg/5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Apr 13, 2003 at 05:47:30PM +0200, 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"
>=20
> I get a: "gpg: keyblock resource `-a/secring.gpg': file open error
> gpg: keyblock resource `-a/pubring.gpg': file open error gpg: WARNING:
> nothing exported"
>=20
> any suggestions?
You didn't specify a directory for "--homedir", so it is using -a as the
directory.
This may work:
gpg --homedir some_directory -a --export keyid > some_filename
From the gpg man page:
--homedir directory
Set the name of the home directory to directory If this option
is not used it defaults to "~/.gnupg". It does not make sense
to use this in a options file. This also overrides the
environment variable "GNUPGHOME".
--=20
Erik
--s/l3CgOIzMHHjg/5
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+maRzuvaiddBYam8RA/MAAJ4hIK+HlNR1XbPAp6iksYTpOaeVrwCgh7NK
mSnnz7CaK1KFkIJ2/MitIzo=
=M6zY
-----END PGP SIGNATURE-----
--s/l3CgOIzMHHjg/5--