-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit 7eb9c57
Implement function to verify index signature with custom key (#1304)
* add gpg public key to verify board_index.json
* add new function to allow the usage of another gpg key
* add new test and enhance existing ones
* apply suggestions by @cmaglie
* move `module_firmware_index.gpg.key` under `testdata/`1 parent cdbebe9 commit 7eb9c57
File tree
5 files changed
+505
-4
lines changed- arduino/security
- testdata
5 files changed
+505
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | - | ||
26 | - | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
27 | 36 |
| |
28 | 37 |
| |
29 | 38 |
| |
30 | 39 |
| |
31 | 40 |
| |
32 | - | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
33 | 55 |
| |
34 | 56 |
| |
35 | 57 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | + | ||
21 | + | ||
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
40 | 65 |
| |
41 | 66 |
| |
42 | 67 |
| |
43 | 68 |
| |
44 | - | ||
45 | 69 |
| |
46 | 70 |
| |
47 | 71 |
| |
|
0 commit comments