PGP file decryption  
Author Message
Vedat ARAL





PostPosted: Visual FoxPro General, PGP file decryption Top

Hi All,
I'm looking for an API to decrypt PGP encrypted files.
I were using command line PGP program to do it. Sometimes it fails, so I decided to look for some other solutions.

Another question would be if I could use MS CryptoAPI to decrypt PGP encrypted files
Any help appreciated.
Thank you in advance.




Visual FoxPro1  
 
 
Alex Feldstein





PostPosted: Visual FoxPro General, PGP file decryption Top

You need some version of PGP, either the free or commercial version you are using. There is no API to my knowledge. Search online for PGP implementations and pick the one that is most convenient. As long as you have your key ring and your private key and the public key used for the message encyption you'll be fine.

Unfortunately MS CryptoAPI will not work with PGP.

 


 
 
Vedat ARAL





PostPosted: Visual FoxPro General, PGP file decryption Top

Hi Alex,
I found a DLL called NSDPGP.DLL. A free program, tested it and worked very well.
Thank you very much.

 
 
Vasim





PostPosted: Visual FoxPro General, PGP file decryption Top

I use this product http://www.eldos.com/sbb/ SecureBlackbox, If you decide to use the Component, I can post some code too. Hope this helps.
 
 
RajaKumaravel





PostPosted: Visual FoxPro General, PGP file decryption Top

I’m using SecureBlackbox(3rd party) PGP component into BTS 2006 R2. Now am getting “Cannot modify Key” error.

FYI: I’m not modifying any key value.

Let me get help...

Thanks,

Raja


 
 
Ira Wald





PostPosted: Visual FoxPro General, PGP file decryption Top

I use this product http://www.eldos.com/sbb/ SecureBlackbox, If you decide to use the Component, I can post some code too. Hope this helps.

I would appreciate if you would post some code. I have been looking at Eldos as well. I have been having troubles getting even the most basic functions to work. Example:

oKeyRing = CREATEOBJECT("pgpbbox.ElPGPKeyringX")
oKeyRing.loadFromFiles("s:\crypto\public.pkr","",.T.)

The message displayed by the system is:
OLE IDispatch exception code 0 from pgpbbox.ElPGPKeyringX: Failed to open file.

The equivalent from VB works great. So - the key is there and is accessable to applications.

I also have included the private key as parameter 2, rather than a blank. Same error.

There seems to be a lack of selection for good activex components that can do PGP. The one that I thought would do great was from Xceed - but they only supported RSA w/o the PGP wrapper.

Thanks in advance for your help.