Changing the trusted root certificate currently requires a rebuild of the iPXE binary, which may be inconvenient or impractical. Allow the list of trusted root certificate fingerprints to be overridden using the "trust" setting, but only at the point of iPXE initialisation. This prevents untrusted sources of settings (e.g. DHCP) from subverting the chain of trust, while allowing trustworthy sources to change the trusted root certificate without requiring a rebuild. The basic idea is that if you are able to manipulate a trustworthy source of settings (e.g. VMware GuestInfo or non-volatile stored options), then you would be able to replace the iPXE binary anyway, and so no security is lost by allowing such sources to override the list of trusted root certificates. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
18 |
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
|
21 |
|
|
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
24 |
|
28 |
|
25 |
|
29 |
|
26 |
|
30 |
|
|
|
||
29 |
|
33 |
|
30 |
|
34 |
|
31 |
|
35 |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
32 |
|
39 |
|
33 |
|
40 |
|
34 |
|
41 |
|
|
|
||
42 |
|
49 |
|
43 |
|
50 |
|
44 |
|
51 |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
45 |
|
60 |
|
46 |
|
61 |
|
47 |
|
62 |
|
48 |
|
|
|
|
63 |
|
|
49 |
|
64 |
|
50 |
|
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 |
|
|
|
||
355 |
|
355 |
|
356 |
|
356 |
|
357 |
|
357 |
|
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
358 |
|
361 |
|
359 |
|
362 |
|
360 |
|
363 |
|
|
|
||
83 |
|
83 |
|
84 |
|
84 |
|
85 |
|
85 |
|
86 |
|
|
|
|
86 |
|
|
|
87 |
|
|
87 |
|
88 |
|
88 |
|
89 |
|
89 |
|
90 |
|