Repository navigation
Don't depend on git for patching files - #55
Closed
JAicewizard wants to merge 21 commits into
Closed
JAicewizard wants to merge 21 commits into
JAicewizard wants to merge 21 commits into
Conversation
The code in question is `left_encode` in `boringssl/crypto/fipsmodule/keccak/keccak.cc.inc`. Both me and the clanker audited it and found no issue, while `stringop-overflow` has a long list of false positives reported against it: - <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92955> - <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335> - <https://issues.chromium.org/issues/42290598> - <https://bugs.launchpad.net/ubuntu/+source/gcc-12/+bug/2013140> - <https://bugzilla.redhat.com/show_bug.cgi?id=2432481> We could probably fix the warning by rewriting the function, but IMO the overhead of carrying a patch is not justified for a false-positive GCC lint. By setting `-Wno-error=stringop-overflow` the warning will still be reported but not fail the CI build anymore.
Crates.io release dispatches accept versions with an optional `v` prefix and normalize the value before validation and publishing. Requests to the crates.io API and sparse index carry a descriptive `User-Agent`, avoiding the 403 response that blocked the production `boring-sys` publish preflight.
The committed lockfile matches the lockfile embedded in the published `boring-sys` 5.4.0 archive. It pins the release dependency graph, including `cc 1.10.0`, so rerun package checksums remain stable.
Add SslStream::first_read_at, which returns when a read from the underlying stream first returned data. Servers can use it to time the TLS handshake from the start of the ClientHello rather than from TCP accept, so time spent waiting for the peer is not counted.
Cargo.lock was initially added as a kludge to make the old 5.4.0 release workflow pass. It was copied from the published boring-sys archive, so it represented the release state of boring-sys instead of the full workspace. The two downstream crates also used a different resolution: tokio-boring and hyper-boring targeted cc 1.11.1 instead of the cc 1.10.0 selected by boring-sys and boring. This is the complete workspace lockfile for the final 5.4.0 dependency resolution.
Publishing is now handled by the guarded GitHub Actions workflow.
- 2026-11-09 Add release preparation tooling - 2026-11-09 Remove obsolete publishing script - 2026-11-09 Fix Cargo.lock for the full 5.4.0 workspace - 2026-11-04 Add reusable Tokio TLS client connector - 2026-11-03 tokio-boring: record when the stream was first read - 2026-11-06 Pin the 5.4.0 Cargo dependency resolution - 2026-11-06 Fix crates.io release dispatch requests (cloudflare#551) - 2026-11-04 fix(ci): Do not fail build on false-positive `stringop-overflow` warning
On a target whose libc crate has a 32-bit time_t and whose C time_t is 64 bits (32-bit musl 1.2, see rust-lang/libc#1848), bindgen declares X509_VERIFY_PARAM_set_time with an i64 and the call passes an i32, so boring does not compile: error[E0308]: mismatched types --> boring/src/x509/verify.rs:178:65 expected `i64`, found `i32` Convert the value as Asn1Time::from_unix already does for ASN1_TIME_set.
- 2026-11-17 Fix X509VerifyParamRef::set_time on 32-bit musl targets - 2026-11-10 docs: clarify BoringSSL cipher list configuration
`SslCredential` now supports ref-counted cloning through `SSL_CREDENTIAL_up_ref`, matching BoringSSL shared ownership. `SslRef::selected_credential` exposes the credential selected for the current handshake.
Credential-installed private key methods were stored in `SslCredential` ex-data, while shared callbacks only read `SslContext` ex-data. This caused credential-only sync and async operations to panic during signing or completion. Generic callback sources now retain the appropriate owner and retrieve the method from its ex-data. Context-installed methods retain their existing behavior, while credential methods use the selected credential.
- 2026-11-19 Fix credential private key method callbacks - 2026-11-19 Add SSL credential access APIs
The previous `localhost` test certificate expired on November 26, 2026. The renewed certificate reuses the existing test key. `scripts/generate-cert.sh` fixes serial and validity values so repeated generation leaves the working tree unchanged.
Resume transport shutdown after sending close_notify so the read side can receive remaining application data and the peer alert.
- 2026-11-27 Fix async TLS write shutdown across polls - 2026-11-26 Renew tokio-boring test certificate
|
This should be submitted upstream and we'll take it in a future release from Cloudflare. |
Author
|
Yess sorry, already made a PR to upstream and forgot to close this |
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.
This is currently being carried by freebsd, but across unix-like systems patch is always available.