Re: Decryption problems using php

2012-06-05 Thread Philipp Schafft
reflum, On Tue, 2012-06-05 at 10:20 +0530, Amol Patil wrote: > Currenlty I am having problem with the decryption of the file my code > is like this > > echo shell_exec("echo $passphrase | $gpg --passphrase-fd 0 -o > $unencrypted_file -d $encrypted_file"); If you do this the passphrase can

Decryption problems using php

2012-06-04 Thread Amol Patil
Hello, Currenlty I am having problem with the decryption of the file my code is like this echo shell_exec("echo $passphrase | $gpg --passphrase-fd 0 -o $unencrypted_file -d $encrypted_file"); when I checked using echo beforer executing it will shown as below passphrase|gpg --output /v