Skip to content

Commit 3bb3e4b

Browse files
committed
Merge remote-tracking branch 'upstream/main' into update-latest-backward-incompat
2 parents 8cceefe + 05ea959 commit 3bb3e4b

41 files changed

Lines changed: 6247 additions & 207 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ updates:
1010
schedule:
1111
interval: "weekly"
1212
open-pull-requests-limit: 10
13+
groups:
14+
cargo-dependencies:
15+
patterns:
16+
- "*"
1317
- package-ecosystem: "github-actions"
1418
directory: "/"
1519
schedule:
1620
interval: "weekly"
1721
open-pull-requests-limit: 10
22+
groups:
23+
github-actions-dependencies:
24+
patterns:
25+
- "*"

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,5 @@ jobs:
8484
- name: Cargo hack
8585
run: |
8686
cargo hack check --feature-powerset --no-dev-deps --verbose -p openmls \
87-
--group-features test-utils,crypto-debug,content-debug,backtrace,libcrux-provider,sqlite-provider
87+
--group-features test-utils,crypto-debug,content-debug,backtrace,libcrux-provider,sqlite-provider \
88+
--group-features extensions-draft-08,extensions-draft-08-test-dependencies
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build & test sqlx storage provider crate
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
env:
15+
CARGO_TERM_COLOR: always
16+
17+
jobs:
18+
tests:
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os:
23+
- ubuntu-latest
24+
- macos-latest
25+
runs-on: ${{ matrix.os }}
26+
steps:
27+
- uses: actions/checkout@v6
28+
- uses: dtolnay/rust-toolchain@stable
29+
- uses: Swatinem/rust-cache@v2
30+
with:
31+
workspaces: |
32+
sqlx_storage -> target
33+
- name: Build openmls_sqlx_storage
34+
run: |
35+
cargo build --manifest-path sqlx_storage/Cargo.toml
36+
- name: Test openmls_sqlx_storage
37+
run: |
38+
cargo test --manifest-path sqlx_storage/Cargo.toml
39+
- name: Build openmls_sqlx_storage with `extensions-draft-08` feature
40+
run: |
41+
cargo build -F extensions-draft-08 --manifest-path sqlx_storage/Cargo.toml
42+
- name: Test openmls_sqlx_storage with `extensions-draft-08` feature
43+
run: |
44+
cargo test -F extensions-draft-08 --manifest-path sqlx_storage/Cargo.toml

.github/workflows/build_test_workspace.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,18 @@ jobs:
3333
- uses: actions/checkout@v6
3434
- uses: dtolnay/rust-toolchain@stable
3535
- uses: Swatinem/rust-cache@v2
36+
with:
37+
workspaces: |
38+
. -> target
3639
- name: Build workspace
37-
run: cargo build --workspace --all-targets --exclude openmls-fuzz
40+
run: |
41+
cargo build --workspace --all-targets --exclude openmls-fuzz
3842
- name: Test workspace
39-
run: cargo test --workspace --all-targets --exclude=openmls --exclude openmls-fuzz
43+
run: |
44+
cargo test --workspace --all-targets --exclude=openmls --exclude openmls-fuzz
4045
- name: Build workspace with `extensions-draft-08` feature
41-
run: cargo build --workspace -F extensions-draft-08 --all-targets --exclude openmls-fuzz
46+
run: |
47+
cargo build --workspace -F extensions-draft-08 --all-targets --exclude openmls-fuzz
4248
- name: Test workspace with `extensions-draft-08` feature
43-
run: cargo test --workspace -F extensions-draft-08 --all-targets --exclude=openmls --exclude openmls-fuzz
49+
run: |
50+
cargo test --workspace -F extensions-draft-08 --all-targets --exclude=openmls --exclude openmls-fuzz

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: grcov . -s . --binary-path ./target/debug/ -t lcov --branch --ignore-not-existing -o ./target/debug/coverage/
3737

3838
- name: Upload to codecov.io
39-
uses: codecov/codecov-action@v5
39+
uses: codecov/codecov-action@v6
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }}
4242
files: target/debug/coverage/lcov

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
features:
3333
- { name: "", arg: "" }
3434
- { name: fork-resolution, arg: "-F fork-resolution" }
35-
- { name: extensions-draft-08, arg: "-F extensions-draft-08" }
35+
- { name: extensions-draft-08, arg: "-F extensions-draft-08,extensions-draft-08-test-dependencies" }
3636
runs-on: ${{ matrix.target.os }}
3737
name: ${{ matrix.target.target }} (${{ matrix.mode.name }}/${{ matrix.features.name }})
3838
steps:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ delivery-service/ds/target
33
**/*.rs.bk
44
.DS_Store
55
.vscode
6-
**/Cargo.lock
76
*.code-workspace
87
/test_vectors/
98
fuzz/corpus

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- [#1972](https://github.com/openmls/openmls/pull/1972): Add APIs for time-based deletion of past epoch secrets, and for setting the past epoch deletion policy for an `MlsGroup`.
13+
- [#2010](https://github.com/openmls/openmls/pull/2010): Added `MlsGroup::propose_self_update_with_new_signer`, a variant of `propose_self_update` that stages an `Update` proposal carrying a new signature key.
1314

1415
### Changed
1516

0 commit comments

Comments
 (0)