Changing the email address of a key

Mika Suomalainen mkaysi at users.sourceforge.net
Tue Aug 28 15:57:33 CEST 2012


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

Hi,

27.08.2012 23:59, Richard Ulrich kirjoitti:
> When I generated my new private key, I used one of my email
> addresses. This email address is stored both on the crypto stick
> (smart card) and in the secring.gpg or pubring.gpg, probably both. 
> Now I would like to use that key with another email address. Is it
> possible to change the email address of a key, and how would I 
> proceed to have it on the stick and in the gpg stub files?

I don't know about crypto sticks nor smart cards, but you cannot
change email address in key, nor remove it (or if you do, keyservers
will still contain the old uid).

You can use gpg --edit-key KEYID and then select the uid with correct
number and give command "revuid", so the uid appears as revoked to
people who get your key.

- -- 
Mika Suomalainen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Public key: http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: I have personal problem with PGP/MIME...
Comment: ...so signature *IS* long. See http://git.io/6FLzWg
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/

iQIcBAEBCgAGBQJQPM5GAAoJEE21PP6CpGcoVhMQAKZcA4DNywh+z/EPmSUdPUiz
ujvGnGX08M3n/5DgK60qzBFOaULKXCzAyESWFPo2Coh/8n3ZDSFjwRVLVYrB1JvS
VDdbqJc1L5sfsa8WIhop6kBr9nbhpuoPVOPDaw/kOzfcwoI2dakgwy18r4KVt/SL
lgDnCatNKzYeKAy06er1TKDP9v4th2J61+Bx4pnogWLQlxqw9EfDhueyfkSTTK6x
6e9YHJfaaqtPic5i9us9Blo+8fKuhxTgN86loNc56yv4FX7lqb1Ca0K7TgwMaIU3
SYdpm5NgrQPgSXozFGOc9fDdbro7CrPW+3XB42Yx9Cv0qfrgRENJUupPxw8NhQIH
0x9Yrtq2iqDSdxPXYxEubir6CSm+GjT+xZ/gh38YvZ+JQfzBV6SIg4g20lfCGKzL
/TVfEfEOjb1VwvPdl0BSzeMav3oZ+I+tk6WP1YwVw8AUj6bhjkYewI0jTHZPIyW5
S3K3CATl/MMVE0c4r0miwOn1uqTSQ8YnGSdhMh8zYggRBiG+MP1YQ7HSBxtscK4j
MOpThRDfRT1brntREVni6fSSJV7QFWh8EICn3FOtQYTsVwc/OGuIDO95U1b77L2Z
9dzwOH1SxWpL47vOEIeLKb+ikZlZbxkJYEpNf2FoJ3yx7MmkU+p2XLY577U4o529
4GaNqY7oSnBtWOxk7sXW
=O2Ih
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list