<div dir="ltr">Hi,<div><br></div><div>I'm trying to understand the scenario in which we see the log message, "gpg: used key is not marked for encryption use." I haven't been able to find any mentions of the phrase on the web, so I turned to the source code.</div><div><br></div><div>Looking at <a href="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=g10/pubkey-enc.c;h=6e1b0898e4b3687ef4d57ae1a6270782723b01e3;hb=refs/heads/master#l146">https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=g10/pubkey-enc.c;h=6e1b0898e4b3687ef4d57ae1a6270782723b01e3;hb=refs/heads/master#l146</a> it is a little difficult to tease out.<br></div><div><br></div><div>The context is I'm trying to debug why another party's encrypted file is producing this extra log message by gpg-2.3.1, and if it matters. They used a tool which uses the BouncyCastle java library.</div><div><br></div><div>Would someone be able to help me with this?</div><div><br></div><div>Thank you,</div><div>Jonathan Kaczynski</div></div>