- see footer for list info -<
Hi Guys,
I could really use some help on this one. I don't know if anyone has done this in the past, but I have an app for a client that encrypts information using GNUPG (gpg). Now all has been well in the past sending these encypted files off to clients and them decrypting them etc. However, in this instance the client wants to keep the encrypted files on the server and type in their passphrase to decrypt them and view the contents through the browser window. Security implications of this aside, I'm having trouble with the syntax to decrypt the file. Here's what I'm doing - I get the encrypted file, I get the passphrase and try to run the windows command line to decrypt through a batch file and cfexecute. If there's a better way of doing, I'm all ears. So here's my syntax in the batch file: gpg.exe --homedir d:\gnupg\ -o d:\gnupg\6807526794177805657.asc --no-mdc-warning --passphrase-fd 0 -d D:\websites\siteX\encrypted\6807526794177805657.tmp < d:\gnupg\6807526794177805657.pas 6807526794177805657.pas contains the passphrase and is only a tempfile created for the duration of the script - the actually passphrase isn't stored anywhere on the server normally. I'm getting the following message back - no openPGP data found The password file only contains the passphrase, nothing else. Is my command line syntax wrong - or is it the format of the password file? I've searched high and low on the net, but can only find php examples on unix that do it. Any pointers? Thanks Rich _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< - Lists hosted by www.Gradwell.com -< - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
