gpg: used key is not marked for encryption use.
Werner Koch
wk at gnupg.org
Tue Jul 27 11:03:42 CEST 2021
On Fri, 23 Jul 2021 20:00, Jonathan Kaczynski said:
> 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.
This is a warning that the encryption tool used a key which it should
not have used for encryption (ie. a signing signing key). Proper
OpenPGP implementation won't allow to encrypt to such a key but some
implementations have bugs. Technically the keys can be used for both
purposes but out of crypto hygiene this should not be done. No
immediate risk, though. For S/MIME is is quite common to use the same
key for encryption and signing.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210727/de4ddeb6/attachment.sig>
More information about the Gnupg-users
mailing list