Encrypting Cron job email output.

Atom 'Smasher' atom at suspicious.org
Tue Aug 24 16:18:27 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 24 Aug 2004, simon wrote:

> here is the command and output from a shell ;
> [root at localhost simon]# /usr/sbin/chkrootkit 2>&1 | gpg
> --trust-model always -ear F679C9E6223DC22B | mail -s "chkrootkit
> output" saulinux at safe-mail.net
> gpg: F679C9E6223DC22B: skipped: public key not found
> gpg: [stdin]: encryption failed: public key not found
> Where am I going wrong? Is the command OK? My public key is valid
> and on my keyring, why isn't it being seen?
> Simon.
===============

the cron job is run by root?

is your key in the keyring at "~root/.gnupg/"?

if you use a login other than root, DON'T tell root to use your keyring... 
root should have your key in root's keyring. you can also make your key 
trusted in root's keyring.


         ...atom

  _________________________________________
  PGP key - http://atom.smasher.org/pgp.txt
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"The incidence of disease has increased
 	 in proportion to the progress of science."
 		-- Akbarali Jetha
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBK045AAoJEAx/d+cTpVcifVUIAK76xP1rnc0IB0nALv5lzrDb
zk4uTUi8wJo+m73yv6FQNT6GixVMaX51wP4GdjsH90//4IjNmM5tEtsdgwD4L0mJ
b9QjipCj6YxVSuJ8GTH8Zp8o5jep7KysdygkRPSDLxGXI22+mQORREV5S1DoCtCS
ZAw8wxHm72hQXthG5KfjAKfQv7G/DsuIVapUeHjtoz38maO7MwF6C09Z9lTQYQ5w
CGjOKLfccYI1eDAUYnPhj8CQGTzdSLw6aWcBhaholPiV6TUaR45JqAZEEi2QZP6e
v4ocYRagLPGKwbOgAz8+ITVkK4GLJN1kC2rPE3lftu+FR+2PdCpLMbV2IIqg8Wo=
=7DIU
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list