Re: Redirecting STDIN

2010-08-29 Thread James Board
This problem exists with gpg and with the older pgp 2.x. I'd like to solve it by redirecting STDIN because pgp 2.x doesn't implement the options that you specify. --- On Sun, 8/29/10, Laurent Jumet wrote: > From: Laurent Jumet > Subject: Re: Redirecting STDIN &g

Redirecting STDIN

2010-08-28 Thread James Board
I'm trying to encode a file in a shell script on a linux machine. The script is getting stuck on an interactive question for which the answer is always 'y' (yes). I tried redirecting stdin from a file, and with 'echo "y" | ", but that doesn't work for some reason (it works with other progr

Split Data Packet into Multiple Packets?

2010-08-16 Thread James Board
Hi, I looked into the OpenPGP Message Format spec, and some encrypted files, and figured out that no matter how large my encrypted message is, gpg uses a single Data Packet for the cipher text. Can I somehow split that Data Packet into multiple independent Data Packets and decrypt them indepen

Re: Corrupted File

2010-03-24 Thread James Board
> Have you tried decrypting the file with either PGP or > GnuPG?  Also, > where in the file is the corruption? The file is corrupted (a 4096-byte page full of zereos), at seemingly random places, but not near the front of the file. The file was encrypted with PGP 5.0. I tried to decrypt with PG

Corrupted File

2010-03-15 Thread James Board
I have a fairly large file (about 10 mbytes) that was corrupted on disk. About 5-10 pages of the file (4096-byte blocks) were lost and set to zero. The file is a PGP encryption of a another file which is a 'tar' file of other smaller ASCII text files. I would like to decrypt as much of this f