#!/usr/bin/env python """ See README for the semantics. This creates principals using ID and write out the credential file pair, cert/privkey """ import os import ABAC ctxt = ABAC.Context() jackID=ABAC.ID("Jack", 0) jackID.id_write_cert("Jack_ID.pem") jackID.id_write_privkey("Jack_private.pem") bobID=ABAC.ID("Bob", 0) bobID.id_write_cert("Bob_ID.pem") bobID.id_write_privkey("Bob_private.pem")