Re: fileno

2006-01-11 Thread DBSMITH
cc Subject 01/11/2006 03:57 Re: fileno

RE: fileno

2006-01-03 Thread Timothy Johnson
You should be able to open a pipe to gpg. Here is something I've used on Windows (watch for line wraps): open(GPG,"| gpg.exe -q --passphrase-fd 0 -o \"$decrypted\" -d \"$encrypted\""); print GPG 'passphrase'."\n"; close GPG; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: fileno

2006-01-03 Thread Tom Phoenix
On 1/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am using gpg within a Perl program to decrypt some data files. In order > to decrypt a passphrase has to be passed to the gpg binary and I choose to > use fileno function but it is hanging waiting on the passphrase. It's generally diffic