jxbma
asked on
VB and PGP Decryption
Hi:
I have a VB 6.0 application that needs to download files from an FTP site where the files are PGP encrypted. I've been doing a little research, but have been a little confused by the results I've found. There seem to be a variety of free and pay-for solutions out there. I'm not sure which is the best way to go. There must be some sort of COM component available I can use (via it's API). I have a keyring generated by the site provider. I also need to move the files around on the site between directories (not sure if this is an issue). Please provide an explanation and some sample code.
Thanks,
JohnB
I have a VB 6.0 application that needs to download files from an FTP site where the files are PGP encrypted. I've been doing a little research, but have been a little confused by the results I've found. There seem to be a variety of free and pay-for solutions out there. I'm not sure which is the best way to go. There must be some sort of COM component available I can use (via it's API). I have a keyring generated by the site provider. I also need to move the files around on the site between directories (not sure if this is an issue). Please provide an explanation and some sample code.
Thanks,
JohnB
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I download the encrypted file from a secure FTP site. Once the file is saved locally, I run the PGP command line against it to decrypt it.
ASKER
OK. I've finally been able to get back to dealing with PGP decryption.
I've downloaded and installed from the PGP recommended link you mentioned. In my programs directory, under PGP, I see that I have a number of executables to choose from: PGPdesk.exe, PGPnetshare.exe, PGPfsd.exe, PGPtray.exe, PGPwde.exe. I've tried running these from the (dos) command line to see which one I should use for decryption from the command line. I've looked through the help documentation, but have been unable find anything. Which executable should I be using, and what are the appropriate command line options. Is there a way to get a list of the command line options?
Thanks,
JohnB
I've downloaded and installed from the PGP recommended link you mentioned. In my programs directory, under PGP, I see that I have a number of executables to choose from: PGPdesk.exe, PGPnetshare.exe, PGPfsd.exe, PGPtray.exe, PGPwde.exe. I've tried running these from the (dos) command line to see which one I should use for decryption from the command line. I've looked through the help documentation, but have been unable find anything. Which executable should I be using, and what are the appropriate command line options. Is there a way to get a list of the command line options?
Thanks,
JohnB
I use "Download PGP 6.5.8 command line"
>>Which executable should I be using,
I am using PGP.exe
>>and what are the appropriate command line options.
It depends on the option used to encrypt the file. Personnaly, I had to use:
pFileName + " -z " + strPassPhrase + " +force"
>>Is there a way to get a list of the command line options?
I found it in what I have downloaded.
>>Which executable should I be using,
I am using PGP.exe
>>and what are the appropriate command line options.
It depends on the option used to encrypt the file. Personnaly, I had to use:
pFileName + " -z " + strPassPhrase + " +force"
>>Is there a way to get a list of the command line options?
I found it in what I have downloaded.
ASKER
Thanks kindly for your time and effort.
JohnB