From 9a989e9c9d03c67b3321b419e118ade00dda1ab9 Mon Sep 17 00:00:00 2001 From: Evgeny Margolis Date: Tue, 13 Sep 2022 07:20:21 -0700 Subject: [PATCH] [TC-DA-1.4] Added Test Case Vector with Invalid (Untrusted) PAA. (#22577) --- .../commissioner_dut/invalid_paa/cd.der | Bin 0 -> 236 bytes .../commissioner_dut/invalid_paa/dac-Cert.der | Bin 0 -> 466 bytes .../commissioner_dut/invalid_paa/dac-Cert.pem | 12 ++++++ .../commissioner_dut/invalid_paa/dac-Key.der | Bin 0 -> 121 bytes .../commissioner_dut/invalid_paa/dac-Key.pem | 5 +++ .../commissioner_dut/invalid_paa/paa-Cert.pem | 12 ++++++ .../commissioner_dut/invalid_paa/paa-Key.pem | 5 +++ .../commissioner_dut/invalid_paa/pai-Cert.der | Bin 0 -> 460 bytes .../commissioner_dut/invalid_paa/pai-Cert.pem | 12 ++++++ .../commissioner_dut/invalid_paa/pai-Key.der | Bin 0 -> 121 bytes .../commissioner_dut/invalid_paa/pai-Key.pem | 5 +++ .../invalid_paa/test_case_vector.json | 9 +++++ .../chip-cert/gen_com_dut_test_vectors.py | 35 ++++++++++++++++++ 13 files changed, 95 insertions(+) create mode 100644 credentials/development/commissioner_dut/invalid_paa/cd.der create mode 100644 credentials/development/commissioner_dut/invalid_paa/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/invalid_paa/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/invalid_paa/dac-Key.der create mode 100644 credentials/development/commissioner_dut/invalid_paa/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/invalid_paa/paa-Cert.pem create mode 100644 credentials/development/commissioner_dut/invalid_paa/paa-Key.pem create mode 100644 credentials/development/commissioner_dut/invalid_paa/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/invalid_paa/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/invalid_paa/pai-Key.der create mode 100644 credentials/development/commissioner_dut/invalid_paa/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/invalid_paa/test_case_vector.json diff --git a/credentials/development/commissioner_dut/invalid_paa/cd.der b/credentials/development/commissioner_dut/invalid_paa/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..3db6854627ab3889edbb7758a63b5ea38cf18b92 GIT binary patch literal 236 zcmXqLe96YC)#lOmotKfFX+h&{gT@<7jLe3-2Hb3%32h#Xsmv@)j0UaCy4LuB08o(PP#rRHgf= TYsI=|g}pXSf6p`CO>hAK^D9W; literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/invalid_paa/dac-Cert.der b/credentials/development/commissioner_dut/invalid_paa/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..54646763f78aa92effc64022409f223c71a91213 GIT binary patch literal 466 zcmXqLVmxQi#8|R`nTe5!i6c@Z`P77M#gYbGY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|dx8Ce*b7#W)w zM@jHo0)e5CF%X$rnp#E~xZyC<#nBnNnP{R+JS-LlKoDsl%*GCODH9{q$;^!G%uWm} zrqfDUZ*RSJQ>DbP;|5!9qZh+5?~==TdJUIuvujy5{y%1$>wBBguCC$c=NC;1vD)R| z`?KA`c^@%XdcCRiz0bNh!643n2k32CVMfOPEKCLr27DkMKZpkm7WM`MSrDI(MT|w{ z&Qx!{-@1w%vMZi1cKX|OtLEqIBm;Snv@#1Y@ESxOx2^JN_L}nasm*7*=ltdJi+}qt zAO|wD2ZMntlOn^kR|WgO=I-I{sV)w;Z&Zw&63(^Tv1B*%;vD@A3yjo?m=uh3);4~O g`=FfaziiUINbZ^2C+I9bpZ@+)eZ#a4tpcxh063kBQUCw| literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/invalid_paa/dac-Cert.pem b/credentials/development/commissioner_dut/invalid_paa/dac-Cert.pem new file mode 100644 index 00000000000000..2f20de3ef87ed0 --- /dev/null +++ b/credentials/development/commissioner_dut/invalid_paa/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzjCCAXSgAwIBAgIIWRRjypC2cxkwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMTA2Mjgx +NDIzNDNaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ1lnUF27XW2SR0MYjYBm2BSgDGS3TT +bi6A0tsHKjuB/8Y9bU3bAT5+gNnz6IIgXSt3949rRlcN4gN5Sux5Td8Fo2AwXjAM +BgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU3JVLDvstIQgd +qOejQv2K2nz5m2IwHwYDVR0jBBgwFoAU44aqTINKlOXlPPM+5w93H6P7TAAwCgYI +KoZIzj0EAwIDSAAwRQIhAJbqcL/1bbwLjHtzVz+BIVmUVwq7QXS7A6NsL7CgMiZy +AiAyLK2B8V7wI2VPppLeWQuZt5Aso89n7+J/gJaIKnBKhw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/invalid_paa/dac-Key.der b/credentials/development/commissioner_dut/invalid_paa/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..de36dd959b8fd57a2f1ab108f9a0a87c01aa58f6 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$2gDSJu@P?wiNn^}LlT3kaR%tz~wO&?Qc-*fB6t2&?x1_&yK zNX|V20SBQ(13~}Z{PIf_f>P5ni%U|AQd1N%^At)lQWadBeKZw(6H9=C3IUFe1`6W5MurAv zMiz!9M#d(_Q4;)?KwxNO3`C}urj}6#28I#_Vi3dmp&CO{i%WpIJq<++gxI*W*%(dUQv4b7Q#0YgIGb1~*69dbXOQQR9m@lZry?S7m+T@=(i|bC` z@&i&U_2y2?HdB1zsjVr{e|qZ_JvQU$EuB4z{b#qFTpqY3CG9Y;j2Xv;wd{-23{rqr zGKb0vGcx{X;V@tWQcR2t27DkfevlY2JQ&#wWI=pB7BLo)$8D>8n!TnxeQNXB?m2(C z{Nmp}3nhM;Gr@$JiE}fQZHX-OqD=83<%e9m) b1~Xf