[ic] Generating Keys & Applying Signatures

Zack Johnson interchange-users@lists.akopia.com
Wed Jun 27 18:23:00 2001


The Expect homepage is http://expect.nist.gov/

I've not used Expect to generate PGP keys before, so I can't send you any
scripts.  However, once you get the syntax down for using PGP to generate
keys you should have little difficulty in modifying one of the scripts on
the Expect homepage to suit your needs.

There is also a PERL module called Expect, and is available on CPAN.

Good luck!

Zack

----- Original Message -----
From: "ETH Zurich" <ethz@hotmail.com>
To: <interchange-users@developer.akopia.com>
Sent: Wednesday, June 27, 2001 5:55 PM
Subject: Re: [ic] Generating Keys & Applying Signatures


> Hi Zack,
>
> I have read through the manual for Expect. I have to admit that I am very
> new to this. Is it possible for u to give me some sample scripts on using
> Expect to do PGP keys generation to get me started, or at least, let me
know
> where to get them.
>
> Thanks very much!
>
>
> >From: "Zack Johnson" <zack@office.standardprinting.net>
> >Reply-To: interchange-users@developer.akopia.com
> >To: <interchange-users@developer.akopia.com>
> >Subject: Re: [ic] Generating Keys & Applying Signatures
> >Date: Tue, 26 Jun 2001 13:06:15 -0400
> >
> >Take advantage of 'expect'.  Checkout the man page (type 'man expect').
> >
> >Cheers!
> >
> >Zack
> >----- Original Message -----
> >From: "ETH Zurich" <ethz@hotmail.com>
> >To: <interchange-users@developer.akopia.com>
> >Sent: Tuesday, June 26, 2001 11:45 AM
> >Subject: Re: [ic] Generating Keys & Applying Signatures
> >
> >
> > > Thanks for ur reply Dan!
> > >
> > > There is a problem with generating a PGP key-pair for a customer. The
> > > command requires the entering of a passphrase and some random
> >keystrokes.
> > > How do I:
> > >
> > > 1. Make it work in such a way that the passphrase for the key-pair is
> >the
> > > same as the customer's login password; i.e extract the login password
of
> >the
> > > customer from the user database and feed it directly into the
> >commandline?
> > >
> > > 2. Skip the usual process of entering some random keystrokes for the
> > > generating of the key-pair so that everything will be done
automatically
> >and
> > > the key-pair saved onto disc?
> > >
> > > Thanks in advanced!
> > >
> > >
> > > > >  List-Help:
> > > ><mailto:interchange-users-request@lists.akopia.com?subject=help>
> > > > >  List-Post: <mailto:interchange-users@lists.akopia.com>
> > > > >  List-Subscribe:
> > > ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > > >
> ><mailto:interchange-users-request@lists.akopia.com?subject=subscribe>
> > > > >  List-Id: Interchange Users (high volume)
> > > ><interchange-users.lists.akopia.com>
> > > > >  List-Unsubscribe:
> > > ><http://lists.akopia.com/mailman/listinfo/interchange-users>,
> > > > >
> > > >
> ><mailto:interchange-users-request@lists.akopia.com?subject=unsubscribe>
> > > > >  List-Archive:
> ><http://lists.akopia.com/pipermail/interchange-users/>
> > > > >  X-Original-Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > > >  Date: Mon, 25 Jun 2001 19:30:26 -0700
> > > > >
> > > > >  --=====================_546276053==_
> > > > >  Content-Type: text/plain; charset="us-ascii"; format=flowed
> > > > >
> > > > >  At 09:33 PM 6/25/2001 +0200, you wrote:
> > > > >  >I need to modify the Create New Account and the Check Out
> >processes
> >in
> > > > >  >such a way that:
> > > > >  >
> > > > >  >1. Whenever a new user register him/herself, Interchange will
> >generate
> > > >a
> > > > >  >key-pair for him/her and store it a certain directory on the
> >server;
> > > > >  >
> > > > >  >2. Whenever a registered user checked out, Interchange will make
> >use
> > > >of
> > > > >  >the user's key-pair to sign on the purchase order before
> >encrypting
> >it
> > > >and
> > > > >  >sending it to the supervisor.
> > > > >  >
> > > > >  >Interchange already provides the functions to encrypt and send
the
> > > > >  >purchase order via (encrypted) email to the supervisor. What I
> >would
> > > >like
> > > > >  >to do now is to modify the process such that it will do the 2
> >things
> > > >that
> > > > >  >I stated above. The most important thing is for Interchange to
> >SIGN
> > > >the
> > > > >  >purchase order using the buyer's key-pair before encrypting and
> > > >sending it
> > > > >  >to the higher level.
> > > > >  >
> > > > >  >Can anybody please help me?
> > > > >
> > > > >  Checkout the [encrypt] usertag, posted by Ed L. a while back (and
> > > >attached
> > > > >  here).  It seems like you'll need to manually program all the
stuff
> > > >about
> > > > >  generating keypairs, but you can use this to easily call gpg with
> > > >specific
> > > > >  parameters and input.
> > > > >
> > > > >  Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
> > > > >  _______________________________________________
> > > > >  Interchange-users mailing list
> > > > >  Interchange-users@lists.akopia.com
> > > > >  http://lists.akopia.com/mailman/listinfo/interchange-users
> > > > >
> > > > >
> > > >
> > >
> > >
> >_________________________________________________________________________
> > > Get Your Private, Free E-mail from MSN Hotmail at
> >http://www.hotmail.com.
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>