Skip to main content
Known Participant
December 15, 2008
Question

Coldfusion and PGP

  • December 15, 2008
  • 16 replies
  • 7559 views
Hi All,

I have pgp desktop installed on my server and I try to decrypt a string using my private & public key but I am completely lost...
Should I use cfexecute with gnugp, a cfx tag or open pgp or the Bouncy Castle Cryptography Library ...

I have a post form where I recieve a encrypted userid and I just need to decrypt it ...
Can you please help ?
This topic has been closed for replies.

16 replies

Inspiring
December 16, 2008
Hi,

Have you contacted their(www.digitaloutlook.com) support?..
aubwebAuthor
Known Participant
December 16, 2008
I've test the cfx_pgp tag but I was not able to encrypt or decrypt a string.
There is something weird because when I try to encrypt something, I have an error telling me that the passphrase is not correct (normaly you do not need to use a passphrase to encrypt ..)

so well... I am still stuck ....
aubwebAuthor
Known Participant
December 15, 2008
Thank you !
I'll let you know ...
aubwebAuthor
Known Participant
December 15, 2008
Thank you !
I'll let you know ...
Participating Frequently
December 15, 2008
Oops, sorry: www.digitaloutlook.com

There appears to be an error on the store site right now, but I'm sure an email to the administrator will get it sorted out pretty quickly.

I hope it is what you are looking for.

David
Inspiring
December 15, 2008
Hi,

Found this CFC,

https://store1.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1010167

Anyway I am not sure whether it will meet your requirement or not.
aubwebAuthor
Known Participant
December 15, 2008
Thank you, but I have already tried to use this cfc.
I am able to encrypt a string but when I try to decrypt it I have this error :


quote:

An exception occurred when executing a COM method. The cause of this exception was that: AutomationException: 0x80004005 - Memory allocation error in 'Nsdpgp3Lib.PGP.1'. The error occurred in C:\Inetpub\wwwroot\EAMEDASHBOARD\pgp.cfc: line 319
Participating Frequently
December 15, 2008
We use CFX_PGP - a 3rd party solution - for all of our PGP needs. It works very well and we've had no problems with it. I don't think there are many other solutions out there.

Cheers,

David