Skip to content

Implement narrow distro TLS policy support for Amazon Linux 2023 - #3441

Draft
WillChilds-Klein wants to merge 1 commit into
aws:mainfrom
WillChilds-Klein:narrow-distribution-tls-policy
Draft

Implement narrow distro TLS policy support for Amazon Linux 2023#3441
WillChilds-Klein wants to merge 1 commit into
aws:mainfrom
WillChilds-Klein:narrow-distribution-tls-policy

Conversation

@WillChilds-Klein

Copy link
Copy Markdown
Contributor

Summary

This change uses the narrow approach for distro TLS policy support.

  • add a default-off ENABLE_DISTRIBUTION_TLS_POLICY build flag for opt-in distro policy handling
  • apply distro-managed TLS policy in libssl only, directly from SSL_CTX_new, for Amazon Linux 2023 and Fedora-compatible crypto-policies backends
  • fail open on missing, malformed, or partially unsupported policy content and report warnings through the OpenSSL error queue only
  • add focused unit coverage plus AL23 CI jobs for x86_64 and aarch64

Testing

  • cmake -GNinja -B build-security-policy -DENABLE_DISTRIBUTION_TLS_POLICY=ON -DCMAKE_BUILD_TYPE=Release .
  • cmake --build build-security-policy --target ssl_test -j 4
  • ./build-security-policy/ssl/ssl_test --gtest_filter=SSLSystemPolicyTest.*

@github-actions

Copy link
Copy Markdown
Contributor

🔒 Security ReviewView Report

Please review before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant