[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tarsnap-keygen script usage
The source looks like it's designed to talk to you, so you'll probably
have to use 'expect' or something similar to talk back for you.
Scott
On Thu, Jun 02, 2011 at 06:13:56AM -0400, Kevin Gilpin wrote:
> Can someone advise me on this question please?
>
> - kevin
>
> On Sat, May 28, 2011 at 9:38 PM, Kevin Gilpin <kevin.gilpin@praxeon.com>wrote:
>
> > I would like to provide the
> >
> > --passphrased
> >
> > argument from a script. How can I do that?
> >
> > I have tried putting the arguments in a file separated by newlines and
> > then:
> >
> > cat /tmp/tarsnap.txt | /usr/local/bin/tarsnap-keygen
> >
> > but it didn't work. tarsnap-keygen prompted for the passphrase even though
> > the file contained 3 lines (my password, passphrase, passphrase again)
> >
> > - kevin
> >
> > --
> > CTO
> > Praxeon Inc
> > kevin.gilpin@praxeon.com
> >
> >
>
>
> --
> CTO
> Praxeon Inc
> kevin.gilpin@praxeon.com
--
Scott Wiersdorf
<scott@perlcode.org>