Skip to content

Commit 86d25a6

Browse files
Merge branch 'main' into updateCIForGo
2 parents 483edbb + 47f6cd9 commit 86d25a6

File tree

18 files changed

+141
-81
lines changed

18 files changed

+141
-81
lines changed

.github/actions/install_smithy_dafny_codegen_dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
- name: Setup Python, black, and docformatter for code formatting
2323
uses: actions/setup-python@v6
2424
with:
25-
python-version: ${{ matrix.python-version }}
25+
python-version: 3.11
2626
architecture: x64
2727
- shell: bash
2828
run: |

.github/workflows/ci_test_go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Setup Docker
4747
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
48-
uses: douglascamata/[email protected].1
48+
uses: douglascamata/[email protected].2
4949

5050
- name: Setup DynamoDB Local
5151
if: matrix.library == 'TestVectors'

.github/workflows/ci_test_vector_java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Setup Docker
5050
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
51-
uses: douglascamata/[email protected].1
51+
uses: douglascamata/[email protected].2
5252

5353
- name: Setup DynamoDB Local
5454
if: matrix.library == 'TestVectors'

.github/workflows/ci_test_vector_net.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Setup Docker
4646
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
47-
uses: douglascamata/[email protected].1
47+
uses: douglascamata/[email protected].2
4848

4949
- name: Setup DynamoDB Local
5050
if: matrix.library == 'TestVectors'

.github/workflows/library_rust_tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Setup Docker
4545
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
46-
uses: douglascamata/[email protected].1
46+
uses: douglascamata/[email protected].2
4747

4848
- name: Setup DynamoDB Local
4949
if: matrix.library == 'TestVectors'
@@ -121,6 +121,13 @@ jobs:
121121
run: |
122122
make test_rust
123123
124+
- name: Configure AWS Credentials
125+
uses: aws-actions/configure-aws-credentials@v5
126+
with:
127+
aws-region: us-west-2
128+
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
129+
role-session-name: DDBEC-Dafny-Rust-Tests
130+
124131
- name: Test ${{ matrix.library }} Rust Fips
125132
shell: bash
126133
working-directory: ./${{ matrix.library }}/runtimes/rust/

.github/workflows/pull.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ jobs:
5454
uses: ./.github/workflows/library_rust_tests.yml
5555
with:
5656
dafny: ${{needs.getVersion.outputs.version}}
57-
pr-ci-go:
58-
needs: getVersion
59-
uses: ./.github/workflows/ci_test_go.yml
60-
with:
61-
dafny: ${{needs.getVersion.outputs.version}}
57+
# pr-ci-go:
58+
# needs: getVersion
59+
# uses: ./.github/workflows/ci_test_go.yml
60+
# with:
61+
# dafny: ${{needs.getVersion.outputs.version}}
6262
pr-ci-net-test-vectors:
6363
needs: getVersion
6464
uses: ./.github/workflows/ci_test_vector_net.yml
@@ -83,7 +83,7 @@ jobs:
8383
- pr-ci-java-examples
8484
- pr-ci-net
8585
- pr-ci-rust
86-
- pr-ci-go
86+
# - pr-ci-go
8787
- pr-ci-net-test-vectors
8888
- pr-ci-net-examples
8989
runs-on: ubuntu-22.04

DynamoDbEncryption/runtimes/rust/Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "aws-db-esdk"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
edition = "2021"
5-
rust-version = "1.86.0"
5+
rust-version = "1.88.0"
66
keywords = ["cryptography", "security", "dynamodb", "encryption", "client-side"]
77
license = "ISC AND (Apache-2.0 OR ISC)"
88
description = "aws-db-esdk is a library for implementing client side encryption with DynamoDB."
@@ -16,21 +16,21 @@ readme = "README.md"
1616
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1717

1818
[dependencies]
19-
aws-config = "1.8.5"
20-
aws-lc-rs = {version = "1.13.3"}
21-
aws-lc-sys = { version = "0.30", optional = true }
19+
aws-config = "1.8.10"
20+
aws-lc-rs = {version = "1.15.0"}
21+
aws-lc-sys = { version = "0.33", optional = true }
2222
aws-lc-fips-sys = { version = "0.13", optional = true }
23-
aws-sdk-dynamodb = "1.90.0"
24-
aws-sdk-kms = "1.84.0"
25-
aws-smithy-runtime-api = {version = "1.9.0", features = ["client"] }
26-
aws-smithy-types = "1.3.2"
27-
chrono = "0.4.41"
23+
aws-sdk-dynamodb = "1.99.0"
24+
aws-sdk-kms = "1.94.0"
25+
aws-smithy-runtime-api = {version = "1.9.2", features = ["client"] }
26+
aws-smithy-types = "1.3.4"
27+
chrono = "0.4.42"
2828
cpu-time = "1.0.0"
2929
dafny_runtime = { path = "../../../submodules/smithy-dafny/TestModels/dafny-dependencies/dafny_runtime_rust", features = ["sync","small-int"] }
3030
dashmap = "6.1.0"
31-
pem = "3.0.5"
32-
tokio = {version = "1.47.1", features = ["full"] }
33-
uuid = { version = "1.18.0", features = ["v4"] }
31+
pem = "3.0.6"
32+
tokio = {version = "1.48.0", features = ["full"] }
33+
uuid = { version = "1.18.1", features = ["v4"] }
3434

3535
[[example]]
3636
name = "main"

DynamoDbEncryption/runtimes/rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ pub(crate) use crate::implementation_from_dafny::ECDH;
129129
pub(crate) use crate::implementation_from_dafny::HMAC;
130130
pub(crate) use crate::implementation_from_dafny::UTF8;
131131
pub(crate) use crate::implementation_from_dafny::UUID;
132+
pub(crate) use crate::deps::com_amazonaws_kms::client::Client as KmsClient;
132133

133134
pub(crate) mod conversions;
134135
pub(crate) mod deps;

TestVectors/runtimes/rust/Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
name = "aws-db-esdk-test-vectors"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.86.0"
5+
rust-version = "1.88.0"
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
aws-config = "1.8.5"
11-
aws-lc-rs = {version = "1.13.3"}
12-
aws-lc-sys = { version = "0.30", optional = true }
10+
aws-config = "1.8.10"
11+
aws-lc-rs = {version = "1.15.0"}
12+
aws-lc-sys = { version = "0.33", optional = true }
1313
aws-lc-fips-sys = { version = "0.13", optional = true }
14-
aws-sdk-dynamodb = "1.90.0"
15-
aws-sdk-kms = "1.84.0"
16-
aws-smithy-runtime-api = {version = "1.9.0", features = ["client"] }
17-
aws-smithy-types = "1.3.2"
18-
chrono = "0.4.41"
14+
aws-sdk-dynamodb = "1.99.0"
15+
aws-sdk-kms = "1.94.0"
16+
aws-smithy-runtime-api = {version = "1.9.2", features = ["client"] }
17+
aws-smithy-types = "1.3.4"
18+
chrono = "0.4.42"
1919
cpu-time = "1.0.0"
2020
dafny_runtime = { path = "../../../submodules/smithy-dafny/TestModels/dafny-dependencies/dafny_runtime_rust", features = ["sync","small-int"] }
2121
dashmap = "6.1.0"
22-
pem = "3.0.5"
23-
tokio = {version = "1.47.1", features = ["full"] }
24-
uuid = { version = "1.18.0", features = ["v4"] }
22+
pem = "3.0.6"
23+
tokio = {version = "1.48.0", features = ["full"] }
24+
uuid = { version = "1.18.1", features = ["v4"] }
2525

2626
[features]
2727
wrapped-client = []

TestVectors/runtimes/rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ pub(crate) use crate::implementation_from_dafny::ECDH;
5050
pub(crate) use crate::implementation_from_dafny::HMAC;
5151
pub(crate) use crate::implementation_from_dafny::UTF8;
5252
pub(crate) use crate::implementation_from_dafny::UUID;
53+
pub(crate) use crate::deps::com_amazonaws_kms::client::Client as KmsClient;
5354

5455
pub mod aes_gcm;
5556
pub mod aes_kdf_ctr;

0 commit comments

Comments
 (0)