Unit Testing for Large TLS Configs and Quic Crypto Buffer#1402
Draft
arrestle wants to merge 4 commits intoansible:develfrom
Draft
Unit Testing for Large TLS Configs and Quic Crypto Buffer#1402arrestle wants to merge 4 commits intoansible:develfrom
arrestle wants to merge 4 commits intoansible:develfrom
Conversation
cf2176e to
5dd1692
Compare
Co-authored-by: Lisa Ranjbar <lranjbar@redhat.com>
davemulford
requested changes
Aug 11, 2025
Contributor
davemulford
left a comment
There was a problem hiding this comment.
Requesting that all emoji are removed from the log messages because not all terminals are going to be able to display them.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



AAP-51326: Add failing test for CRYPTO_BUFFER_EXCEEDED issue
Problem
Receptor throws
CRYPTO_BUFFER_EXCEEDEDerrors when using oversized CA certificate bundles:This PR
Adds a failing unit test that demonstrates the vulnerability:
TEST FAILURE (EXPECTED): CA bundle size (32287 bytes) exceeds QUIC 16KB crypto buffer limit
This oversized CA bundle was allowed to be loaded without validation
Customer Impact: This would cause CRYPTO_BUFFER_EXCEEDED errors during QUIC handshake
Fix Required: Add certificate size validation before loading CA bundles
Test Output
Files Changed: 1 file, 308 lines added
Type: Test-only PR (no production code changes)
Next Step: Implement fix to validate CA bundle sizes before loading