1745802 Members
3493 Online
108722 Solutions
New Discussion

pgp-6.5.8 question

 
Martin Christov
Advisor

pgp-6.5.8 question

hi folks,
could somebody help me?
thanks in advance!
i use pgp for crypting the contents of ascci files. my script ist working pretty if i start it from the command line. starting over cron produce the error message:
/usr/bin/PGP/pgp-6.5.8/pgp -es /var/dfu/ftp_server/pub/f3301pgp/out/LL1401AK.058 par2 -u par3
Pretty Good Privacy(tm) Version 6.5.8
(c) 1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.


A secret key is required to make a signature.

Recipients' public key(s) will be used to encrypt.
ncryption error

For a usage summary, type: pgp -h
For more detailed help, consult the PGP User's Guide.

###
I use following settings in my script:
...
PGP=/usr/bin/PGP/pgp-6.5.8/pgp
export PGPPASS="PAR1"
${PGP} -es ${FIL} $PAR2 -u $PAR3
...



sudo question
1 REPLY 1
Martin Christov
Advisor

Re: pgp-6.5.8 question

I have found it out myself, following settings solve the problem:
...
PGPPATH=$HOMEDIR/.pgp
export PGPPATH
PATH=/usr/sbin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/ignite/bin:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/hpnp//bin:/etc:/usr/local/bin:/sbin:/home/root:/opt/omni/sbin:/opt/omni/lbin:/opt/ifor/ls/bin:/var/yp:/usr/lib/netsvc/yp:/usr/ccs/bin:/usr/local/bin:/opt/perl5/bin:$PGPPATH:.

regards:
martin
sudo question