Trouble exporting keys.

Daniel Carrera dcarrera@math.umd.edu
Thu May 15 02:13:02 2003


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I don't know what I just did, but I think that now GPG is exporting my RSA=
=20
public key instead of my DSA one and I don't know how to switch back.  I=20
thought that I could do it with the -u option, but it doesn't make any=20
difference.  I guess I shouldn't expect it to, the man page says that -u=20
is for encrypting and signing:


pub  1024D/0FEBCEC3  created: 2003-05-10 expires: 2006-05-12 trust: u/u
sub  2048g/0D1C25EC  created: 2003-05-10 expires: 2006-05-13
sub  2048R/E3CA8FAE  created: 2003-05-13 expires: 2006-05-12
(1). Daniel Carrera (PhD Student, Math) <dcarrera@math.umd.edu>

dcarrera ~/keys $ gpg --armor --output DSA.asc --export -u 0x0FEBCEC3
dcarrera ~/keys $ gpg --armor --output RSA.asc --export -u 0xE3CA8FAE
dcarrera ~/keys $ diff DSA.asc RSA.asc=20
dcarrera ~/keys $

The --default-key option doesn't help either:

dcarrera ~/keys $ gpg --armor --output DSA.asc --export --default-key=20
0x0FEBCEC3
File `DSA.asc' exists. Overwrite (y/N)? y
dcarrera ~/keys $ diff DSA.asc RSA.asc=20
dcarrera ~/keys $

I think that it's exporting the RSA one because the key it exports now is=
=20
different (much bigger) from the one it exported before.

Any thoughts?

Thanks.
--=20
Daniel Carrera         | OpenPGP fingerprint:
Graduate TA, Math Dept | C678 4F28 6418 6A62 F186 98FC 9E04 B9A0 0FEB CEC3
UMD  (301) 405-5137    | http://www.math.umd.edu/~dcarrera/pgp/key.html

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (SunOS)

iQEVAwUBPsLb3ZMuikfjyo+uAQJDaAf+OV4/kW79zzxmC5UL2S6xuD48D7mm9c/u
JjqcGE+aDQlvNSwYxB04UguJuwuV2gFN7sUJNcrSwgpmcbfwwmnoxb1y+ykY8AQU
73c4u3w/H4BwZRP6dtU3vif4x/xJeo3D5KOSQpepERQZmOYKOjGVznvTlsgSB2So
yO+/fmPnyO7ENxoFhM2X2iHltEbfZ+cq1gHiRDqibPqOBHxVZMcR9TA0XqKqEIji
NTXGD6PGrFEfLUOQIlgp8BTs78wpfShvBU2/yMMqNojvNUbF9xIw5uMen5DdGHp9
eqyCPqoNE9Y4X5aNcDKBxMMKiBT09/Hrgk91D2EXtISRCMgjv9qtsw==
=C3QC
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--