Skip to content

fix(rust): resolve aws-lc-sys versions, add deduping in TestVectors - #951

Open
lucasmcdonald3 wants to merge 3 commits into
mainlinefrom
rust-dedupe-aws-lc-testvectors
Open

fix(rust): resolve aws-lc-sys versions, add deduping in TestVectors#951
lucasmcdonald3 wants to merge 3 commits into
mainlinefrom
rust-dedupe-aws-lc-testvectors

Conversation

@lucasmcdonald3

@lucasmcdonald3 lucasmcdonald3 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

  • Resolve aws-lc-sys versions (this fixes CI)
  • Add the aws-lc dedupe check to TestVectors
  • Replace verbose failure message slop with something useful.
    ex. from actual DBESDK message log
Error: aws-lc-sys versions aren't consistent. Fix: pin it to 0.44.0 in DynamoDbEncryption/runtimes/rust/Cargo.toml.
In DynamoDbEncryption/runtimes/rust/Cargo.toml line 20, change
- aws-lc-sys = "0.43"
+ aws-lc-sys = "0.44.0"
(aws-lc-rs v1.18.0 resolves aws-lc-sys to v0.44.0; matching it avoids inconsistencies.)

Squash/merge commit message, if applicable:

fix(rust): resolve aws-lc-sys versions, add deduping in TestVectors

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

aws-lc-rs floats to its latest (1.18), which pulls aws-lc-fips-sys 0.14
and aws-lc-sys 0.44. The Rust runtimes' direct -sys pins lagged at
0.13/0.39, so a second copy of aws-lc-fips-sys compiled and its FIPS
symbols (which cannot be symbol-prefixed) collided when the test-vectors
FIPS binary linked. Align the direct pins with aws-lc-rs in both runtime
crates, and extend the duplicate-aws-lc gate to the test-vectors runtime,
which it never covered.
@lucasmcdonald3
lucasmcdonald3 requested a review from a team as a code owner August 26, 2026 16:27
Print the repo-relative path to the offending Cargo.toml, the exact
line to change, and the aws-lc-rs version doing the resolving.
@lucasmcdonald3 lucasmcdonald3 changed the title fix(rust): de-dupe aws-lc in the test-vectors FIPS build fix(rust): also de-dupe aws-lc in TestVectors Aug 27, 2026
@lucasmcdonald3 lucasmcdonald3 changed the title fix(rust): also de-dupe aws-lc in TestVectors fix(rust): resolve aws-lc-sys versions, add deduping in TestVectors Aug 27, 2026
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.

1 participant