From: "Rob Withers" <rwithers12@attbi.com>
Date: Fri, 22 Nov 2002 02:07:35 -0500
Subject: Re: [e-lang] [VatTP] MAC calculation

Hi Bill, 

I just got e downloaded, and I was wondering how I could start a vat?  :)
I'm serious, I'm not sure I have ever run e before!    it's something like
onTheAir() or something.   would the evalServer.e help me at all?

----- Original Message -----
From: "Bill Frantz" <frantz@pwpconsult.com> 
To: <e-lang@eros-os.org>
Sent: Wednesday, November 20, 2002 8:06 PM
Subject: RE: [e-lang] [VatTP] MAC calculation


> At 2:07 PM -0800 11/20/02, Withers, Robert wrote:
> >I have remaining issues in these areas:
> >1. ASN.1 encoding for DSA public key - I currently have no VatID
>
> Yes, ASN.1 encoding is a bear.  I had to read the code in the JCE (Sun's
> crypto code for Java) to have an idea of what the format is, and then I
> promptly forgot the details.  :-)

I looked about 6 weeks ago, when I started this, and found the name of the
ASN.1 object but it was missing details  (or I jumped into the middle of the
ASN.1 spec) and said yikes!  Would you happen to have any test code or
example bits for the ASN.1 encoding?

> >2. cryptoHash of that encoding (is it MD5?)
>
> The cryptoHash which becomes the VatID is SHA1 of the ASN.1 encoding of the
> public key.

awesome, that's one Squeak has support for, thanks to Luciano and his
prowess. 

> >3. UTF encoding for protocol version and authentication protocol
>
> Since the protocol and version fields only contain 7 bit ASCII characters,
> the UTF is one byte/character and compatible with 7 bit ASCII.  These
> fields are proceeded by a 2 byte binary (bigendian) length field.

how bad is this bigendian problem going to be for me?  I have no idea if the
endianness is taken care of for me in squeak.  gee, I hope it is. 

>
> >6. I have no VLS or support for TOK_DUP, TOK_TRY
>
> Yea, no one has a VLS.  It is on my plate, and is proceeding at what can
> only be described with charity as a "glacial pace".

yes, my elib implementation has taken me a year so far. 

>
> >7. I have no connection states managed in the VatTPMgr for the different
> >types of connection establishment (no suspend, etc).  I do have a state
> >machine and the connection knows its state, I just don't do anything with it
> >yet in the mgr.
>
> I don't know that we are using suspend/resume these days.  We used it in
> original E.

I see the connection states in the VatTPMgr and the suspend msg and
negotiation code in StartUpProtocol.   I like the concept, alongside all of
the other features in VatTP.

>
>
> >this is a *lot* of work, supporting elib, and I haven't even approached
> >makers, assayers, guards or any of that.
>
> >On the other hand, I am very close
> >to being able to communicate with an E vat, I think.
>
> Way cool!

thank you.  We'll see if it amounts to a completed project. 

cheers,
robert 


_______________________________________________
e-lang mailing list
e-lang@mail.eros-os.org
http://www.eros-os.org/mailman/listinfo/e-lang