forked from cloudflare/boring
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Bump to v4.13.0 from upstream #31
Closed
Closed
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
cfc8f2d
Actually Release 4.9.0
rushilmehra 89dc444
Properly handle `Option<i32>` in `SslRef::set_curves`
rushilmehra 72b343d
Release 4.9.1 (#259)
rushilmehra 9053b5d
chore(boring-sys): Fix git apply patch on Windows (#261)
0x676e67 1b5ae32
Expose mTLS related APIs
rushilmehra 2be6e10
Introduce ForeignTypeExt and ForeignTypeRefExt
rushilmehra fae2f7f
Introduce `corresponds` macro from openssl-macros
rushilmehra 96981dd
Expose X509NameRef::print_ex
rushilmehra ef8146b
Add tests for X509Ref::subject_key_id, X509Ref::authority_key_id, and…
rushilmehra a7bfe0d
Fix macos FIPS crossbuild
rushilmehra e5b6627
Expose RSAPSS public key Id type
evanrittenhouse 7324db2
Use ForeignType::into_ptr wherever applicable
rushilmehra b2525f2
Expose SSL_CTX_set_info_callback (#266)
evanrittenhouse 4b37d88
Expose SSL(_CTX)_set1_curves_list (#270)
bwesterb 8cb5da6
Update bindgen to 0.70.1
mikea 2c0a142
Revert "PQ: fix timing sidechannels and add IPDWing"
bwesterb 6d3639f
Add post-quantum key agreement X25519MLKEM768
bwesterb 193bf3b
Implement optional Hyper 1 support in hyper-boring (#246)
nox b7f47de
Release 4.10.0 (#274)
rushilmehra b7eaa5b
Don't support X25519MLKEM768 by default (yet)
bwesterb df1c4f5
Release 4.10.1 (#276)
rushilmehra b1a7434
boring-pq.patch Fix by not updating crypto_test_data.cc
bwesterb 1a00540
Release 4.10.2 (#278)
rushilmehra 0596b2d
Set MSRV to 1.70 (#279)
eaufavor 294796f
Release 4.10.3 (#280)
rushilmehra d3177a4
Create semgrep.yml
hrushikeshdeshpande a57cb3a
Add "fips-compat" feature (#286)
ghedo 80e3aab
boring-sys: include HPKE header file for bindgen
evanrittenhouse ec3b412
Release 4.11.0
evanrittenhouse bb373e5
Add `set_cert_verify_callback` (`SSL_CTX_set_cert_verify`)
semaj-cf 3044e9b
Skip bindgen 0.70's layout tests before Rust 1.77
jrose-signal 7bb3647
(ci): brew link x86 toolchain for macos13 runner
rushilmehra c113ec5
Add bindings for SSL_CB_ACCEPT_EXIT and SSL_CB_CONNECT_EXIT
evanrittenhouse 2b75e1e
Release 4.12.0
evanrittenhouse 7ac0d21
Fix Windows build
PaulDance 81e84c2
Clippy
kornelski 1946603
Work around Rust settings inconsistent iOS SDK version
kornelski 6ef5c28
More corresponds from openssl
sfackler b26b786
Sync X509VerifyFlags with openssl
kornelski 57fbe0f
Sync X509StoreBuilder with openssl
kornelski 4685af0
Release 4.13.0
rushilmehra b612e51
Merge v4.13.0; resolve conflicts
andrew-signal e96093e
Remove unused unwrap calls
andrew-signal 5749e39
Oops, removed one too many unwrap
andrew-signal 739b60c
Revert 12d00aa1666e3356fd9204d93d57caa03495b758
andrew-signal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,16 +113,22 @@ jobs: | |
target: aarch64-apple-ios | ||
os: macos-latest | ||
check_only: true | ||
custom_env: | ||
IPHONEOS_DEPLOYMENT_TARGET: 17.5 | ||
# It's... theoretically possible to run tests on iPhone Simulator, | ||
# but for now, make sure that BoringSSL only builds. | ||
- thing: aarch64-ios-sim | ||
target: aarch64-apple-ios-sim | ||
os: macos-latest | ||
check_only: true | ||
custom_env: | ||
IPHONEOS_DEPLOYMENT_TARGET: 17.5 | ||
- thing: x86_64-ios | ||
target: x86_64-apple-ios | ||
os: macos-latest | ||
check_only: true | ||
custom_env: | ||
IPHONEOS_DEPLOYMENT_TARGET: 17.5 | ||
- thing: i686-linux | ||
target: i686-unknown-linux-gnu | ||
rust: stable | ||
|
@@ -313,16 +319,16 @@ jobs: | |
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '>=1.22.0' | ||
- name: Install ${{ matrix.target }} toolchain | ||
run: brew tap messense/macos-cross-toolchains && brew install ${{ matrix.target }} && brew link x86_64-unknown-linux-gnu | ||
- name: Install Clang-12 | ||
uses: KyleMayes/install-llvm-action@v1 | ||
with: | ||
version: "12.0.0" | ||
directory: ${{ runner.temp }}/llvm | ||
- name: Add clang++-12 link | ||
working-directory: ${{ runner.temp }}/llvm/bin | ||
run: ln -s clang clang++-12 | ||
- name: Install ${{ matrix.target }} toolchain | ||
run: brew tap messense/macos-cross-toolchains && brew install --overwrite [email protected] && brew install ${{ matrix.target }} | ||
run: ln -s clang++ clang++-12 | ||
- name: Set BORING_BSSL_FIPS_COMPILER_EXTERNAL_TOOLCHAIN | ||
run: echo "BORING_BSSL_FIPS_COMPILER_EXTERNAL_TOOLCHAIN=$(brew --prefix ${{ matrix.target }})/toolchain" >> $GITHUB_ENV | ||
shell: bash | ||
|
@@ -360,3 +366,5 @@ jobs: | |
name: Run `rpk,underscore-wildcards` tests | ||
- run: cargo test --features pq-experimental,rpk,underscore-wildcards | ||
name: Run `pq-experimental,rpk,underscore-wildcards` tests | ||
- run: cargo test -p hyper-boring --features hyper1 | ||
name: Run hyper 1.0 tests for hyper-boring |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
on: | ||
pull_request: {} | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: "0 0 * * *" | ||
name: Semgrep config | ||
jobs: | ||
semgrep: | ||
name: semgrep/ci | ||
runs-on: ubuntu-latest | ||
env: | ||
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} | ||
SEMGREP_URL: https://cloudflare.semgrep.dev | ||
SEMGREP_APP_URL: https://cloudflare.semgrep.dev | ||
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version | ||
container: | ||
image: semgrep/semgrep | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: semgrep ci |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,64 @@ | ||
4.13.0 | ||
- 2024-11-26 Sync X509StoreBuilder with openssl | ||
- 2024-11-26 Sync X509VerifyFlags with openssl | ||
- 2021-11-21 More corresponds from openssl | ||
- 2024-11-28 Work around Rust settings inconsistent iOS SDK version | ||
- 2024-11-28 Clippy | ||
- 2024-03-11 Fix Windows build | ||
|
||
4.12.0 | ||
- 2024-11-20 Add bindings for SSL_CB_ACCEPT_EXIT and SSL_CB_CONNECT_EXIT | ||
- 2024-10-22 (ci): brew link x86 toolchain for macos13 runner | ||
- 2024-10-22 Skip bindgen 0.70's layout tests before Rust 1.77 | ||
- 2024-10-18 Add `set_cert_verify_callback` (`SSL_CTX_set_cert_verify`) | ||
|
||
4.11.0 | ||
- 2024-10-17 boring-sys: include HPKE header file for bindgen | ||
- 2024-10-17 Add "fips-compat" feature | ||
- 2024-09-25 Create semgrep.yml | ||
|
||
4.10.3 | ||
- 2024-09-21 Set MSRV to 1.70 (#279) | ||
|
||
4.10.2 | ||
- 2024-09-18 boring-pq.patch Fix by not updating crypto_test_data.cc | ||
|
||
4.10.1 | ||
- 2024-09-18 Don't support X25519MLKEM768 by default (yet) | ||
|
||
4.10.0 | ||
- 2024-09-18 Implement optional Hyper 1 support in hyper-boring (#246) | ||
- 2024-09-17 Add post-quantum key agreement X25519MLKEM768 | ||
- 2024-09-10 Revert "PQ: fix timing sidechannels and add IPDWing" | ||
- 2024-09-17 Update bindgen to 0.70.1 | ||
- 2024-09-17 Expose SSL(_CTX)_set1_curves_list (#270) | ||
- 2024-09-11 Expose SSL_CTX_set_info_callback (#266) | ||
- 2024-09-03 Use ForeignType::into_ptr wherever applicable | ||
- 2024-08-19 Expose RSAPSS public key Id type | ||
- 2024-08-15 Fix macos FIPS crossbuild | ||
- 2024-08-15 Add tests for X509Ref::subject_key_id, X509Ref::authority_key_id, and X509NameRef::print_ex | ||
- 2024-08-14 Expose X509NameRef::print_ex | ||
- 2024-08-13 Introduce `corresponds` macro from openssl-macros | ||
- 2024-08-14 Introduce ForeignTypeExt and ForeignTypeRefExt | ||
- 2024-08-09 Expose mTLS related APIs | ||
- 2024-08-14 chore(boring-sys): Fix git apply patch on Windows (#261) | ||
|
||
4.9.1 | ||
- 2024-08-04 Properly handle `Option<i32>` in `SslRef::set_curves` | ||
|
||
4.9.0 | ||
- 2024-08-02 Guard against empty strings given to select_next_proto (#252) | ||
- 2024-08-01 Document `SslCurve::nid()` | ||
- 2024-08-01 Add SslCurve::to_nid() and remove SslCurveId | ||
- 2024-07-23 Fix x509_check_host return value | ||
- 2024-07-29 Fix clippy lints re: docs indentation + unused feature | ||
- 2024-07-29 Ignore clippy / rustfmt on autogenerated code | ||
- 2024-07-26 Clean up legacy const_fn feature gates | ||
- 2024-07-22 Impl From for SslVersion | ||
- 2024-06-03 Split SSL curve identifiers into a separate enum. | ||
- 2024-07-23 (ci): Fix macos crossbuild action by forcing brew link w [email protected] | ||
- 2024-07-09 Expose set_permute_extensions | ||
- 2024-06-24 PQ: fix timing sidechannels and add IPDWing | ||
- 2024-08-02 Guard against empty strings given to select_next_proto (#252) | ||
- 2024-08-01 Document `SslCurve::nid()` | ||
- 2024-08-01 Add SslCurve::to_nid() and remove SslCurveId | ||
- 2024-07-23 Fix x509_check_host return value | ||
- 2024-07-29 Fix clippy lints re: docs indentation + unused feature | ||
- 2024-07-29 Ignore clippy / rustfmt on autogenerated code | ||
- 2024-07-26 Clean up legacy const_fn feature gates | ||
- 2024-07-23 Impl From for SslVersion | ||
- 2024-06-03 Split SSL curve identifiers into a separate enum. | ||
- 2024-07-23 (ci): Fix macos crossbuild action by forcing brew link w [email protected] | ||
- 2024-07-09 Expose set_permute_extensions | ||
- 2024-06-24 PQ: fix timing sidechannels and add IPDWing | ||
|
||
4.8.0 | ||
- 2024-06-28 Expose hmac_sha1 function | ||
|
@@ -25,6 +73,8 @@ | |
- 2024-06-18 Add NIDs for cipher authentication types | ||
- 2024-06-14 Impl From for SslSignatureAlgorithm | ||
- 2024-03-27 Updates license field to valid SPDX format | ||
|
||
4.7.0 | ||
- 2024-05-31 Fix crosscompile | ||
- 2024-05-30 Expose hmac_sha256/512 functions | ||
|
||
|
@@ -40,8 +90,6 @@ | |
- 2024-03-21 Add getters for client hello message | ||
- 2024-01-25 Removes vestigial build script | ||
- 2024-02-02 Introduce and use read_uninit and write_uninit duplicated from openssl-0.10.61 and tokio-openssl-0.6.4 | ||
|
||
4.3.0 | ||
- 2024-02-07 Introduce SslRef::set_private_key | ||
|
||
4.4.1 | ||
|
@@ -52,6 +100,8 @@ | |
- 2024-01-16 Expose `set_compliance_policy` and `get_ciphers` | ||
- 2024-01-08 Expose SSL_get_error | ||
- 2023-12-20 Fix support for fips-link-precompiled | ||
|
||
4.3.0 | ||
- 2024-01-03 Introduce X509Flags | ||
- 2024-01-03 Move x509 tests to a subdirectory | ||
- 2024-01-02 Rearrange imports in x509 module | ||
|
@@ -94,6 +144,8 @@ | |
- 2023-11-02 Remove Sync trait bounds on callback futures | ||
- 2023-10-30 Update Cargo.toml | ||
- 2023-10-26 hyper and tokio "full" feature for dev builds only | ||
|
||
4.0.0-rc.1 | ||
- 2023-10-26 Specify exact versions of dependent crates in the workspace manifest | ||
- 2023-10-16 Add CI for cross-building from macOS | ||
- 2023-10-16 Introduce BORING_BSSL_SYSROOT and BORING_BSSL_EXTERNAL_TOOLCHAIN | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this
default-features = false
is important-ish while we still have cloudflare#80 in our fork. We could just remove it, though, since we're now using libssl too.