Skip to content

standardize configuration field naming #545

@0x676e67

Description

@0x676e67

Standardizes TLS-related fields to follow the tls_* naming convention,
aligning with common practice and improving field discoverability.

# ======== TLS options ========
verify: NotRequired[bool | Path | CertStore]
"""
Sets whether to verify TLS certificates.
"""
verify_hostname: NotRequired[bool]
"""
Configures the use of hostname verification when connecting.
"""
identity: NotRequired[Identity]
"""
Represents a private key and X509 cert as a client certificate.
"""
keylog: NotRequired[KeyLog]
"""
Key logging policy (environment or file).
"""
tls_info: NotRequired[bool]
"""
Add TLS information as `TlsInfo` extension to responses.
"""
min_tls_version: NotRequired[TlsVersion]
"""
Minimum TLS version.
"""
max_tls_version: NotRequired[TlsVersion]
"""
Maximum TLS version.
"""
tls_options: NotRequired[TlsOptions]
"""
Sets the TLS options.
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-refactorCategory: refactor. This would improve the clarity of internal code.E-easyEffort: Easy! Start here :DE-pr-welcomeThe feature is welcome to be added, instruction should be found in the issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions