[OpenID] cryptographics web of trust

Peter Williams pwilliams at rapattoni.com
Thu Aug 23 01:59:39 UTC 2007


Vast improvement achieved after fiddling around (blindly) some more:-

1. One must have the 88k variety of version 2.0.0.0 of Boo.Lang in the
runtime load path.

2. Mono.Security (2.0.0.0) must be (manually) placed into the bin/
directory of the build tree for use by nunit(1)

Most unit tests now complete ok. Which makes this half day investment
now be all worthwhile.


Now I can bother comprehending what the various modules do; and change
them. The code seems intuitive at first glance - one code module for
each message type in the protocol.

Peter.



test:

   [nunit2] Tests run: 58, Failures: 3, Not run: 0, Time: 5.484 seconds
   [nunit2]
   [nunit2] Failures:
   [nunit2] 1)
Janrain.OpenId.Test.HMACSHA1AssociationTestSuite.SerializeDeserialize :
System.OverflowException : Arithmetic operation resulted in an
overflow.
   [nunit2]    at Janrain.OpenId.HMACSHA1Association.GetHashCode() in
c:\Documents and
Settings\Administrator\Desktop\dotnet-openid-1.1.0-pre2\dotnet-
openid-1.1.0-pre2\openid\association.boo:line 133
   [nunit2]    at
Janrain.OpenId.Test.HMACSHA1AssociationTestSuite.SerializeDeserialize()
in c:\Documents and Settings\Administrator\Desktop\dotnet-op
enid-1.1.0-pre2\dotnet-openid-1.1.0-pre2\test\openid\test_association.bo
o:line 19
   [nunit2]
   [nunit2] 2) Janrain.OpenId.Test.TestProtocolError.BrowserWithReturnTo
:
   [nunit2]  String lengths are both 37.
   [nunit2]  Strings differ at index 7.
   [nunit2]  expected: <"openid.error=plucky&openid.mode=error">
   [nunit2]   but was: <"openid.mode=error&openid.error=plucky">
   [nunit2]  -------------------^
   [nunit2]    at
Janrain.OpenId.Test.TestProtocolError.BrowserWithReturnTo() in
c:\Documents and Settings\Administrator\Desktop\dotnet-openid-1.1.0-p
re2\dotnet-openid-1.1.0-pre2\test\openid\test_server.boo:line 45
   [nunit2]
   [nunit2] 3) TrustRootTests.GetX : True - http://mylid.net/j3h. -
http://mylid.net/j3h.?x=y
   [nunit2]    at MatchTest.Run() in c:\Documents and
Settings\Administrator\Desktop\dotnet-openid-1.1.0-pre2\dotnet-openid-1.
1.0-pre2\test\openid\tes
t_trustroot.boo:line 61
   [nunit2]    at TrustRootTests.GetX() in c:\Documents and
Settings\Administrator\Desktop\dotnet-openid-1.1.0-pre2\dotnet-openid-1.
1.0-pre2\test\open
id\test_trustroot.boo:line 107
   [nunit2]
   [nunit2]
   [nunit2]
-----Original Message-----
From: general-bounces at openid.net [mailto:general-bounces at openid.net] On
Behalf Of Peter Williams
Sent: Wednesday, August 22, 2007 6:11 PM
Cc: OpenID General
Subject: Re: [OpenID] cryptographics web of trust



On 22 Aug 2007, at 05:26, Peter Williams wrote:

> Let me simplify all this, by just programming it. I've decide to learn
> the Boo programming language and apply associated Mono compilers (on
> WindowNT).
>

I took about half a day (this first time), but on Windows 2003 SP.latest
one can compile the source (with Boo Compiler version 0.7.8.2559 (CLR
v2.0.50727.832), and NAnt 0.85 (Build 0.85.2478.0; release;
10/14/2006)), after some minor porting. 

In summary, I have low confidence the libraries are "well built",
however. Unit tests failed.




More information about the general mailing list