Greetings,
SunOS 5.8.
If I need to decrypt files using the pgpv command in a Perl script which
is run as a crontab job, how should I provide the passphrase that's
read from a file located in a secure place automatically?
Thanks in advance for any ideas.
Bing
|
|
0
|
|
|
|
Reply
|
Bing
|
7/7/2003 10:29:08 PM |
|
In article <3F09F434.4476ABC8@tamu.edu>,
Bing Du Test <bing-du@tamu.edu> wrote:
> SunOS 5.8.
>
> If I need to decrypt files using the pgpv command in a Perl script which
> is run as a crontab job, how should I provide the passphrase that's
> read from a file located in a secure place automatically?
Embedding passwords in files, even if the permissions restrict access,
is considered less secure. Sometimes there's no other way around this
without implementing something much more complicated. If the passphrase
is already encrypted, this would be easier.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
|
|
0
|
|
|
|
Reply
|
Michael
|
7/8/2003 12:33:36 AM
|
|
Thanks Michael. I'm interested in 'implementing something much more
complicated' you indicated in your message. Would you be more specific about
what it could be?
I think what I originally asked was how to enter password or passphrase in
script rather than being prompted interactively?
Bing
"Michael Vilain " wrote:
> In article <3F09F434.4476ABC8@tamu.edu>,
> Bing Du Test <bing-du@tamu.edu> wrote:
>
> > SunOS 5.8.
> >
> > If I need to decrypt files using the pgpv command in a Perl script which
> > is run as a crontab job, how should I provide the passphrase that's
> > read from a file located in a secure place automatically?
>
> Embedding passwords in files, even if the permissions restrict access,
> is considered less secure. Sometimes there's no other way around this
> without implementing something much more complicated. If the passphrase
> is already encrypted, this would be easier.
>
> --
> DeeDee, don't press that button! DeeDee! NO! Dee...
|
|
0
|
|
|
|
Reply
|
Bing
|
7/8/2003 2:29:48 PM
|
|
In article <3F0AD55C.37EAB6D5@tamu.edu>,
Bing Du Test <bing-du@tamu.edu> wrote:
> Thanks Michael. I'm interested in 'implementing something much more
> complicated' you indicated in your message. Would you be more specific about
> what it could be?
>
> I think what I originally asked was how to enter password or passphrase in
> script rather than being prompted interactively?
>
> Bing
>
> "Michael Vilain " wrote:
>
> > In article <3F09F434.4476ABC8@tamu.edu>,
> > Bing Du Test <bing-du@tamu.edu> wrote:
> >
> > > SunOS 5.8.
> > >
> > > If I need to decrypt files using the pgpv command in a Perl script which
> > > is run as a crontab job, how should I provide the passphrase that's
> > > read from a file located in a secure place automatically?
> >
> > Embedding passwords in files, even if the permissions restrict access,
> > is considered less secure. Sometimes there's no other way around this
> > without implementing something much more complicated. If the passphrase
> > is already encrypted, this would be easier.
Just a SWAG, but why not investigate other encryption methods like
kerberos or setup a public/private key server and use those. It's not a
trival problem and this about streches the limit of my knowledge.
Bottom line: someone has to know a password/phrase that must be entered
somewhere--either via terminal or file. Unless there's some other way
to do it, I think you're SOL.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
|
|
0
|
|
|
|
Reply
|
Michael
|
7/8/2003 6:48:39 PM
|
|
Philip Brown <phil+s3@bolthole.no-bots.com> wrote:
> On Mon, 07 Jul 2003 17:29:08 -0500, bing-du@tamu.edu wrote:
> >Greetings,
> >
> >SunOS 5.8.
> >
> >If I need to decrypt files using the pgpv command in a Perl script which
> >is run as a crontab job, how should I provide the passphrase that's
> >read from a file located in a secure place automatically?
>
> If your passphrase is going to be dependant on the security of the
> filesystem, then essentially, your private key is then dependant on the
> security of the filesystem. In which case, you may as well not HAVE a
> passphrase, and just rely on the security of the filesystem :->
Hmmm, with a file to read through processes...you can't
even hold the passphrase in a process to be an advantage
over holding it in a file anymore.
That was sort of the idea behind Tcl creator John Ousterhout's
technique of having a background 'expect' job that authorized
processes could pseudo-connect to to get the passphrase.
(Enter the passphrase after any reboot.)
|
|
0
|
|
|
|
Reply
|
Cypherpunk
|
7/9/2003 1:58:21 AM
|
|
|
4 Replies
494 Views
(page loaded in 0.071 seconds)
Similiar Articles: how to enter password in a batch job? - comp.unix.solaris ...Greetings, SunOS 5.8. If I need to decrypt files using the pgpv command in a Perl script which is run as a crontab job, how should I provide the pa... Password Batch Utility - comp.sys.hp.hpuxhow to enter password in a batch job? - comp.unix.solaris ... batch mode - comp.soft-sys.matlab a unix script to send email notification when a sas batch job ... > 1 ... a unix script to send email notification when a sas batch job ...how to enter password in a batch job? - comp.unix.solaris ..... unix script to send email notification when a sas batch job ... fails auth on sun cluster 3.2 scinstall ... How to execute Jar file using Batch file. - comp.lang.java ...how to enter password in a batch job? - comp.unix.solaris ... How to execute Jar file using Batch file. - comp.lang.java ..... sys.matlab Hello, I've been struggling for ... How to pass user name and password when telnet to a machine - comp ...how to enter password in a batch job? - comp.unix.solaris ... How to pass user name and password when telnet to a machine - comp ... Password Batch Utility - comp.sys.hp ... create a batch file for solaris 10 - comp.unix.solarishow to enter password in a batch job? - comp.unix.solaris ... Greetings, SunOS 5.8. If I need to decrypt files using the pgpv command in a Perl script which is run as a ... Batch mode. Run the script in the background - comp.soft-sys.math ...how to enter password in a batch job? - comp.unix.solaris ..... the pgpv command in a Perl script which is run as ... technique of having a background 'expect ... batch ... Submitting parallel jobs to local scheduler - comp.soft-sys.matlab ...how to enter password in a batch job? - comp.unix.solaris ..... batch, password, file, input We want to schedule a job to ... RACF® TSO commands in the background by ... How to exec a complicated command? - comp.lang.tclhow to enter password in a batch job? - comp.unix.solaris ... If I need to decrypt files using the pgpv command in a ... this without implementing something much more ... How to read an Excel file using TCL Scripts - comp.lang.tcl ...how to enter password in a batch job? - comp.unix.solaris ... If I need to decrypt files using the pgpv command in a Perl script which is run ... of the filesystem ... how to enter password in a batch job? - comp.unix.solaris ...Greetings, SunOS 5.8. If I need to decrypt files using the pgpv command in a Perl script which is run as a crontab job, how should I provide the pa... What is a batch job? - Knowledge Base... Password: ... The opposite of a batch job is interactive processing, in which users enter individual commands to be ... 7/22/2012 2:33:48 AM
|