Skip to content

[Bug]: homebrew wolfSSL 8.5.4 fails on TLS_CHACHA20_POLY1305_SHA256 #9462

@icing

Description

@icing

Contact Details

[email protected]

Version

wolfssl 8.5.4

Description

The homebrew delivered wolfSSL 8.5.4 fails when TLS_CHACHA20_POLY1305_SHA256 is being selected as cipher during the handshake on an ARM system. We see this in curl CI on macOS ARM jobs. The logged error is

SSL_connect failed with error -311: unknown type in record hdr

(Example: https://github.com/curl/curl/actions/runs/19582773452/job/56084526466)

AFAICT, the homebrew wolfssl formula has not really changed. One notable configure addition it does is --disable-armasm (see https://github.com/Homebrew/homebrew-core/blob/master/Formula/w/wolfssl.rb).

Building wolfssl 8.5.4 on my macOS Intel machine works fine. That is why I guess the ARM cipher handling somehow allows sending CHACHA20 in the ClientHello, but fails when parsing the ServerHello.

Reproduction steps

No response

Relevant log output

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions