You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TC-DA-1.2: cover PAI incorrect PID encoding (#32717)
* TC-DA-1.2: add test to tests.yaml
This wasn't here before. I want to see this fail before adding the fix.
* actually set exit value
Also, apparently the formatting rules changed. OK...
* Add check for incorrectly formatted fallback PID on PAI
asserts.fail(f"Improperly encoded PID or VID when using fallback encoding {tag_str}:{s}")
60
61
returnNone
61
62
62
63
returns
@@ -132,6 +133,8 @@ def steps_TC_DA_1_2(self):
132
133
TestStep("6.7", "Verify CD security_information", "security_information = 0"),
133
134
TestStep("6.8", "Verify CD version_number", "version_number is an integer in range 0..65535"),
134
135
TestStep("6.9", "Verify CD certification_type", "certification_type has a value between 1..2"),
136
+
TestStep("7.0", "Extract the Vendor ID (VID) and Product ID (PID) from the DAC. Extract the VID from the PAI. Extract the PID from the PAI, if present",
137
+
"VID and PID are present and properly encoded in the DAC. VID is present and properly encoded in the PAI. If the PID is present in the PAI, it is properly encoded"),
135
138
TestStep("7.1", "", "If the dac_origin_vendor_id is present in the CD, confirm the dac_origin_product_id is also present. If the dac_origin_vendor_id is not present in the CD, confirm the dac_origin_product_id is also not present."),
136
139
TestStep("7.2", "If the Certification Declaration has both the dac_origin_vendor_id and the dac_origin_product_id fields, verify dac_origin fields",
137
140
("* The Vendor ID (VID) in the DAC subject and PAI subject are the same as the dac_origin_vendor_id field in the Certification Declaration.\n"
0 commit comments