abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since c0fd8bc was
be6cb41,
checked in by Mei <mei@…>, 12 years ago
|
1) forgot to add the new files
|
-
Property mode set to
100755
|
File size:
615 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | """ |
---|
4 | See README for the semantics. This creates principals |
---|
5 | using ID and write out the credential file pair, cert/privkey |
---|
6 | """ |
---|
7 | import os |
---|
8 | import ABAC |
---|
9 | |
---|
10 | jackID=ABAC.ID("SuperK", 0) |
---|
11 | jackID.write_cert_file("SuperK_ID.pem") |
---|
12 | jackID.write_privkey_file("SuperK_private.pem") |
---|
13 | |
---|
14 | jackID=ABAC.ID("Jack", 0) |
---|
15 | jackID.write_cert_file("Jack_ID.pem") |
---|
16 | jackID.write_privkey_file("Jack_private.pem") |
---|
17 | |
---|
18 | bobID=ABAC.ID("Bob", 0) |
---|
19 | bobID.write_cert_file("Bob_ID.pem") |
---|
20 | bobID.write_privkey_file("Bob_private.pem") |
---|
21 | |
---|
22 | maryID=ABAC.ID("Mary", 0) |
---|
23 | maryID.write_cert_file("Mary_ID.pem") |
---|
24 | maryID.write_privkey_file("Mary_private.pem") |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.