Commit 07e2d11
committed
Relax PK and DB key usage constraints and try to follow what OEMs do
* Since OEMs, including Microsoft, don't set key usage, and since we had trouble with that
in #19, remove it altogether.
* On the other hand, since all the OEMs we see seem to use them, add subject_key_identifier
and authority_key_identifier.
* Also make sure we set up a proper context in AddExtension().1 parent 3ed74b8 commit 07e2d11
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
0 commit comments