Re: lease.sig file format oddities...

2008-04-11 Thread Martin Langhoff
On Fri, Apr 11, 2008 at 11:18 AM, Martin Langhoff
[EMAIL PROTECTED] wrote:
  As far as I can see, oddities are

And before I forget

 - python-json can read the files correctly
 - python-json cannot write files that work -- it does not match the
whitespace format, and cannot be sorted

I currently have 2 implementations in Perl and 1 in Python of
cat-leases, they all produce valid JSON but fail to work on the
laptops

hints...?


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: lease.sig file format oddities...

2008-04-11 Thread C. Scott Ananian
http://wiki.laptop.org/go/Firmware_Security
http://wiki.laptop.org/go/Firmware_Key_and_Signature_Formats
http://wiki.laptop.org/go/Contents_manifest_specification
http://wiki.laptop.org/go/Canonical_JSON
http://dev.laptop.org/git?p=users/cscott/leases
http://dev.laptop.org/git?p=users/cscott/olpc-contents
http://dev.laptop.org/git?p=users/cscott/olpc-contents;a=blob_plain;f=rpms/olpccontents-2.1-1.20080131git7206e521fc.i386.rpm;hb=HEAD
http://dev.laptop.org/~cscott/joyride-1477-api/toc-bitfrost.util-module.html
  --scott
-- 
( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: lease.sig file format oddities...

2008-04-11 Thread Martin Langhoff
Ahhh. Fantastic, thanks! What I will need here is the Canonical JSON writer from

http://dev.laptop.org/git?p=users/cscott/olpc-contents;a=blob;f=bitfrost/util/json.py;h=04d513d48298e55eb5b6295b3edab51bc0b7f3dd;hb=HEAD

cheers,



martin
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel