Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WolfSSL ChaCha20 TCP connection #183

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

kp-thomas-yau
Copy link
Contributor

@kp-thomas-yau kp-thomas-yau commented Dec 3, 2024

Description

This patch reverts wolfSSL/wolfssl#7859 PR as WolfSSL 5.7.4 currently breaks ChaCha20 TCP connection from an Apple M1 Client in one of our coverage test. It turns out the PR causes "MAC did not match" in the server-side, which means the tag (used for authenticating the cipher-text) generated in the client-side is incorrect.

Motivation and Context

Revert WolfSSL wolfSSL/wolfssl#7859 change until they have an official fix

How Has This Been Tested?

Compiled new local client and it can indeed successfully connect with our server

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • All active GitHub checks are passing
  • The correct base branch is being used, if not main

This patch reverts https://github.com/wolfSSL/wolfssl/pull/7859/files PR as it currently breaks ChaCha20 TCP connection with Apple ARM64 client.
@kp-thomas-yau kp-thomas-yau marked this pull request as ready for review December 3, 2024 07:36
@kp-thomas-yau kp-thomas-yau requested a review from a team as a code owner December 3, 2024 07:36
@kp-thomas-yau kp-thomas-yau merged commit c49ea2a into main Dec 3, 2024
20 checks passed
@xv-raihaan-m xv-raihaan-m deleted the fix-wolfssl-tcp-chacha20 branch December 3, 2024 08:13
kp-thomas-yau added a commit that referenced this pull request Dec 11, 2024
Apply the wolfSSL/wolfssl#8275 PR fix. The original revert patch was here to fix mismatched tag when we are using ChaCha20 in TCP connection. See #183
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.

2 participants