Record architecture B corrections and measurement tooling
This commit is contained in:
1 parent
097d156c18
commit
6ea20b2365
78 files changed
+45820
-67
No files matched your search
@@ -0,0 +1,12 @@
|
||||
"""Verified TLS compatible with the prototype installer's certificate profile.
|
||||
Python 3.13+ enables optional RFC-strict checks that reject the inherited
|
||||
prototype certificate's missing Authority Key Identifier. Standard chain, expiry,
|
||||
signature and hostname verification remain mandatory; no trust-all fallback.
|
||||
"""
|
||||
import ssl
|
||||
|
||||
def application_context(cafile):
|
||||
context = ssl.create_default_context(cafile=cafile)
|
||||
context.verify_flags &= ~ssl.VERIFY_X509_STRICT
|
||||
assert context.verify_mode == ssl.CERT_REQUIRED and context.check_hostname
|
||||
return context
|
||||
Reference in new issue
Block a user