blob: 98592046053f6355de6ce911365ebc5317505777 [file] [log] [blame]
Alexander Afanasyevd6b3bda2014-11-25 17:33:58 -08001Private, public keys, and public key certificates (sqlite3 PIB and file-based TPM files)
2are included here to ensure stable security environment to guarantee the exact output for
3key-dependent test operations.
4
5If it is necessary to re-generate the environment, remove PIT and TPM files, uncomment and
6run ManagementTool/InitPreconfiguredKeys test case and then copy contents of /tmp/.ndn
7into this folder.
8
9The following keys are currently pre-configured:
10
11$ HOME=tests/unit/mgmt ndnsec-ls-identity -C
12 /
13 +-> /ksk-1416974006376
14 +-> /KEY/ksk-1416974006376/ID-CERT/%FD%00%00%01I%EA%3Bx%BD
15 +-> /dsk-1416974006466
16 +-> /KEY/dsk-1416974006466/ID-CERT/%FD%00%00%01I%EA%3By%28
17
18 /ndns-test
19 +-> /ndns-test/ksk-1416974006577
20 +-> /ndns-test/KEY/ksk-1416974006577/ID-CERT/%FD%00%00%01I%EA%3By%7F
21 +-> /ndns-test/dsk-1416974006659
22 +-> /ndns-test/KEY/dsk-1416974006659/ID-CERT/%FD%00%00%01I%EA%3Bz%0E
23
24
25After keys are re-generated, the following actions need to be taken in ManagementTool test suite:
26
27- ManagementToolFixture constructor should initialize new names of certificates
28- ExportCertificate, ListAllZones, ListZone, GetRrSet test cases should be fixed to
29 reflect the new keys.