gpg: encryption failed: public key not found

Daniel Kahn Gillmor dkg at
Thu Apr 7 21:08:44 CEST 2011

On 04/07/2011 02:55 PM, Hauke Laging wrote:
> The easiest way to solve this should be to import the public key as root

Or, have your cronjob switch to being the correct non-privileged user
before doing any of the rest of its work.

> and mark it as "trusted-key" in the config file.

I don't think this is either necessary or advisable.  If i understand
the docs correctly, it is equivalent to setting ultimate ownertrust on
the key, which has other consequences you might not intend.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110407/e3b4d533/attachment.pgp>

More information about the Gnupg-users mailing list