Re: GPG question

2006-08-11 Thread Brian Rosenvinge
Thanks so much, it worked like a charm. I just had to change "cat" to "type". I don't mind supplying the passphrase in the script or in a file if there is a way to automate this process. I am not sure where a "--passphrase-fd" could be used, if it is even possible. Thanks Brian David Sha

Re: GPG question

2006-08-11 Thread David Shaw
On Fri, Aug 11, 2006 at 10:39:57AM -0500, Brian Rosenvinge wrote: > I need to decrypt a file that has been sent to me and immediately > re-encrypt the file for three new recipients. I would like to automate > the process with a batch file. To avoid the file being left > un-encrypted during the

GPG question

2006-08-11 Thread Brian Rosenvinge
I need to decrypt a file that has been sent to me and immediately re-encrypt the file for three new recipients. I would like to automate the process with a batch file. To avoid the file being left un-encrypted during the batch process I would like to redirect the output of the decrypt command

Re: AES 256 bit key generation

2006-08-11 Thread Jonathan Rockway
AES is a symmetric cypher, so you can use anything you want as the key, although I'm pretty sure that you must never use the same key to encrypt two different messages. (See "Initialization Vector". I know this is required for stream cyphers like RC4, but I'm not sure about block cyphers like AES

Re: encrypt/sign 2048 bit RSA key using another Rsa 2048 bit Key

2006-08-11 Thread Werner Koch
On Thu, 10 Aug 2006 14:25, Vinod Jacob said: > what is the maximum size of the buffer that i can encrypt using 2048 > bit key.is it 2048 bit ? Please read some basic literature about applied cryptography. Libgcrypt can't help you unless you have a basic knowledge. @Book{Sch:96:AC, author =