PUBLIC KEY NOT FOUND
Robert J. Hansen
rjh at sixdemonbag.org
Thu Jan 6 15:23:30 CET 2011
On 1/5/2011 9:43 PM, alapatimailbox wrote:
> I have written a Java Program to run a GPG Command using Java's exec
> command like:
> Runtime.getRuntime().exec(command);
Many Java programmers do this, but it is not what Oracle recommends.
Check java.lang.ProcessBuilder instead.
> If i run this command from terminal it is working fine .
> But if i run this command from java program it is giving the following
> error.The java program is executed from root users context.I tried setting
> the ring key as well but the same error was coming.
When you run it from the terminal, which user are you running as?
When you run it from your IDE, which user are you running as?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5598 bytes
Desc: S/MIME Cryptographic Signature
URL: </pipermail/attachments/20110106/af7a74b5/attachment-0001.bin>
More information about the Gnupg-users
mailing list