Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

• 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. 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. For example, any of the following commands could be used to encrypt a file to my work key: • pgp -e “Jeff Licquia” • pgp -e licquia@cei.com • pgp -e 0xCF45DD0D • This same method of key identification can be used in the config.txt file in the “MyName” variable to specify exactly which of the keys in the secret key ring should be used for en

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123