Re: --digest-algo ignored on gnupg-1.4.9?

2011-01-06 Thread freejack
Hi David, > --digest-algo specifies the digest for making signatures. It is not > related to symmetric-only ("-c") encryption, where the digest is used as > part of the S2K to mangle your passphrase into a symmetric key. You > want the --s2k-digest-algo option. As the documentation says:

Re: --digest-algo ignored on gnupg-1.4.9?

2011-01-06 Thread David Shaw
On Jan 6, 2011, at 5:37 PM, freej...@is-not-my.name wrote: >>> Sounds reasonable but then why is it using RIPEMD160? I tested with 3DES >>> instead of IDEA and got the same thing. RIPEMD160 is being used, not >>> SHA1. Thanks for looking at this. >> >> Try sharing your gpg.conf file. The answer

Re: --digest-algo ignored on gnupg-1.4.9?

2011-01-06 Thread freejack
Robert J. Hansen said something like this: > > On 1/5/2011 4:00 PM, freej...@is-not-my.name wrote: > > Then something is very odd. Here's my output, only I used IDEA instead > > of 3DES for my test: > > You might want to reconsider using IDEA: although it was the bee's knees > for the early 1990s

Re: PUBLIC KEY NOT FOUND

2011-01-06 Thread Robert J. Hansen
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 thi

PUBLIC KEY NOT FOUND

2011-01-06 Thread alapatimailbox
Hi All, MY OS is : Linux. I have written a Java Program to run a GPG Command using Java's exec command like: Runtime.getRuntime().exec(command); The command here is a gpg encryption command like : gpg --recipient "alapati" --output "Encrypted/SampleEncrypted.gpg" --encrypt "Sample.txt"