Environment
debian 3.0.23, gnupg 1.0.6
Description
can't create a crypted message w/o user intervention.
case 1 as batch bails out:
radius:/home/tipelkonen# gpg --yes --batch -r zzzzz -r xxxx -ea tst.txt
gpg: CA..: no info to calculate a trust probability
gpg: CF...: no info to calculate a trust probability
gpg: no valid addressees
gpg: tst.txt: encryption failed: no such user id
- interactively it works.
radius:/home/tipelkonen# gpg --yes -r zzzz -r xxxx -ea tst.txt Could not find a valid trust path to the key. Let's see whether we can assign some missing owner trust values.
No path leading to one of our keys found.
2048g/CA2... 2000-11-29 "Timo Pelkonen <timo@.fi>" Fingerprint: CBDA ...
It is NOT certain that the key belongs to its owner. If you *really* know what you are doing, you may answer the next question with yes
Use this key anyway?
How To Repeat
in "description"
Fix
The information might be out there somewhere but I did not find it..
how to use gpg in a batch unattended to send sensitive information over hostile network?
There is no need/reason to receive anything so "cat foo| gpg -r joe -ea | mail joe@com" would do.
i guess this could be in the FAQ wether it is impossible or not.