[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PGP for dummys



At 05:20 PM 5/9/2002 -0400, you wrote:
I hardcoded it and it still did not work...
I used /usr/local/gpg  and it NOW works... 8 hours <groan>

We'll you beat my initial time of 15 hours.....  ;-)

$data =~ s/\$/\\\$/g;
print "sec=/home/sites/home/users/admin/.gnupg<br>";
@enc_data = `echo "$data" | /usr/local/bin/gpg --always-trust -aer keyname
--homedir /home/sites/home/users/admin/.gnupg`;

Seems strange that you can call gpg directly from the command line and have it work but have to specify the path for the script.
I don't have to specify the path but mine installed in /usr/local/lib/gnupg.

Brian


Brian M. Rahill
President
RainStorm, Inc.
www.rainstormconsulting.com
"Designing Strategies for Internet Success."
brian@xxxxxxxxxxxxxxxx
Phone: 207-866-3908
Fax: 207-866-0297