If an attacker obtains a file that has been encrypted using an OpenPGP public key, what information can the attacker deduce?
For example, to what degree of certainty can the attacker deduce the identity of the intended recipient?
|
If an attacker obtains a file that has been encrypted using an OpenPGP public key, what information can the attacker deduce? For example, to what degree of certainty can the attacker deduce the identity of the intended recipient? |
||||
|
|
|
The key ID of the recipient is included in plain-text in the encrypted file. Other possibly interesting information "hidden in plain sight" is just the size of the file, or the name of the encrypted file (if someone just sends it without alteration of course.) What you might not realise is that the recipient Key ID is effectively an optional field. Section 5.1 goes on to say:
You can encrypt using the
As this point, A practical aside -- secondary clues may be in various logs. For instance, an attacker who obtains such a message might also be able to access (say) a |
||||
|
|
|
According to the RFC for the OpenPGP message format, section 5.1, every OpenPGP encrypted message contains at least one Public-Key Encrypted Session Key Packet, which itself contains this plain-text information:
If multiple recipients have been specified, then multiple Public-Key Encrypted Session Key Packets will exist, one for each intended recipient. So, in summary, an attacker can narrow down the identity of the intended recipient based on an OpenPGP encrypted message. You can prove this experimentally to yourself by attempting to decrypt a file to which you do not have the public key. As you can see, the key IDs of the intended recipients, as well as algorithm name and version number:
This is the plain-text information that is available. I do not know if they is any other information that can be deduced statistically. |
|||
|
|