keys require a user-id

Andrew Gallagher andrewg at
Fri May 15 15:21:51 CEST 2020

On 15/05/2020 14:01, Wiktor Kwapisiewicz via Gnupg-users wrote:
> AFAIK key validity and owner trust are per key not per User ID.

Ownertrust is per-key, but validity is per-UID. On my local machine `gpg
--list-keys wiktor at` shows:

pub   rsa4096/0x6C8857E0D8E8F074 2017-01-01 [C] [expires: 2021-01-01]
      Key fingerprint = 6539 09A2 F0E3 7C10 6F5F  AF54 6C88 57E0 D8E8 F074
uid                   [ unknown] Wiktor Kwapisiewicz <wiktor at>
uid                   [ unknown] [unknown attribute of size 83]
sub   rsa4096/0xB97A1EE09DB417EC 2017-10-18 [S] [expires: 2021-01-01]
sub   rsa2048/0x60D2F50529E2DE4F 2018-07-06 [E] [expires: 2021-01-01]
sub   rsa2048/0x97FDEF34DAB8F82B 2018-07-06 [S] [expires: 2021-01-01]
sub   rsa2048/0x3B6DFCC964CFEBC4 2018-07-06 [A] [expires: 2021-01-01]

Each of those `[ unknown]`s represents the validity of that particular
UID only. I could right now add a new UID <president at> to
my primary key. The invalidity of <president at> would not
invalidate <andrewg at>.

Andrew Gallagher

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Gnupg-users mailing list