Can a malicious party add false recipients (who are listed but can't really decrypt) to an encrypted GPG message?
In gpg(1), one normally adds recipients of an encrypted message with --recipient
. Those recipients will be able to decrypt the message, and their key ID will appear unencrypted, so anyone will know that they are able to decrypt it.
gpg(1) also allows adding hidden recipients, with --hidden-recipient
. Those recipients will be able to decrypt the message, but a third party won't know that they are able to decrypt it.
I wonder if a malicious party would be able to craft an encrypted message, and falsely claim that someone else would be able to decrypt it (not necessarily with gpg(1), I wonder if one can craft a tool that creates a message that gpg(1) will interpret as valid), listing it as a recipient.
Is that possible?
Related: https://stackoverflow.com/questions/5877969/how-do-i-list-information-for-a-gnupg-encrypted-message
Related: https://github.com/neomutt/neomutt/pull/4221
1 comment thread