-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathTest_TC_DA_1_4.yaml
3424 lines (2797 loc) · 289 KB
/
Test_TC_DA_1_4.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
name:
4.1.4. [TC-DA-1.4] Device Attestation Request Validation-Error Scenario
[DUT-Commissioner]
PICS:
- MCORE.ROLE.COMMISSIONER
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Note"
verification: |
Chip-tool command used below are an example to verify the DUT as commissioner test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command.
disabled: true
- label: "Pre-Conditions"
verification: |
1. PAA, PAI, DAC certificates are obtained and validated
2. Operations happen within the Fail-Safe Context
3. TH1 should be known about Commissioner based error condition/warning
(for all steps, PIs use equivalent command on their respective platform)
set the $CHIP_ROOT environment variable to the location of the connectedhomeip directory or if you are validating image pls send this command in apps folder (cd to the connectedhomeip directory, use command `export CHIP_ROOT=$(pwd -P)`
For each scenario outlined in the sheet TC-DA-1.8 test cases, perform the following actions
- Start the TH using the required certificate set and PID. For chip-all-clusters-app, use the command given in the chip-all-clusters app command column
- Have the DUT commission the TH. Verify that the DUT indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface.
- factory reset the TH
command when using chip-all-clusters-app: sudo rm -rf /tmp/chip_*
disabled: true
- label: "Step 1: Start the commissioning process of TH1 on DUT"
verification: |
To perform Factory reset on TH1(all-clusters-app) follow the below commands in RPI platform , Pls use equivalent command on the respective platform
sudo rm -rf /tmp/chip_*
execute the below mentioned command to put TH(all-clusters-app) into a commissionable state, Pls use equivalent command on the respective DUT
./chip-all-clusters-app --trace_decode 1
Once TH(All-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool) Pls use equivalent command on the respective DUT
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
disabled: true
- label: "Step 2: DUT generates 32-byte AttestationNonce"
verification: |
During provision, DUT sends AttestationRequest Command with AttestationNonce
[1662449060.839956][31006:31006] CHIP:DMG: }
[1662449060.839959][31006:31006] CHIP:DMG: Device Type Id = 22
[1662449060.839963][31006:31006] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24
[1662449060.839967][31006:31006] CHIP:DMG: Security Level = 0
[1662449060.839970][31006:31006] CHIP:DMG: Security Information = 0
[1662449060.839973][31006:31006] CHIP:DMG: Version Number = 9876
[1662449060.839976][31006:31006] CHIP:DMG: Certification Type = 0
[1662449060.839979][31006:31006] CHIP:DMG: }
[1662449060.839984][31006:31006] CHIP:DMG: Attestation Nonce (32) = 0DCBD6B7CE5AC2B7972D5350E2709C659E2222862BE8F204FE1E3D709FD959AD
[1662449060.839987][31006:31006] CHIP:DMG: Timestamp = 0
[1662449060.839990][31006:31006] CHIP:DMG: }
[1662449060.839993][31006:31006] CHIP:DMG:
disabled: true
- label:
"Step 3: DUT sends AttestationRequest Command with AttestationNonce as
field to the TH1."
verification: |
During provision, DUT sends AttestationRequest Command with AttestationNonce as field to the TH. verify the below log in TH(all-clusters-app). As the current TH ref app (all-clusters-app) doesnot decode the received request message, nonce value has been shown from the TH ref app response message , as TH ref app use the same nonce value in the response message
[1662449060.840902][31013:31018] CHIP:DMG: Product Id = 32863
[1662449060.840904][31013:31018] CHIP:DMG: Product Id = 32864
[1662449060.840905][31013:31018] CHIP:DMG: Product Id = 32865
[1662449060.840907][31013:31018] CHIP:DMG: Product Id = 32866
[1662449060.840909][31013:31018] CHIP:DMG: Product Id = 32867
[1662449060.840911][31013:31018] CHIP:DMG: }
[1662449060.840913][31013:31018] CHIP:DMG: Device Type Id = 22
[1662449060.840916][31013:31018] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24
[1662449060.840918][31013:31018] CHIP:DMG: Security Level = 0
[1662449060.840921][31013:31018] CHIP:DMG: Security Information = 0
[1662449060.840923][31013:31018] CHIP:DMG: Version Number = 9876
[1662449060.840925][31013:31018] CHIP:DMG: Certification Type = 0
[1662449060.840927][31013:31018] CHIP:DMG: }
[1662449060.840930][31013:31018] CHIP:DMG: Attestation Nonce (32) = 0DCBD6B7CE5AC2B7972D5350E2709C659E2222862BE8F204FE1E3D709FD959AD
[1662449060.840932][31013:31018] CHIP:DMG: Timestamp = 0
[1662449060.840934][31013:31018] CHIP:DMG: }
[1662449060.840935][31013:31018] CHIP:DMG:
[1662449060.840938][31013:31018] CHIP:DMG:
[1662449060.840943][31013:31018] CHIP:DMG: Additional Fields =
[1662449060.840945][31013:31018] CHIP:DMG: {
[1662449060.840948][31013:31018] CHIP:DMG: peer_address = UDP:[fe80::b7b8:ff3e:9ace:3e12%wlp0s20f3]:5540
[1662449060.840950][31013:31018] CHIP:DMG: }
[1662449060.840951][31013:31018] CHIP:DMG:
[1662449060.840955][31013:31018] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:160787812 on exchange 51916i
[1662449060.840959][31013:31018] CHIP:EM: Found matching exchange: 51916i, Delegate: 0x7fd35c0219d8
[1662449060.840962][31013:31018] CHIP:EM: CHIP MessageCounter:39600912 not in RetransTable on exchange 51916i
[1662449060.840969][31013:31018] CHIP:DMG: ICR moving to [ResponseRe]
[1662449060.840974][31013:31018] CHIP:DMG: InvokeResponseMessage =
[1662449060.840976][31013:31018] CHIP:DMG: {
[1662449060.840979][31013:31018] CHIP:DMG: suppressResponse = false,
[1662449060.840981][31013:31018] CHIP:DMG: InvokeResponseIBs =
[1662449060.840984][31013:31018] CHIP:DMG: [
[1662449060.840986][31013:31018] CHIP:DMG: InvokeResponseIB =
[1662449060.840990][31013:31018] CHIP:DMG: {
[1662449060.840992][31013:31018] CHIP:DMG: CommandDataIB =
[1662449060.840994][31013:31018] CHIP:DMG: {
[1662449060.840996][31013:31018] CHIP:DMG: CommandPathIB =
[1662449060.840999][31013:31018] CHIP:DMG: {
[1662449060.841001][31013:31018] CHIP:DMG: EndpointId = 0x0,
[1662449060.841004][31013:31018] CHIP:DMG: ClusterId = 0x3e,
[1662449060.841006][31013:31018] CHIP:DMG: CommandId = 0x1,
[1662449060.841008][31013:31018] CHIP:DMG: },
[1662449060.841011][31013:31018] CHIP:DMG:
[1662449060.841013][31013:31018] CHIP:DMG: CommandFields =
[1662449060.841016][31013:31018] CHIP:DMG: {
[1662449060.841018][31013:31018] CHIP:DMG: 0x0 = [
[1662449060.841037][31013:31018] CHIP:DMG: 0x15, 0x31, 0x1, 0x1d, 0x2, 0x30, 0x82, 0x2, 0x19, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x2, 0xa0, 0x82, 0x2, 0xa, 0x30, 0x82, 0x2, 0x6, 0x2, 0x1, 0x3, 0x31, 0xd, 0x30, 0xb, 0x6, 0x9, 0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x2, 0x1, 0x30, 0x82, 0x1, 0x71, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x1, 0xa0, 0x82, 0x1, 0x62, 0x4, 0x82, 0x1, 0x5e, 0x15, 0x24, 0x0, 0x1, 0x25, 0x1, 0xf1, 0xff, 0x36, 0x2, 0x5, 0x0, 0x80, 0x5, 0x1, 0x80, 0x5, 0x2, 0x80, 0x5, 0x3, 0x80, 0x5, 0x4, 0x80, 0x5, 0x5, 0x80, 0x5, 0x6, 0x80, 0x5, 0x7, 0x80, 0x5, 0x8, 0x80, 0x5, 0x9, 0x80, 0x5, 0xa, 0x80, 0x5, 0xb, 0x80, 0x5, 0xc, 0x80, 0x5, 0xd, 0x80, 0x5, 0xe, 0x80, 0x5, 0xf, 0x80, 0x5, 0x10, 0x80, 0x5, 0x11, 0x80, 0x5, 0x12, 0x80, 0x5, 0x13, 0x80, 0x5, 0x14, 0x80, 0x5, 0x15, 0x80, 0x5, 0x16, 0x80, 0x5, 0x17, 0x80, 0x5, 0x18, 0x80, 0x5, 0x19, 0x80, 0x5, 0x1a, 0x80, 0x5, 0x1b, 0x80, 0x5, 0x1c, 0x80, 0x5, 0x1d, 0x80, 0x5, 0x1e, 0x80, 0x5, 0x1f, 0x80, 0x5, 0x20, 0x80, 0x5, 0x21, 0x80, 0x5, 0x22, 0x80, 0x5, 0x23, 0x80, 0x5, 0x24, 0x80, 0x5, 0x25, 0x80, 0x5, 0x26, 0x80, 0x5, 0x27, 0x80, 0x5, 0x28, 0x80, 0x5, 0x29, 0x80, 0x5, 0x2a, 0x80, 0x5, 0x2b, 0x80, 0x5, 0x2c, 0x80, 0x5, 0x2d, 0x80, 0x5, 0x2e, 0x80, 0x5, 0x2f, 0x80, 0x5, 0x30, 0x80, 0x5, 0x31, 0x80, 0x5, 0x32, 0x80, 0x5, 0x33, 0x80, 0x5, 0x34, 0x80, 0x5, 0x35, 0x80, 0x5, 0x36, 0x80, 0x5, 0x37, 0x80, 0x5, 0x38, 0x80, 0x5, 0x39, 0x80, 0x5, 0x3a, 0x80, 0x5, 0x3b, 0x80, 0x5, 0x3c, 0x80, 0x5, 0x3d, 0x80, 0x5, 0x3e, 0x80, 0x5, 0x3f, 0x80, 0x5, 0x40, 0x80, 0x5, 0x41, 0x80, 0x5, 0x42, 0x80, 0x5, 0x43, 0x80, 0x5, 0x44, 0x80, 0x5, 0x45, 0x80, 0x5, 0x46, 0x80, 0x5, 0x47, 0x80, 0x5, 0x48, 0x80, 0x5, 0x49, 0x80, 0x5, 0x4a, 0x80, 0x5, 0
[1662449060.841046][31013:31018] CHIP:DMG: ] (585 bytes)
[1662449060.841048][31013:31018] CHIP:DMG: 0x1 = [
[1662449060.841053][31013:31018] CHIP:DMG: 0x97, 0x2, 0x34, 0x3f, 0x85, 0xad, 0xe8, 0xd0, 0x4, 0x0, 0xfa, 0x8b, 0x3e, 0x91, 0xed, 0x34, 0x77, 0x3, 0x55, 0x89, 0xd5, 0xe, 0xe0, 0x9d, 0x32, 0x5d, 0x9f, 0x30, 0x20, 0x12, 0xf0, 0x25, 0x63, 0x62, 0xc7, 0x47, 0x7e, 0xd1, 0x9f, 0x89, 0x30, 0x84, 0x49, 0x7c, 0xbd, 0xc, 0xab, 0x38, 0xfe, 0xb5, 0x31, 0x24, 0x8e, 0x28, 0xc7, 0x7e, 0x1, 0xab, 0x34, 0x18, 0xe5, 0x78, 0x9c, 0x97,
[1662449060.841058][31013:31018] CHIP:DMG: ] (64 bytes)
[1662449060.841060][31013:31018] CHIP:DMG: },
[1662449060.841062][31013:31018] CHIP:DMG: },
[1662449060.841065][31013:31018] CHIP:DMG:
[1662449060.841067][31013:31018] CHIP:DMG: },
[1662449060.841070][31013:31018] CHIP:DMG:
[1662449060.841072][31013:31018] CHIP:DMG: ],
[1662449060.841076][31013:31018] CHIP:DMG:
[1662449060.841078][31013:31018] CHIP:DMG: InteractionModelRevision = 1
[1662449060.841080][31013:31018] CHIP:DMG: },
[1662449060.841088][31013:31018] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001
[1662449060.841093][31013:31018] CHIP:CTL: Received Attestation Information from the device
[1662449060.841103][31013:31018] CHIP:CTL: Successfully finished commissioning step 'SendAttestationRequest'
[1662449060.841111][31013:31018] CHIP:CTL: Commissioning stage next step: 'SendAttestationRequest' -> 'AttestationVerification'
[1662449060.841115][31013:31018] CHIP:CTL: Performing next commissioning step 'AttestationVerification'
[1662449060.841117][31013:31018] CHIP:CTL: Verifying attestation
[1662449060.841974][31013:31018] CHIP:CTL: Successfully validated 'Attestation Information' command received from the device.
[1662449060.841981][31013:31018] CHIP:CTL: Successfully finished commissioning step 'AttestationVerification'
disabled: true
- label:
"Step 4: TH1 responds to the DUT with an invalid AttestationResponse
Command by setting the following error condition: Commissionee is not
yet certified"
verification: |
"The all-cluster-app in the sample application is not a certified commissionee (Certification Declaration has certification_type 0). Launch all-cluster-app on TH raspi and provision the app using the DUT
"
disabled: true
- label:
"Step 5: Verify that DUT notifies a warning stating that Commissionee
is not a fully trusted device.Verify that the warning contains the
information about the reason for error condition If the warning
message indicates that Commissioning is allowed then confirm that
CSRRequest Command is sent from DUT to TH1"
PICS: MCORE.DA.ATTEST_WARNING
verification: |
Verify if DUT reports any warning stating that the commissionee is not a fully trusted device. However per Matter spec, Commissioners SHOULD warn the user (its not a SHALL requirement) and commissioners choose their implementation and May give the user a choice to authorize or deny commissioning
disabled: true
- label: "Step 6: Factory Reset TH so that it is commissionable again"
verification: |
To perform Factory reset on TH1(all-clusters-app) follow the below step in RPI platform , Pls use equivalent command on the respective platformsudo rm -rf /tmp/chip_*
disabled: true
- label:
"Step 7: For each of the test cases in the Certificates for TC-DA-1.4
table, start the TH using the appropriate certificate set, commission
the TH using the DUT, then factory reset the TH."
verification: |
Test step has beeen validated in below steps
disabled: true
- label:
"Step 1: CD Test Vector: The dac_origin_vendor_id fild is present and
dac_origin_product_id fields is not present."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
o 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997151.715871][74557:74557] CHIP:IN: (S) Sending msg 185139947 on secure session with LSID: 15692
[1693997151.715909][74557:74557] CHIP:DMG: Command handler moving to [CommandSen]
[1693997151.715913][74557:74557] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997151.715920][74557:74557] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997151.715924][74557:74557] CHIP:SVR: Failsafe timer expired
[1693997151.715927][74557:74557] CHIP:IN: SecureSession[0x556dff7aaae0]: MarkForEviction Type:1 LSID:15692
[1693997151.715930][74557:74557] CHIP:SC: SecureSession[0x556dff7aaae0, LSID:15692]: State change 'kActive' --> 'kPendingEviction'
[1693997151.715943][74557:74557] CHIP:IN: SecureSession[0x556dff7aaae0]: Released - Type:1 LSID:15692
[1693997151.715951][74557:74557] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997151.715967][74557:74557] CHIP:IN: SecureSession[0x556dff7aaae0]: Allocated Type:1 LSID:15694
[1693997151.715972][74557:74557] CHIP:SC: Assigned local session key ID 15694
[1693997151.715975][74557:74557] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 2: DAC Test Vector: Fallback VID and PID encoding example:
invalid, PID not present and VID not upper case"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/test_case_vector.json --product-id 177
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693994403.341228][73449:73449] CHIP:DMG: }
[1693994403.341231][73449:73449] CHIP:DMG:
[1693994403.341246][73449:73449] CHIP:EM: <<< [E:30736r S:60388 M:219410600 (Ack:261280417)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994403.341254][73449:73449] CHIP:IN: (S) Sending msg 219410600 on secure session with LSID: 60388
[1693994403.341291][73449:73449] CHIP:DMG: Command handler moving to [CommandSen]
[1693994403.341294][73449:73449] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994403.341301][73449:73449] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994403.341305][73449:73449] CHIP:SVR: Failsafe timer expired
[1693994403.341309][73449:73449] CHIP:IN: SecureSession[0x560da40688c0]: MarkForEviction Type:1 LSID:60388
[1693994403.341312][73449:73449] CHIP:SC: SecureSession[0x560da40688c0, LSID:60388]: State change 'kActive' --> 'kPendingEviction'
[1693994403.341329][73449:73449] CHIP:IN: SecureSession[0x560da40688c0]: Released - Type:1 LSID:60388
[1693994403.341338][73449:73449] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994403.341356][73449:73449] CHIP:IN: SecureSession[0x560da40688c0]: Allocated Type:1 LSID:60390
[1693994403.341362][73449:73449] CHIP:SC: Assigned local session key ID 60390
[1693994403.341366][73449:73449] CHIP:SC: Waiting for PBKDF param request
[1693994403.341374][73449:73449] CHIP:DIS: Updating services using commissioning mode 1
disabled: true
- label:
"Step 3: DAC Test Vector: Invalid certificate signature algorithm
ECDSA_WITH_SHA1"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693996211.521552][74117:74117] CHIP:EM: <<< [E:25185r S:53710 M:167691966 (Ack:245625616)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693996211.521560][74117:74117] CHIP:IN: (S) Sending msg 167691966 on secure session with LSID: 53710
[1693996211.521595][74117:74117] CHIP:DMG: Command handler moving to [CommandSen]
[1693996211.521599][74117:74117] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693996211.521607][74117:74117] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693996211.521611][74117:74117] CHIP:SVR: Failsafe timer expired
[1693996211.521615][74117:74117] CHIP:IN: SecureSession[0x5581d19b2a70]: MarkForEviction Type:1 LSID:53710
[1693996211.521619][74117:74117] CHIP:SC: SecureSession[0x5581d19b2a70, LSID:53710]: State change 'kActive' --> 'kPendingEviction'
[1693996211.521637][74117:74117] CHIP:IN: SecureSession[0x5581d19b2a70]: Released - Type:1 LSID:53710
[1693996211.521648][74117:74117] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693996211.521669][74117:74117] CHIP:IN: SecureSession[0x5581d19b2a70]: Allocated Type:1 LSID:53712
[1693996211.521677][74117:74117] CHIP:SC: Assigned local session key ID 53712
disabled: true
- label: "Step 4: CD Test Vector: The product_id_array field is missing."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693993840.870308][72883:72883] CHIP:DMG:
[1693993840.870320][72883:72883] CHIP:EM: <<< [E:37569r S:15994 M:123922316 (Ack:203861491)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693993840.870328][72883:72883] CHIP:IN: (S) Sending msg 123922316 on secure session with LSID: 15994
[1693993840.870361][72883:72883] CHIP:DMG: Command handler moving to [CommandSen]
[1693993840.870365][72883:72883] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693993840.870379][72883:72883] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693993840.870384][72883:72883] CHIP:SVR: Failsafe timer expired
[1693993840.870389][72883:72883] CHIP:IN: SecureSession[0x557e71225ce0]: MarkForEviction Type:1 LSID:15994
[1693993840.870392][72883:72883] CHIP:SC: SecureSession[0x557e71225ce0, LSID:15994]: State change 'kActive' --> 'kPendingEviction'
[1693993840.870409][72883:72883] CHIP:IN: SecureSession[0x557e71225ce0]: Released - Type:1 LSID:15994
[1693993840.870420][72883:72883] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693993840.870445][72883:72883] CHIP:IN: SecureSession[0x557e71225ce0]: Allocated Type:1 LSID:15996
[1693993840.870450][72883:72883] CHIP:SC: Assigned local session key ID 15996
[1693993840.870456][72883:72883] CHIP:SC: Waiting for PBKDF param request
[1693993840.870464][72883:72883] CHIP:DIS: Updating services using commissioning mode 1
[1693993840.870767][72883:72883] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693993840.871098][72883:72883] CHIP:DL: Using wifi MAC for hostname
[1693993840.871172][72883:72883] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
disabled: true
- label:
"Step 5: PAI Test Vector: Certificate validity period starts in the
past"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_valid_in_past/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
o 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994803.098470][73608:73608] CHIP:IN: (S) Sending msg 223928797 on secure session with LSID: 25230
[1693994803.098520][73608:73608] CHIP:DMG: Command handler moving to [CommandSen]
[1693994803.098523][73608:73608] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994803.098530][73608:73608] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994803.098533][73608:73608] CHIP:SVR: Failsafe timer expired
[1693994803.098537][73608:73608] CHIP:IN: SecureSession[0x562e2718c880]: MarkForEviction Type:1 LSID:25230
[1693994803.098541][73608:73608] CHIP:SC: SecureSession[0x562e2718c880, LSID:25230]: State change 'kActive' --> 'kPendingEviction'
[1693994803.098556][73608:73608] CHIP:IN: SecureSession[0x562e2718c880]: Released - Type:1 LSID:25230
[1693994803.098564][73608:73608] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994803.098580][73608:73608] CHIP:IN: SecureSession[0x562e2718c880]: Allocated Type:1 LSID:25232
[1693994803.098585][73608:73608] CHIP:SC: Assigned local session key ID 25232
[1693994803.098588][73608:73608] CHIP:SC: Waiting for PBKDF param request
[1693994803.098596][73608:73608] CHIP:DIS: Updating services using commissioning mode 1
[1693994803.098836][73608:73608] CHIP:DIS: CHIP minimal mDNS started advertising.
disabled: true
- label:
"Step 6: CD Test Vector: The product_id_array field has 100 PID values
none of which matches the PID value in DAC."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693997405.995023][74683:74683] CHIP:DMG:
[1693997405.995034][74683:74683] CHIP:EM: <<< [E:36876r S:41477 M:993220 (Ack:208381418)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997405.995041][74683:74683] CHIP:IN: (S) Sending msg 993220 on secure session with LSID: 41477
[1693997405.995073][74683:74683] CHIP:DMG: Command handler moving to [CommandSen]
[1693997405.995076][74683:74683] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997405.995083][74683:74683] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997405.995086][74683:74683] CHIP:SVR: Failsafe timer expired
[1693997405.995090][74683:74683] CHIP:IN: SecureSession[0x5605c6bf5560]: MarkForEviction Type:1 LSID:41477
[1693997405.995094][74683:74683] CHIP:SC: SecureSession[0x5605c6bf5560, LSID:41477]: State change 'kActive' --> 'kPendingEviction'
[1693997405.995109][74683:74683] CHIP:IN: SecureSession[0x5605c6bf5560]: Released - Type:1 LSID:41477
[1693997405.995117][74683:74683] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997405.995133][74683:74683] CHIP:IN: SecureSession[0x5605c6bf5560]: Allocated Type:1 LSID:41479
[1693997405.995138][74683:74683] CHIP:SC: Assigned local session key ID 41479
[1693997405.995142][74683:74683] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 7: DAC Test Vector: Certificate Basic Constraint extension CA
field is wrong (TRUE for DAC and FALSE for PAI)"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_basic_ca_wrong/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693997078.351251][74520:74520] CHIP:EM: <<< [E:37804r S:10760 M:65040301 (Ack:219159553)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997078.351258][74520:74520] CHIP:IN: (S) Sending msg 65040301 on secure session with LSID: 10760
[1693997078.351302][74520:74520] CHIP:DMG: Command handler moving to [CommandSen]
[1693997078.351305][74520:74520] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997078.351311][74520:74520] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997078.351314][74520:74520] CHIP:SVR: Failsafe timer expired
[1693997078.351316][74520:74520] CHIP:IN: SecureSession[0x564ecf8d4890]: MarkForEviction Type:1 LSID:10760
[1693997078.351319][74520:74520] CHIP:SC: SecureSession[0x564ecf8d4890, LSID:10760]: State change 'kActive' --> 'kPendingEviction'
[1693997078.351332][74520:74520] CHIP:IN: SecureSession[0x564ecf8d4890]: Released - Type:1 LSID:10760
[1693997078.351340][74520:74520] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997078.351355][74520:74520] CHIP:IN: SecureSession[0x564ecf8d4890]: Allocated Type:1 LSID:10762
[1693997078.351360][74520:74520] CHIP:SC: Assigned local session key ID 10762
[1693997078.351363][74520:74520] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 8: CD Test Vector: The dac_origin_vendor_id and
dac_origin_product_id fields present and the VID value doesnt match
the VID found in the DAC Subject DN."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693994835.257566][73627:73627] CHIP:DMG:
[1693994835.257577][73627:73627] CHIP:EM: <<< [E:23698r S:38764 M:255686193 (Ack:187772892)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994835.257585][73627:73627] CHIP:IN: (S) Sending msg 255686193 on secure session with LSID: 38764
[1693994835.257611][73627:73627] CHIP:DMG: Command handler moving to [CommandSen]
[1693994835.257614][73627:73627] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994835.257620][73627:73627] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994835.257623][73627:73627] CHIP:SVR: Failsafe timer expired
[1693994835.257627][73627:73627] CHIP:IN: SecureSession[0x559ec6387bb0]: MarkForEviction Type:1 LSID:38764
[1693994835.257630][73627:73627] CHIP:SC: SecureSession[0x559ec6387bb0, LSID:38764]: State change 'kActive' --> 'kPendingEviction'
[1693994835.257648][73627:73627] CHIP:IN: SecureSession[0x559ec6387bb0]: Released - Type:1 LSID:38764
[1693994835.257657][73627:73627] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994835.257675][73627:73627] CHIP:IN: SecureSession[0x559ec6387bb0]: Allocated Type:1 LSID:38766
[1693994835.257680][73627:73627] CHIP:SC: Assigned local session key ID 38766
[1693994835.257683][73627:73627] CHIP:SC: Waiting for PBKDF param request
[1693994835.257690][73627:73627] CHIP:DIS: Updating services using commissioning mode 1
disabled: true
- label:
"Step 9: DAC Test Vector: Fallback VID and PID encoding example from
spec: invalid, since substring following Mpid: is not exactly 4
uppercase hexadecimal digits"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/test_case_vector.json --product-id 177
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693995413.022547][73911:73911] CHIP:EM: <<< [E:30630r S:27734 M:175055120 (Ack:21253685)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693995413.022553][73911:73911] CHIP:IN: (S) Sending msg 175055120 on secure session with LSID: 27734
[1693995413.022574][73911:73911] CHIP:DMG: Command handler moving to [CommandSen]
[1693995413.022577][73911:73911] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693995413.022582][73911:73911] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693995413.022585][73911:73911] CHIP:SVR: Failsafe timer expired
[1693995413.022588][73911:73911] CHIP:IN: SecureSession[0x559867c24540]: MarkForEviction Type:1 LSID:27734
[1693995413.022591][73911:73911] CHIP:SC: SecureSession[0x559867c24540, LSID:27734]: State change 'kActive' --> 'kPendingEviction'
[1693995413.022601][73911:73911] CHIP:IN: SecureSession[0x559867c24540]: Released - Type:1 LSID:27734
[1693995413.022608][73911:73911] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693995413.022623][73911:73911] CHIP:IN: SecureSession[0x559867c24540]: Allocated Type:1 LSID:27736
[1693995413.022627][73911:73911] CHIP:SC: Assigned local session key ID 27736
[1693995413.022630][73911:73911] CHIP:SC: Waiting for PBKDF param request
[1693995413.022635][73911:73911] CHIP:DIS: Updating services using commissioning mode 1
[1693995413.022816][73911:73911] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693995413.023022][73911:73911] CHIP:DL: Using wifi MAC for hostname
disabled: true
- label:
"Step 10: CD Test Vector: Invalid CMS eContentType is set to Microsoft
Authenticode [MSAC] OID = { 1.3.6.1.4.1.311.2.1.4 }."
verification: |
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693996285.064401][74155:74155] CHIP:EM: <<< [E:19412r S:5515 M:218067074 (Ack:163851272)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693996285.064410][74155:74155] CHIP:IN: (S) Sending msg 218067074 on secure session with LSID: 5515
[1693996285.064463][74155:74155] CHIP:DMG: Command handler moving to [CommandSen]
[1693996285.064466][74155:74155] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693996285.064475][74155:74155] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693996285.064479][74155:74155] CHIP:SVR: Failsafe timer expired
[1693996285.064483][74155:74155] CHIP:IN: SecureSession[0x562b4607aae0]: MarkForEviction Type:1 LSID:5515
[1693996285.064487][74155:74155] CHIP:SC: SecureSession[0x562b4607aae0, LSID:5515]: State change 'kActive' --> 'kPendingEviction'
[1693996285.064507][74155:74155] CHIP:IN: SecureSession[0x562b4607aae0]: Released - Type:1 LSID:5515
[1693996285.064520][74155:74155] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693996285.064543][74155:74155] CHIP:IN: SecureSession[0x562b4607aae0]: Allocated Type:1 LSID:5517
[1693996285.064550][74155:74155] CHIP:SC: Assigned local session key ID 5517
disabled: true
- label:
"Step 11: PAI Test Vector: PID in Subject field doesnt match PID in
Issuer field"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_subject_pid_mismatch/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693996330.239836][74189:74189] CHIP:DMG:
[1693996330.239846][74189:74189] CHIP:EM: <<< [E:61254r S:58699 M:113843948 (Ack:144549851)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693996330.239854][74189:74189] CHIP:IN: (S) Sending msg 113843948 on secure session with LSID: 58699
[1693996330.239877][74189:74189] CHIP:DMG: Command handler moving to [CommandSen]
[1693996330.239880][74189:74189] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693996330.239885][74189:74189] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693996330.239889][74189:74189] CHIP:SVR: Failsafe timer expired
[1693996330.239893][74189:74189] CHIP:IN: SecureSession[0x56184d3e2c40]: MarkForEviction Type:1 LSID:58699
[1693996330.239897][74189:74189] CHIP:SC: SecureSession[0x56184d3e2c40, LSID:58699]: State change 'kActive' --> 'kPendingEviction'
[1693996330.239912][74189:74189] CHIP:IN: SecureSession[0x56184d3e2c40]: Released - Type:1 LSID:58699
[1693996330.239922][74189:74189] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693996330.239939][74189:74189] CHIP:IN: SecureSession[0x56184d3e2c40]: Allocated Type:1 LSID:58701
[1693996330.239945][74189:74189] CHIP:SC: Assigned local session key ID 58701
[1693996330.239950][74189:74189] CHIP:SC: Waiting for PBKDF param request
[1693996330.239956][74189:74189] CHIP:DIS: Updating services using commissioning mode 1
[1693996330.240206][74189:74189] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693996330.240472][74189:74189] CHIP:DL: Using wifi MAC for hostname
disabled: true
- label:
"Step 12: PAI Test Vector: Invalid certificate signature algorithm
ECDSA_WITH_SHA1"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_sig_algo_ecdsa_with_sha1/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693993355.537189][72739:72739] CHIP:EM: <<< [E:46949r S:42353 M:75820384 (Ack:69095779)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693993355.537196][72739:72739] CHIP:IN: (S) Sending msg 75820384 on secure session with LSID: 42353
[1693993355.537235][72739:72739] CHIP:DMG: Command handler moving to [CommandSen]
[1693993355.537239][72739:72739] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693993355.537245][72739:72739] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693993355.537249][72739:72739] CHIP:SVR: Failsafe timer expired
[1693993355.537252][72739:72739] CHIP:IN: SecureSession[0x561e088c6c60]: MarkForEviction Type:1 LSID:42353
[1693993355.537256][72739:72739] CHIP:SC: SecureSession[0x561e088c6c60, LSID:42353]: State change 'kActive' --> 'kPendingEviction'
[1693993355.537273][72739:72739] CHIP:IN: SecureSession[0x561e088c6c60]: Released - Type:1 LSID:42353
[1693993355.537284][72739:72739] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693993355.537303][72739:72739] CHIP:IN: SecureSession[0x561e088c6c60]: Allocated Type:1 LSID:42355
[1693993355.537308][72739:72739] CHIP:SC: Assigned local session key ID 42355
[1693993355.537311][72739:72739] CHIP:SC: Waiting for PBKDF param request
[1693993355.537318][72739:72739] CHIP:DIS: Updating services using commissioning mode 1
[1693993355.537588][72739:72739] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693993355.537857][72739:72739] CHIP:DL: Using wifi MAC for hostname
[1693993355.537907][72739:72739] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
[1693993355.537920][72739:72739] CHIP:DIS: Responding with _matterc._udp.local
[1693993355.537923][72739:72739] CHIP:DIS: Responding with 341D2ED7D15535D3._matterc._udp.local
disabled: true
- label:
"Step 13: CD Test Vector: The product_id_array field has 10 PID values
none of which matches the PID value in DAC."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693997271.340565][74610:74610] CHIP:EM: <<< [E:58667r S:59822 M:12912710 (Ack:254892351)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997271.340572][74610:74610] CHIP:IN: (S) Sending msg 12912710 on secure session with LSID: 59822
[1693997271.340596][74610:74610] CHIP:DMG: Command handler moving to [CommandSen]
[1693997271.340599][74610:74610] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997271.340604][74610:74610] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997271.340608][74610:74610] CHIP:SVR: Failsafe timer expired
[1693997271.340610][74610:74610] CHIP:IN: SecureSession[0x56256eefc1b0]: MarkForEviction Type:1 LSID:59822
[1693997271.340615][74610:74610] CHIP:SC: SecureSession[0x56256eefc1b0, LSID:59822]: State change 'kActive' --> 'kPendingEviction'
[1693997271.340627][74610:74610] CHIP:IN: SecureSession[0x56256eefc1b0]: Released - Type:1 LSID:59822
[1693997271.340636][74610:74610] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997271.340650][74610:74610] CHIP:IN: SecureSession[0x56256eefc1b0]: Allocated Type:1 LSID:59824
[1693997271.340655][74610:74610] CHIP:SC: Assigned local session key ID 59824
[1693997271.340659][74610:74610] CHIP:SC: Waiting for PBKDF param request
[1693997271.340665][74610:74610] CHIP:DIS: Updating services using commissioning mode 1
[1693997271.340877][74610:74610] CHIP:DIS: CHIP minimal mDNS started advertising.
disabled: true
- label:
"Step 14: DAC Test Vector: Invalid certificate public key curve
secp256k1"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_sig_curve_secp256k1/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693994760.408266][73595:73595] CHIP:DMG:
[1693994760.408276][73595:73595] CHIP:EM: <<< [E:58926r S:22159 M:71363476 (Ack:241325210)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994760.408282][73595:73595] CHIP:IN: (S) Sending msg 71363476 on secure session with LSID: 22159
[1693994760.408309][73595:73595] CHIP:DMG: Command handler moving to [CommandSen]
[1693994760.408312][73595:73595] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994760.408318][73595:73595] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994760.408321][73595:73595] CHIP:SVR: Failsafe timer expired
[1693994760.408324][73595:73595] CHIP:IN: SecureSession[0x55f597d52960]: MarkForEviction Type:1 LSID:22159
[1693994760.408328][73595:73595] CHIP:SC: SecureSession[0x55f597d52960, LSID:22159]: State change 'kActive' --> 'kPendingEviction'
[1693994760.408344][73595:73595] CHIP:IN: SecureSession[0x55f597d52960]: Released - Type:1 LSID:22159
[1693994760.408351][73595:73595] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994760.408367][73595:73595] CHIP:IN: SecureSession[0x55f597d52960]: Allocated Type:1 LSID:22161
[1693994760.408372][73595:73595] CHIP:SC: Assigned local session key ID 22161
[1693994760.408375][73595:73595] CHIP:SC: Waiting for PBKDF param request
[1693994760.408382][73595:73595] CHIP:DIS: Updating services using commissioning mode 1
[1693994760.408655][73595:73595] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693994760.408910][73595:73595] CHIP:DL: Using wifi MAC for hostname
disabled: true
- label:
"Step 15: DAC Test Vector: Certificate Key Usage extension critical
field is missing"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_key_usage_critical_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693997054.992158][74509:74509] CHIP:EM: <<< [E:37779r S:15307 M:202831458 (Ack:181316818)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997054.992164][74509:74509] CHIP:IN: (S) Sending msg 202831458 on secure session with LSID: 15307
[1693997054.992205][74509:74509] CHIP:DMG: Command handler moving to [CommandSen]
[1693997054.992208][74509:74509] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997054.992214][74509:74509] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997054.992217][74509:74509] CHIP:SVR: Failsafe timer expired
[1693997054.992220][74509:74509] CHIP:IN: SecureSession[0x563fed359aa0]: MarkForEviction Type:1 LSID:15307
[1693997054.992223][74509:74509] CHIP:SC: SecureSession[0x563fed359aa0, LSID:15307]: State change 'kActive' --> 'kPendingEviction'
[1693997054.992237][74509:74509] CHIP:IN: SecureSession[0x563fed359aa0]: Released - Type:1 LSID:15307
[1693997054.992246][74509:74509] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997054.992264][74509:74509] CHIP:IN: SecureSession[0x563fed359aa0]: Allocated Type:1 LSID:15309
[1693997054.992269][74509:74509] CHIP:SC: Assigned local session key ID 15309
[1693997054.992272][74509:74509] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 16: DAC Test Vector: Certificate doesnt include Subject Key ID
(SKID) extension"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_skid_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693997101.085189][74532:74532] CHIP:EM: <<< [E:980r S:47787 M:224476482 (Ack:52007145)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997101.085195][74532:74532] CHIP:IN: (S) Sending msg 224476482 on secure session with LSID: 47787
[1693997101.085220][74532:74532] CHIP:DMG: Command handler moving to [CommandSen]
[1693997101.085223][74532:74532] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997101.085228][74532:74532] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997101.085230][74532:74532] CHIP:SVR: Failsafe timer expired
[1693997101.085233][74532:74532] CHIP:IN: SecureSession[0x56202f5eeaf0]: MarkForEviction Type:1 LSID:47787
[1693997101.085236][74532:74532] CHIP:SC: SecureSession[0x56202f5eeaf0, LSID:47787]: State change 'kActive' --> 'kPendingEviction'
[1693997101.085248][74532:74532] CHIP:IN: SecureSession[0x56202f5eeaf0]: Released - Type:1 LSID:47787
[1693997101.085255][74532:74532] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997101.085269][74532:74532] CHIP:IN: SecureSession[0x56202f5eeaf0]: Allocated Type:1 LSID:47789
[1693997101.085274][74532:74532] CHIP:SC: Assigned local session key ID 47789
[1693997101.085276][74532:74532] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label: "Step 17: CD Test Vector: Invalid Signer Info version set to v2."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_signer_info_v2/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693993317.367258][72717:72717] CHIP:EM: <<< [E:12718r S:18565 M:251356398 (Ack:239317917)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693993317.367267][72717:72717] CHIP:IN: (S) Sending msg 251356398 on secure session with LSID: 18565
[1693993317.367312][72717:72717] CHIP:DMG: Command handler moving to [CommandSen]
[1693993317.367318][72717:72717] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693993317.367326][72717:72717] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693993317.367331][72717:72717] CHIP:SVR: Failsafe timer expired
[1693993317.367334][72717:72717] CHIP:IN: SecureSession[0x55a97361eb30]: MarkForEviction Type:1 LSID:18565
[1693993317.367340][72717:72717] CHIP:SC: SecureSession[0x55a97361eb30, LSID:18565]: State change 'kActive' --> 'kPendingEviction'
[1693993317.367359][72717:72717] CHIP:IN: SecureSession[0x55a97361eb30]: Released - Type:1 LSID:18565
[1693993317.367370][72717:72717] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693993317.367391][72717:72717] CHIP:IN: SecureSession[0x55a97361eb30]: Allocated Type:1 LSID:18567
[1693993317.367396][72717:72717] CHIP:SC: Assigned local session key ID 18567
[1693993317.367400][72717:72717] CHIP:SC: Waiting for PBKDF param request
[1693993317.367406][72717:72717] CHIP:DIS: Updating services using commissioning mode 1
[1693993317.367652][72717:72717] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693993317.367956][72717:72717] CHIP:DL: Using wifi MAC for hostname
[1693993317.368007][72717:72717] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
disabled: true
- label:
"Step 18: DAC Test Vector: Certificate Key Usage extension
digitalSignature field is wrong (not present for DAC and present for
PAI, which is OK as optional)"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_key_usage_dig_sig_wrong/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693996261.937664][74143:74143] CHIP:EM: <<< [E:4439r S:62297 M:255923001 (Ack:4405626)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693996261.937674][74143:74143] CHIP:IN: (S) Sending msg 255923001 on secure session with LSID: 62297
[1693996261.937736][74143:74143] CHIP:DMG: Command handler moving to [CommandSen]
[1693996261.937742][74143:74143] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693996261.937750][74143:74143] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693996261.937755][74143:74143] CHIP:SVR: Failsafe timer expired
[1693996261.937758][74143:74143] CHIP:IN: SecureSession[0x55c35e92eea0]: MarkForEviction Type:1 LSID:62297
[1693996261.937761][74143:74143] CHIP:SC: SecureSession[0x55c35e92eea0, LSID:62297]: State change 'kActive' --> 'kPendingEviction'
[1693996261.937779][74143:74143] CHIP:IN: SecureSession[0x55c35e92eea0]: Released - Type:1 LSID:62297
[1693996261.937788][74143:74143] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693996261.937808][74143:74143] CHIP:IN: SecureSession[0x55c35e92eea0]: Allocated Type:1 LSID:62299
[1693996261.937814][74143:74143] CHIP:SC: Assigned local session key ID 62299
[1693996261.937816][74143:74143] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 19: DAC Test Vector: Certificate doesnt include Authority Key ID
(AKID) extension"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_dac_ext_akid_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693995381.552754][73894:73894] CHIP:DMG:
[1693995381.552761][73894:73894] CHIP:EM: <<< [E:37229r S:55064 M:5606557 (Ack:201777288)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693995381.552767][73894:73894] CHIP:IN: (S) Sending msg 5606557 on secure session with LSID: 55064
[1693995381.552789][73894:73894] CHIP:DMG: Command handler moving to [CommandSen]
[1693995381.552792][73894:73894] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693995381.552796][73894:73894] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693995381.552799][73894:73894] CHIP:SVR: Failsafe timer expired
[1693995381.552802][73894:73894] CHIP:IN: SecureSession[0x563b61004960]: MarkForEviction Type:1 LSID:55064
[1693995381.552804][73894:73894] CHIP:SC: SecureSession[0x563b61004960, LSID:55064]: State change 'kActive' --> 'kPendingEviction'
[1693995381.552815][73894:73894] CHIP:IN: SecureSession[0x563b61004960]: Released - Type:1 LSID:55064
[1693995381.552823][73894:73894] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693995381.552836][73894:73894] CHIP:IN: SecureSession[0x563b61004960]: Allocated Type:1 LSID:55066
[1693995381.552840][73894:73894] CHIP:SC: Assigned local session key ID 55066
[1693995381.552843][73894:73894] CHIP:SC: Waiting for PBKDF param request
[1693995381.552848][73894:73894] CHIP:DIS: Updating services using commissioning mode 1
[1693995381.553045][73894:73894] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693995381.553265][73894:73894] CHIP:DL: Using wifi MAC for hostname
disabled: true
- label:
"Step 20: PAI Test Vector: Certificate doesnt include Basic Constraint
extension"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_ext_basic_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693994276.553200][73374:73374] CHIP:DMG: peer_address = UDP:[fe80::a70c:61dc:df51:6945%enxd03745ce8f62]:36473
[1693994276.553203][73374:73374] CHIP:DMG: }
[1693994276.553206][73374:73374] CHIP:DMG:
[1693994276.553217][73374:73374] CHIP:EM: <<< [E:65206r S:34371 M:72339643 (Ack:58486237)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994276.553225][73374:73374] CHIP:IN: (S) Sending msg 72339643 on secure session with LSID: 34371
[1693994276.553250][73374:73374] CHIP:DMG: Command handler moving to [CommandSen]
[1693994276.553254][73374:73374] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994276.553259][73374:73374] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994276.553262][73374:73374] CHIP:SVR: Failsafe timer expired
[1693994276.553265][73374:73374] CHIP:IN: SecureSession[0x5604c97909b0]: MarkForEviction Type:1 LSID:34371
[1693994276.553269][73374:73374] CHIP:SC: SecureSession[0x5604c97909b0, LSID:34371]: State change 'kActive' --> 'kPendingEviction'
[1693994276.553285][73374:73374] CHIP:IN: SecureSession[0x5604c97909b0]: Released - Type:1 LSID:34371
[1693994276.553295][73374:73374] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994276.553313][73374:73374] CHIP:IN: SecureSession[0x5604c97909b0]: Allocated Type:1 LSID:34373
[1693994276.553319][73374:73374] CHIP:SC: Assigned local session key ID 34373
[1693994276.553323][73374:73374] CHIP:SC: Waiting for PBKDF param request
[1693994276.553330][73374:73374] CHIP:DIS: Updating services using commissioning mode 1
[1693994276.553580][73374:73374] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693994276.553870][73374:73374] CHIP:DL: Using wifi MAC for hostname
[1693994276.553912][73374:73374] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
[1693994276.553924][73374:73374] CHIP:DIS: Responding with _matterc._udp.local
disabled: true
- label:
"Step 21: CD Test Vector: The security_information field is missing."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_security_info_missing/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693996239.759850][74133:74133] CHIP:EM: <<< [E:11884r S:63423 M:74553917 (Ack:204682393)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693996239.759857][74133:74133] CHIP:IN: (S) Sending msg 74553917 on secure session with LSID: 63423
[1693996239.759887][74133:74133] CHIP:DMG: Command handler moving to [CommandSen]
[1693996239.759890][74133:74133] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693996239.759897][74133:74133] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693996239.759900][74133:74133] CHIP:SVR: Failsafe timer expired
[1693996239.759904][74133:74133] CHIP:IN: SecureSession[0x557fa61c3c90]: MarkForEviction Type:1 LSID:63423
[1693996239.759908][74133:74133] CHIP:SC: SecureSession[0x557fa61c3c90, LSID:63423]: State change 'kActive' --> 'kPendingEviction'
[1693996239.759923][74133:74133] CHIP:IN: SecureSession[0x557fa61c3c90]: Released - Type:1 LSID:63423
[1693996239.759932][74133:74133] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693996239.759948][74133:74133] CHIP:IN: SecureSession[0x557fa61c3c90]: Allocated Type:1 LSID:63425
[1693996239.759953][74133:74133] CHIP:SC: Assigned local session key ID 63425
[1693996239.759956][74133:74133] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 22: PAI Test Vector: Certificate Key Usage extension keyCertSign
field is wrong (present for DAC and not present for PAI)"
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_pai_ext_key_usage_key_cert_sign_wrong/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693997515.751436][74733:74733] CHIP:DMG:
[1693997515.751444][74733:74733] CHIP:EM: <<< [E:5171r S:65366 M:88404245 (Ack:115426625)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693997515.751449][74733:74733] CHIP:IN: (S) Sending msg 88404245 on secure session with LSID: 65366
[1693997515.751471][74733:74733] CHIP:DMG: Command handler moving to [CommandSen]
[1693997515.751474][74733:74733] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693997515.751481][74733:74733] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693997515.751484][74733:74733] CHIP:SVR: Failsafe timer expired
[1693997515.751487][74733:74733] CHIP:IN: SecureSession[0x558c6a10d970]: MarkForEviction Type:1 LSID:65366
[1693997515.751491][74733:74733] CHIP:SC: SecureSession[0x558c6a10d970, LSID:65366]: State change 'kActive' --> 'kPendingEviction'
[1693997515.751505][74733:74733] CHIP:IN: SecureSession[0x558c6a10d970]: Released - Type:1 LSID:65366
[1693997515.751513][74733:74733] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693997515.751528][74733:74733] CHIP:IN: SecureSession[0x558c6a10d970]: Allocated Type:1 LSID:65368
[1693997515.751533][74733:74733] CHIP:SC: Assigned local session key ID 65368
[1693997515.751536][74733:74733] CHIP:SC: Waiting for PBKDF param request
disabled: true
- label:
"Step 23: CD Test Vector: The authorized_paa_list contains one valid
PAA which is authorized to sign the PAI."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693994866.084220][73646:73646] CHIP:EM: <<< [E:32023r S:4683 M:260375300 (Ack:133194635)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994866.084225][73646:73646] CHIP:IN: (S) Sending msg 260375300 on secure session with LSID: 4683
[1693994866.084267][73646:73646] CHIP:DMG: Command handler moving to [CommandSen]
[1693994866.084269][73646:73646] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994866.084274][73646:73646] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994866.084276][73646:73646] CHIP:SVR: Failsafe timer expired
[1693994866.084279][73646:73646] CHIP:IN: SecureSession[0x564174dd8940]: MarkForEviction Type:1 LSID:4683
[1693994866.084282][73646:73646] CHIP:SC: SecureSession[0x564174dd8940, LSID:4683]: State change 'kActive' --> 'kPendingEviction'
[1693994866.084294][73646:73646] CHIP:IN: SecureSession[0x564174dd8940]: Released - Type:1 LSID:4683
[1693994866.084300][73646:73646] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994866.084314][73646:73646] CHIP:IN: SecureSession[0x564174dd8940]: Allocated Type:1 LSID:4685
[1693994866.084319][73646:73646] CHIP:SC: Assigned local session key ID 4685
[1693994866.084321][73646:73646] CHIP:SC: Waiting for PBKDF param request
[1693994866.084326][73646:73646] CHIP:DIS: Updating services using commissioning mode 1
disabled: true
- label:
"Step 24: CD Test Vector: The product_id_array field is empty TLV
array."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1
On TH(all-clusters-app), Verify that the DUT(chip-tool) indicates that the device is not genuine, or otherwise indicates a failure of device attestation, within its error handling APIs or user interface
[1693994601.641020][73535:73535] CHIP:EM: <<< [E:59651r S:16286 M:42317111 (Ack:165156221)] (S) Msg TX to 0:FFFFFFFB00000000 [0000] --- Type 0001:09 (IM:InvokeCommandResponse)
[1693994601.641028][73535:73535] CHIP:IN: (S) Sending msg 42317111 on secure session with LSID: 16286
[1693994601.641053][73535:73535] CHIP:DMG: Command handler moving to [CommandSen]
[1693994601.641057][73535:73535] CHIP:DMG: Command handler moving to [AwaitingDe]
[1693994601.641064][73535:73535] CHIP:DL: HandlePlatformSpecificBLEEvent 32783
[1693994601.641067][73535:73535] CHIP:SVR: Failsafe timer expired
[1693994601.641071][73535:73535] CHIP:IN: SecureSession[0x558132a3cae0]: MarkForEviction Type:1 LSID:16286
[1693994601.641075][73535:73535] CHIP:SC: SecureSession[0x558132a3cae0, LSID:16286]: State change 'kActive' --> 'kPendingEviction'
[1693994601.641091][73535:73535] CHIP:IN: SecureSession[0x558132a3cae0]: Released - Type:1 LSID:16286
[1693994601.641101][73535:73535] CHIP:SVR: Commissioning failed (attempt 1): src/app/server/CommissioningWindowManager.cpp:77: CHIP Error 0x00000032: Timeout
[1693994601.641116][73535:73535] CHIP:IN: SecureSession[0x558132a3cae0]: Allocated Type:1 LSID:16288
[1693994601.641122][73535:73535] CHIP:SC: Assigned local session key ID 16288
[1693994601.641126][73535:73535] CHIP:SC: Waiting for PBKDF param request
[1693994601.641134][73535:73535] CHIP:DIS: Updating services using commissioning mode 1
[1693994601.641380][73535:73535] CHIP:DIS: CHIP minimal mDNS started advertising.
[1693994601.641631][73535:73535] CHIP:DL: Using wifi MAC for hostname
[1693994601.641667][73535:73535] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
[1693994601.641679][73535:73535] CHIP:DIS: Responding with _matterc._udp.local
disabled: true
- label:
"Step 25: CD Test Vector: The vendor_id field doesnt match the VID in
DAC."
verification: |
For Raspberry Pi device, perform a factory reset using the following command - sudo rm -rf /tmp/chip_* for the 'chip-all-clusters-app.
please use the equivalent command on your respective platform to perform a factory reset
Execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform
./chip-all-clusters-app --trace_decode 1 --dac_provider $CHIP_ROOT/credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json --product-id 32768
Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform
./chip-tool pairing onnetwork 1 20202021 --trace_decode 1