-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.security.txt
46 lines (30 loc) · 1.85 KB
/
README.security.txt
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
https://static.developer.legrand.com/files/2021/03/LC7001-AU7000-Security-Addendum-RevB.pdf
5.1.2 [SETKEY] Prompt
# connection opened, receive
00000000 5b 53 45 54 4b 45 59 5d 00 [SETKEY] .
00000009 7b 22 4d 41 43 22 3a 22 30 30 32 36 45 43 30 30 {"MAC":" 0026EC00
00000019 30 30 30 30 22 7d 0000"}
# send Keys value (exactly) per 7.3
00000000 7b 22 53 65 72 76 69 63 65 22 3a 20 22 53 65 74 {"Servic e": "Set
00000010 53 79 73 74 65 6d 50 72 6f 70 65 72 74 69 65 73 SystemPr operties
00000020 22 2c 20 22 50 72 6f 70 65 72 74 79 4c 69 73 74 ", "Prop ertyList
00000030 22 3a 20 7b 22 4b 65 79 73 22 3a 20 22 65 38 34 ": {"Key s": "e84
00000040 66 30 66 35 37 61 35 36 34 34 39 66 65 63 39 34 f0f57a56 449fec94
00000050 33 30 31 38 61 31 65 33 66 62 64 33 36 35 37 36 3018a1e3 fbd36576
00000060 65 37 65 65 33 31 37 62 37 39 33 30 35 64 34 36 e7ee317b 79305d46
00000070 38 62 38 35 38 36 65 33 38 33 31 39 35 22 7d 2c 8b8586e3 83195"},
00000080 20 22 49 44 22 3a 20 31 7d 00 "ID": 1 }.
...
5.1.3 "Hello" Challenge
# connection opened, receive
00000000 48 65 6c 6c 6f 20 56 31 20 00 Hello V1 .
0000000A 39 31 35 38 45 33 31 35 31 34 39 42 45 46 39 46 9158E315 149BEF9F
0000001A 32 31 37 39 44 37 39 43 35 38 46 30 46 34 32 32 2179D79C 58F0F422
0000002A 20 30 30 32 36 45 43 30 32 46 44 38 45 0026EC0 2FD8E
# send challenge response per 5.2
00000000 33 34 33 37 38 37 32 66 31 39 31 32 66 65 39 66 3437872f 1912fe9f
00000010 62 30 36 64 64 66 35 30 65 62 35 62 66 35 33 35 b06ddf50 eb5bf535
# receive either ...
00000037 5b 4f 4b 5d 0a 0d 0a 00 [OK]....
# ... or
00000037 5b 49 4e 56 41 4c 49 44 5d 00 [INVALID ].