Alexander Afanasyev | d6b3bda | 2014-11-25 17:33:58 -0800 | [diff] [blame] | 1 | Private, public keys, and public key certificates (sqlite3 PIB and file-based TPM files) |
| 2 | are included here to ensure stable security environment to guarantee the exact output for |
| 3 | key-dependent test operations. |
| 4 | |
| 5 | If it is necessary to re-generate the environment, remove PIT and TPM files, uncomment and |
| 6 | run ManagementTool/InitPreconfiguredKeys test case and then copy contents of /tmp/.ndn |
| 7 | into this folder. |
| 8 | |
| 9 | The following keys are currently pre-configured: |
| 10 | |
| 11 | $ HOME=tests/unit/mgmt ndnsec-ls-identity -C |
| 12 | / |
| 13 | +-> /ksk-1416974006376 |
Yumin Xia | 2c509c2 | 2017-02-09 14:37:36 -0800 | [diff] [blame] | 14 | +-> /KEY/ksk-1416974006376/CERT/%FD%00%00%01I%EA%3Bx%BD |
Alexander Afanasyev | d6b3bda | 2014-11-25 17:33:58 -0800 | [diff] [blame] | 15 | +-> /dsk-1416974006466 |
Yumin Xia | 2c509c2 | 2017-02-09 14:37:36 -0800 | [diff] [blame] | 16 | +-> /KEY/dsk-1416974006466/CERT/%FD%00%00%01I%EA%3By%28 |
Alexander Afanasyev | d6b3bda | 2014-11-25 17:33:58 -0800 | [diff] [blame] | 17 | |
| 18 | /ndns-test |
| 19 | +-> /ndns-test/ksk-1416974006577 |
Yumin Xia | 2c509c2 | 2017-02-09 14:37:36 -0800 | [diff] [blame] | 20 | +-> /ndns-test/KEY/ksk-1416974006577/CERT/%FD%00%00%01I%EA%3By%7F |
Alexander Afanasyev | d6b3bda | 2014-11-25 17:33:58 -0800 | [diff] [blame] | 21 | +-> /ndns-test/dsk-1416974006659 |
Yumin Xia | 2c509c2 | 2017-02-09 14:37:36 -0800 | [diff] [blame] | 22 | +-> /ndns-test/KEY/dsk-1416974006659/CERT/%FD%00%00%01I%EA%3Bz%0E |
Alexander Afanasyev | d6b3bda | 2014-11-25 17:33:58 -0800 | [diff] [blame] | 23 | |
| 24 | |
| 25 | After 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. |