Cfexecute should still return the command line error. 

Depending on the OS of the ColdFusion server (Windows 2003, or XP) it
could be that DEP is blocking GPG. 

If you have access to the server see if you can add gpg.exe to the list
of applications not excluded by DEP. 

To edit DEP:
Go to System Properties -> Advanced - > Performance -> Settings - > Data
Execution Prevention. 
 

Terrence Ryan 
Senior Systems Programmer
Wharton Computing and Information Technology 
        
E-mail:         [EMAIL PROTECTED]

-----Original Message-----
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 10, 2006 11:22 AM
To: CF-Talk
Subject: GPG and cfexecute, or...

I'm trying to encrypt a download file with gpg and I'm having some
problems. First off, I'm just running the following code as a test of
returning anything from the exe:

<cfexecute name="C:\Program Files\GNU\GnuPG\gpg.exe" variable="fp" 
arguments=" --fingerprint"></cfexecute>
<cfdump var="#fp#">
Every time I get the error that "Variable fp is undefined". I copied the
netsat executable into the same directory and I can run/dump it just
fine from there, but the gpg just doesn't seem to have any success
running. Is anyone else using gpg who may be able to help me out a
little -- maybe there's a better alternative to using cfexecute even?? 
I've got Wayne Graham's java wrapper and cfc from a year or two ago, but
as he warned it's not really working very well with the latest versions
of gpg. It always just returns "no valid OpenPGP data found."

Anyway, TIA

-- 


*****************
Ken Ferguson
214.636.6126
*****************





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245940
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to