With PGP, how do I specify which key to use when an individual has 2 public keys and the very same user ID on each, or when 2 different users have the same name?
Instead of specifying the user’s name in the ID field of the PGP command, you can use the key ID number. The format is 0xNNNNNNNN where NNNNNNNN is the user’s 8 character key ID number. It should be noted that you don’t need to enter the entire ID number, a few consecutive digits from anywhere in the ID should do the trick. The key ID shows up directly after the key size when you do pgp -kv userid. Be careful: If you enter 0x123, you will be matching key IDs 0x12393764, 0x64931237, or 0x96412373. Any key ID that contains 123 anywhere in it will produce a match. They don’t need to be the starting characters of the key ID. You will recognize that this is the format for entering hex numbers in the C programming language.
Related Questions
- With PGP, how do I specify which key to use when an individual has 2 public keys and the very same user ID on each, or when 2 different users have the same name?
- How do I specify which key to use when an individual has 2 or more public keys and the very same user ID on each, or when 2 different users have the same name?
- How do I specify which key to use when an individual has 2 or public keys and the very same user ID on each, or when 2 different users have the same name?