Closed sumaky closed 1 year ago
Cert Blocker Review: @emargolis is working on this with @tcarmelveilleux.
is there more work to be done here in addition to #19629, or can we close this issue?
@franck-apple API's for following are required 1.We could not see any IPKValue int logs with trace enabled. AddNOC command requires IPKValue as its parameter.
Cert Blocker Review Update 06/28: @sumaky and team working Evgeni to generate invalid opcerts
@sumaky The chip-cert
tool was updated to generate invalid operational certificates. For the tool to be able to generate invalid certificate the tool should be compiled with the CHIP_CONFIG_TEST
define set.
You can print help menu to see all possible errors that can be injected into RCAC, ICAC, and NOC certificates:
./out/debug/linux_x64_clang/chip-cert gen-cert -h
For example, to generate oversize NOC certificate (larger than 400 bytes):
./out/debug/linux_x64_clang/chip-cert gen-cert -I -E cert-oversized --type n --subject-chip-id DE00000000000001 --valid-from "2020-10-15 14:23:43" --lifetime 7305 --ca-cert <ICAC_Cert_File> --ca-key <ICAC_Key_File> --key <NOC_Public_Key_File> --out -
I can also help to generate certificate with any other error.
It looks that this ticket is focusing on UpdateNOC
command. The similar errors can be injected into certificates generated for AddTrustedRootCertificate
and AddNOC
commands.
There is no need to inject error into certificate when we need to generate NOC that doesn't chain up to the TrustedRootCertificates. In this case we just use different RootCertificate to sign ICAC.
Also, I don't think I understand the test cases listed in this ticket:
These require clarifications.
We need to have access to the root store of chip-tool for the chip-cert commands to properly generate these cert chains to be valid with UpdateNOC. I am working on Python method to do this test
Cert Blocker Review: Marking this as 'needs provisional' unless we have a resolution to this issue today.
Hi @tcarmelveilleux, Could you share any updates on the python script?
Given this is now marked provisional in the linked test plan, moving out of 1.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This stale issue has been automatically closed. Thank you for your contributions.
Following are the requirements to validate TC-DM-3.4
Generate bunch of test vectors to test error scenarios in the table 11.18.5.9.