Instructions to reproduce:
- create any key
- gpg --edit-key ; adduid foo@bar ; save+quit
- gpg --edit-key ; revuid foo@bar ; save+quit
- gpg -v --list-keys foo@bar (shows the revoked uid)
- gpg --edit-key ; adduid foo@bar
- display will now show both foo@bar uids
- save+quit
- gpg --edit-key (now we get this message: "gpg: key 34884E85:
duplicated user ID detected - merged")
- 'list' shows only the revoked version of the foo@bar uid, and we cannot select the new one to perform any operations on it.
[reported by Robin Hugh Johnson robbat2 at gentoo]