Making leases and devkeys from a CSV file - now in olpc-bios-crypto

Martin Langhoff martin.langhoff at
Thu Aug 27 13:29:28 EDT 2009

I've just written 2 convenient scripts that wrap around obc-make-lease
and obc-make-devkey.

These allow you to create a CSV file of the XOs, containing the SN and
UUID, and then generate leases or devkeys for those XOs.

To use:

  - On an XS: yum --enablerepo=olpcxs-testing install olpc-bios-crypto
... otherwise grab the latest olpc-bios-crypto rpm from

  - Create a CSV file, with no quotes or strange spaces - just each line having:

  - Execute --signingkey /path/to/your/key
laptops.csv >  mynewleases.sig

Note: The script will "complete" the path to the key, so you must
_not_ include the trailing ".private".

Patch implementing this is here:


 martin.langhoff at
 martin at -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first

More information about the Devel mailing list