Re: Use other hash than SHA-1

2009-05-02 Thread Robert J. Hansen
Allen Schultz wrote: > I'm stuck with that smaller key until I change the subkeys, but > a question about the two hashes. What's the difference in SHA-1 > and RIPEMD/160? Not much. They're both 160-bit Merkle-Damgard hashes. RIPEMD160 comes out of Europe, SHA-1 comes out of the National Security

Re: Use other hash than SHA-1

2009-05-02 Thread David Shaw
On May 2, 2009, at 3:46 PM, Allen Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, May 2, 2009 at 7:45 AM, David Shaw wrote: The short answer is that you can only use a 160-bit hash with your default DSA key. That means SHA-1 or RIPEMD/160. There is a feature you can

Re: Use other hash than SHA-1

2009-05-02 Thread Faramir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Allen Schultz escribió: > I'm stuck with that smaller key until I change the subkeys, but > a question about the two hashes. What's the difference in SHA-1 > and RIPEMD/160? Take a look at: http://en.wikipedia.org/wiki/RIPEMD Best Regards

Re: Use other hash than SHA-1

2009-05-02 Thread Allen Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, May 2, 2009 at 7:45 AM, David Shaw wrote: > The short answer is that you can only use a 160-bit hash with your default > DSA key. That means SHA-1 or RIPEMD/160. There is a feature you can enable > (--enable-dsa2) that will allow you to use

Re: questions: no input file, and pascal programming

2009-05-02 Thread Faramir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Philip escribió: > I got it to work in Windows. > With a default install of gpg4win gpg is not in the path, but this > command works > echo Mary had a little lamb|"c:\Program Files\GNU\GnuPG\gpg.exe" --yes > -eat -o test.txt.gpg -r [keyid] I disag

Re: Use other hash than SHA-1

2009-05-02 Thread David Shaw
On May 2, 2009, at 10:47 AM, Raimar Sandner wrote: On Saturday 02 May 2009 15:45:11 David Shaw wrote: On May 2, 2009, at 6:25 AM, Simon Ruderich wrote: I would like to use a different hash than SHA-1. I tried setting personal-digest-preferences SHA256 in my gpg.conf but it didn't work. What ha

Re: Selecting cipher to generate a key pair

2009-05-02 Thread Robert J. Hansen
David Bernier wrote: > I'd like to know more about the process by which unsigned packages become > signed packages. This matters, I think, when using SELinux, which is what > I do. This process will vary from operating system to operating system. What works for Fedora isn't the same as what works

Re: Use other hash than SHA-1

2009-05-02 Thread Raimar Sandner
On Saturday 02 May 2009 15:45:11 David Shaw wrote: > On May 2, 2009, at 6:25 AM, Simon Ruderich wrote: > > I would like to use a different hash than SHA-1. I tried setting > > personal-digest-preferences SHA256 in my gpg.conf but it didn't > > work. What hash can I use with my key (default DSA/Elga

Re: Use other hash than SHA-1

2009-05-02 Thread David Shaw
On May 2, 2009, at 6:25 AM, Simon Ruderich wrote: I would like to use a different hash than SHA-1. I tried setting personal-digest-preferences SHA256 in my gpg.conf but it didn't work. What hash can I use with my key (default DSA/Elgamel key) and how? The short answer is that you can only use

Re: Use other hash than SHA-1

2009-05-02 Thread Raimar Sandner
On Saturday 02 May 2009 14:11:46 John W. Moore III wrote: > Simon Ruderich wrote: > > I would like to use a different hash than SHA-1. I tried setting > > personal-digest-preferences SHA256 in my gpg.conf but it didn't > > work. What hash can I use with my key (default DSA/Elgamel key) > > and how?

Re: questions: no input file, and pascal programming

2009-05-02 Thread Hardeep Singh
The same can be done in Windows. Visit http://blog.hardeep.name/computer/20080828/linux-shell-on-windows/ this will give you the shell and the Echo commands that you need. Hardeep Singh http://blog.Hardeep.name On Sat, May 2, 2009 at 1:05 PM, Philip wrote: > I found that if I just type "gpg" I

Re: questions: no input file, and pascal programming

2009-05-02 Thread Philip
I got it to work in Windows. With a default install of gpg4win gpg is not in the path, but this command works echo Mary had a little lamb|"c:\Program Files\GNU\GnuPG\gpg.exe" --yes -eat -o test.txt.gpg -r [keyid] I'm thinking that it might be easier for a pascal programmer to interface with g

Re: Use other hash than SHA-1

2009-05-02 Thread John W. Moore III
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Simon Ruderich wrote: > I would like to use a different hash than SHA-1. I tried setting > personal-digest-preferences SHA256 in my gpg.conf but it didn't > work. What hash can I use with my key (default DSA/Elgamel key) > and how? Which version of

Re: Selecting cipher to generate a key pair

2009-05-02 Thread David Bernier
Dear Robert J. Hansen, Robert J. Hansen wrote: Smith, Cathy wrote: Is there a brief explanation available as to how the cipher is used in generating the private/public keys? It seems this is separate from the cipher that is chosen to encrypt my data. r...@chronicles:~$ gpg --enable

Use other hash than SHA-1

2009-05-02 Thread Simon Ruderich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would like to use a different hash than SHA-1. I tried setting personal-digest-preferences SHA256 in my gpg.conf but it didn't work. What hash can I use with my key (default DSA/Elgamel key) and how? Thanks for your help, Simon - -- + privacy

Re: questions: no input file, and pascal programming

2009-05-02 Thread Philip
I found that if I just type "gpg" I get this "gpg: Go ahead and type your message ..." which looks promising but I can't find any documentation on how to use it. Also this works in linux "echo Mary had a little lamb|gpg --yes -eat -o test.txt.gpg -r [keyid]" but I don't know how to do something s

gnupg 1.2.6

2009-05-02 Thread Felipe Alvarez
My web host has gnupg 1.2.6 on their machines. I often SSH into it when I am not at home on my gnulinux box. Anything I should be concerned about when using this version? the two key pairs I made (DSS signing, ELG encryption) were made on gnupg 2.0.9, and transfered (and imported) to this host