Commit f53ffe6
authored
Fix X.509 tests on macOS 26 beta 6
Apple made a few changes to their trust stores in macOS 26 beta 6.
The first, BuildChainForCertificateSignedWithDisallowedKey is they no longer have a list of disallowed keys. Prior to macOS 26, Apple kept a list of blocked keys at /System/Library/Security/Certificates.bundle/Contents/Resources/Blocked.plist. These values in the plist were SHA-1 subjectKeyIdentifiers. This list is no longer present on macOS 26. This seems largely sensible - all of those certificates that had those subject key identifiers are distrusted by other means, such as expiration or simply no longer being present in the root store.
The second, SystemTrustCertificateWithCustomRootTrust, is failing because Apple yanked an expired root from their trust store. So it's going in to the same logical path as OpenSSL is now.1 parent a077234 commit f53ffe6
File tree
2 files changed
+8
-7
lines changed- src/libraries
- Common/tests/TestUtilities/System
- System.Security.Cryptography/tests/X509Certificates
2 files changed
+8
-7
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | | - | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | 1117 | | |
| |||
1178 | 1177 | | |
1179 | 1178 | | |
1180 | 1179 | | |
1181 | | - | |
| 1180 | + | |
1182 | 1181 | | |
1183 | 1182 | | |
1184 | 1183 | | |
| 1184 | + | |
| 1185 | + | |
1185 | 1186 | | |
1186 | | - | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
| |||
0 commit comments