lotus

previous page: 4.4. I tried encrypting the same message to the same address two different times and got completely different outputs. Why is this? (PGP)
  
page up: PGP FAQ
  
next page: 4.6. What does the message "Unknown signator, can't be checked" mean? (PGP)

4.5. 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? (PGP)




Description

This article is from the PGP FAQ, by Jeff Licquia jalicqui@prairienet.org with numerous contributions by others.

4.5. 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? (PGP)

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 <filename> "Jeff Licquia"
pgp -e <filename> licquia@cei.com
pgp -e <filename> 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 encrypting a message.

 

Continue to:













TOP
previous page: 4.4. I tried encrypting the same message to the same address two different times and got completely different outputs. Why is this? (PGP)
  
page up: PGP FAQ
  
next page: 4.6. What does the message "Unknown signator, can't be checked" mean? (PGP)