Skip to content

Fix secure packet trim regression fixture - #429

Merged
fdesbiens merged 1 commit into
eclipse-threadx:devfrom
fdesbiens:fix/secure-packet-trim-test
Aug 24, 2026
Merged

Fix secure packet trim regression fixture#429
fdesbiens merged 1 commit into
eclipse-threadx:devfrom
fdesbiens:fix/secure-packet-trim-test

Conversation

@fdesbiens

Copy link
Copy Markdown
Contributor

Summary

  • copy mock decrypt input into the output buffer for deterministic plaintext
  • replace the impossible 1,983-byte MAC size with the valid SHA-256 size
  • explicitly model successful authentication of an empty application record
  • expect the packet-boundary continuation result consistently across TLS profiles

Follow-up to #428. This addresses the nx_secure / Dev-Secure failure on #427.

Testing

  • GCC 14.2, CMake, and Ninja: ./scripts/build_secure.sh all
  • Full secure matrix: ./scripts/test_secure.sh all — 19 profiles and 2,930 tests passed
  • GCC 14.2 interoperability build: ./scripts/build_secure_interoperability.sh all — all 18 profiles built
  • Local interoperability execution requires interactive root network privileges. The current Added conditional dev CI routing #427 CI run passed every interoperability test it completed before the separate 30-minute step timeout.

Made decrypted output and empty-record MAC verification deterministic across TLS build profiles.

Assisted-by: Codex (gpt-5.6-sol) <codex@openai.com>
@fdesbiens
fdesbiens merged commit 9e8e223 into eclipse-threadx:dev Aug 24, 2026
1 check passed
@fdesbiens
fdesbiens deleted the fix/secure-packet-trim-test branch August 24, 2026 21:01
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