end-to-end icon indicating copy to clipboard operation
end-to-end copied to clipboard

OpenPGP: Hidden recipient support (keyid=0x000000)

Open mkf opened this issue 10 years ago • 3 comments

I tried to decrypt a message encrypted by me using GnuPG v2 to my friend (visible recipient) and me (hidden). It said that "No keys found for message".

mkf avatar Jul 07 '15 00:07 mkf

Could you please replicate with a dummy message? We support wildcard keyids so it should work

sirdarckcat avatar Jul 10 '15 06:07 sirdarckcat

I don't think it works now. EncryptedMessage.decrypt asks for a single key from the KeyRing based on KeyID, so we don't iterate over all keys. https://github.com/google/end-to-end/blob/3288abc94b3c7b9adc1258a427f779dd584ff50e/src/javascript/crypto/e2e/openpgp/contextimpl.js#L325

koto avatar Jul 10 '15 10:07 koto

Just use gpg2 -aeR [your hidden recipient] [your file].

mkf avatar Jul 10 '15 23:07 mkf