blob: b6703312cc3fbce9c25fdc374a1f121dc8dd46a3 [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
Yumin Xia2c509c22017-02-09 14:37:36 -080014 +-> /KEY/ksk-1416974006376/CERT/%FD%00%00%01I%EA%3Bx%BD
Alexander Afanasyevd6b3bda2014-11-25 17:33:58 -080015 +-> /dsk-1416974006466
Yumin Xia2c509c22017-02-09 14:37:36 -080016 +-> /KEY/dsk-1416974006466/CERT/%FD%00%00%01I%EA%3By%28
Alexander Afanasyevd6b3bda2014-11-25 17:33:58 -080017
18 /ndns-test
19 +-> /ndns-test/ksk-1416974006577
Yumin Xia2c509c22017-02-09 14:37:36 -080020 +-> /ndns-test/KEY/ksk-1416974006577/CERT/%FD%00%00%01I%EA%3By%7F
Alexander Afanasyevd6b3bda2014-11-25 17:33:58 -080021 +-> /ndns-test/dsk-1416974006659
Yumin Xia2c509c22017-02-09 14:37:36 -080022 +-> /ndns-test/KEY/dsk-1416974006659/CERT/%FD%00%00%01I%EA%3Bz%0E
Alexander Afanasyevd6b3bda2014-11-25 17:33:58 -080023
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.