From: Bill Frantz <frantz@pwpconsult.com>
Replying To: Withers, Robert <rwithers@quallaby.com>
Date: Wed, 20 Nov 2002 17:06:32 -0800
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.  :-) rwithers12


>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. rwithers12 


>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. rwithers12


>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". rwithers12 

>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. markm rwithers12 


>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! rwithers12 

Cheers - Bill 


-------------------------------------------------------------------------
Bill Frantz           | The principal effect of| Periwinkle -- Consulting
(408)356-8506         | DMCA/SDMI is to prevent| 16345 Englewood Ave.
frantz@pwpconsult.com | fair use.              | Los Gatos, CA 95032, USA


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