abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since af8e9b9 was
be6cb41,
checked in by Mei <mei@…>, 12 years ago
|
1) forgot to add the new files
|
-
Property mode set to
100755
|
File size:
480 bytes
|
Rev | Line | |
---|
[be6cb41] | 1 | #!/usr/bin/env python |
---|
| 2 | |
---|
| 3 | """ |
---|
| 4 | See README for the semantics. |
---|
| 5 | sets up 2 (Acme, Coyote) principal ID credentials |
---|
| 6 | """ |
---|
| 7 | import os |
---|
| 8 | import ABAC |
---|
| 9 | |
---|
| 10 | acme=ABAC.ID("Acme", 0) |
---|
| 11 | acme.write_cert_file("Acme_ID.pem") |
---|
| 12 | acme.write_privkey_file("Acme_private.pem") |
---|
| 13 | |
---|
| 14 | coyote=ABAC.ID("Coyote", 0) |
---|
| 15 | coyote.write_cert_file("Coyote_ID.pem") |
---|
| 16 | coyote.write_privkey_file("Coyote_private.pem") |
---|
| 17 | |
---|
| 18 | bigbird=ABAC.ID("Bigbird", 0) |
---|
| 19 | bigbird.write_cert_file("Bigbird_ID.pem") |
---|
| 20 | bigbird.write_privkey_file("Bigbird_private.pem") |
---|
| 21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.