Skip to content

Commit 439e9f0

Browse files
chore: dotnet 4.1.1 release using only mpl-1.7.6 (#833)
Co-authored-by: Andy Jewell <[email protected]>
1 parent 1688e6b commit 439e9f0

File tree

9 files changed

+35
-26
lines changed

9 files changed

+35
-26
lines changed

.github/actions/polymorph_codegen/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ runs:
116116
# run: |
117117
# make polymorph_rust ${{ steps.dependencies.outputs.PROJECT_DEPENDENCIES }}
118118

119-
- name: Regenerate Go code using smithy-dafny
120-
working-directory: ./${{ inputs.library }}
121-
shell: bash
122-
run: |
123-
make polymorph_go
119+
# - name: Regenerate Go code using smithy-dafny
120+
# working-directory: ./${{ inputs.library }}
121+
# shell: bash
122+
# run: |
123+
# make polymorph_go
124124

125125
- name: Check regenerated code against commited code
126126
# Composite action inputs seem to not actually support booleans properly for some reason

.github/workflows/library_interop_test_vectors.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
ubuntu-22.04,
2626
macos-13,
2727
]
28-
language: [java, net, rust, go]
28+
language: [java, net]
2929
# https://taskei.amazon.dev/tasks/CrypTool-5284
3030
dotnet-version: ["6.0.x"]
3131
runs-on: ${{ matrix.os }}
@@ -195,8 +195,8 @@ jobs:
195195
ubuntu-22.04,
196196
macos-13,
197197
]
198-
encrypting_language: [java, net, rust, go]
199-
decrypting_language: [java, net, rust, go]
198+
encrypting_language: [java, net]
199+
decrypting_language: [java, net]
200200
# https://taskei.amazon.dev/tasks/CrypTool-5284
201201
dotnet-version: ["6.0.x"]
202202
runs-on: ${{ matrix.os }}

.github/workflows/pull.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636
uses: ./.github/workflows/library_net_tests.yml
3737
with:
3838
dafny: ${{needs.getVersion.outputs.version}}
39-
pr-ci-rust:
40-
needs: getVersion
41-
uses: ./.github/workflows/library_rust_tests.yml
42-
with:
43-
dafny: ${{needs.getVersion.outputs.version}}
44-
pr-ci-go:
45-
needs: getVersion
46-
uses: ./.github/workflows/library_go_tests.yml
47-
with:
48-
dafny: ${{needs.getVersion.outputs.version}}
39+
# pr-ci-rust:
40+
# needs: getVersion
41+
# uses: ./.github/workflows/library_rust_tests.yml
42+
# with:
43+
# dafny: ${{needs.getVersion.outputs.version}}
44+
# pr-ci-go:
45+
# needs: getVersion
46+
# uses: ./.github/workflows/library_go_tests.yml
47+
# with:
48+
# dafny: ${{needs.getVersion.outputs.version}}
4949
pr-test-vectors:
5050
needs: getVersion
5151
uses: ./.github/workflows/library_interop_tests.yml
@@ -67,7 +67,7 @@ jobs:
6767
- pr-ci-codegen
6868
- pr-ci-verification
6969
- pr-ci-net
70-
- pr-ci-rust
70+
# - pr-ci-rust
7171
- pr-test-vectors
7272
- pr-dafny-test-vectors
7373
- pr-dafny-legacy-test-vectors

AwsEncryptionSDK/codebuild/release/release-staging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ phases:
8282
- aws sts get-caller-identity
8383
- make test_net
8484

85+
# Also transpile MPL test vectors which are needed for ESDK tests
86+
- cd ../mpl/TestVectorsAwsCryptographicMaterialProviders && make transpile_implementation_net && cd ../../AwsEncryptionSDK
87+
8588
# add staged artifact to testvectors
8689
- sed -i.backup "/\<ProjectReference Include=\"..\/..\/ESDK.csproj\" \/>/d" runtimes/net/TestVectorsNative/TestVectorLib/AWSEncryptionSDKTestVectorLib.csproj
8790
- dotnet add runtimes/net/TestVectorsNative/TestVectorLib/AWSEncryptionSDKTestVectorLib.csproj package AWS.Cryptography.EncryptionSDK --version $VERSION

AwsEncryptionSDK/codebuild/release/test-prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ phases:
4343
- aws sts get-caller-identity
4444
- make test_net
4545

46+
# Also transpile MPL test vectors which are needed for ESDK tests
47+
- cd ../mpl/TestVectorsAwsCryptographicMaterialProviders && make transpile_implementation_net && cd ../../AwsEncryptionSDK
48+
4649
# add released artifact to testvectors
4750
- sed -i.backup "/\<ProjectReference Include=\"..\/..\/ESDK.csproj\" \/>/d" runtimes/net/TestVectorsNative/TestVectorLib/AWSEncryptionSDKTestVectorLib.csproj
4851
- dotnet add runtimes/net/TestVectorsNative/TestVectorLib/AWSEncryptionSDKTestVectorLib.csproj package AWS.Cryptography.EncryptionSDK --version $VERSION

AwsEncryptionSDK/dafny/AwsEncryptionSdk/test/Fixtures.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Fixtures {
2020

2121
const branchKeyStoreName := "KeyStoreDdbTable"
2222
const logicalKeyStoreName := branchKeyStoreName
23-
const branchKeyId := "75789115-1deb-4fe3-a2ec-be9e885d1945"
23+
const branchKeyId := "3f43a9af-08c5-4317-b694-3d3e883dcaef"
2424

2525
// UTF-8 encoded "aws-crypto-"
2626
const RESERVED_ENCRYPTION_CONTEXT: UTF8.ValidUTF8Bytes :=

AwsEncryptionSDK/runtimes/net/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 4.1.1
4+
5+
### Notes
6+
7+
Update .csproj files to prevent use of AWS-SDK-NET V4
8+
39
## 4.1.0
410

511
### Notes

AwsEncryptionSDK/runtimes/net/ESDK.csproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
99
<IsPackable>true</IsPackable>
1010

11-
<Version>4.1.0</Version>
11+
<Version>4.1.1</Version>
1212

1313
<AssemblyName>AWS.Cryptography.EncryptionSDK</AssemblyName>
1414
<PackageId>AWS.Cryptography.EncryptionSDK</PackageId>
@@ -30,10 +30,8 @@
3030

3131
<ItemGroup>
3232
<!-- TODO: manually upgraded to match the latest from MPL, is that reasonable? -->
33-
<PackageReference Include="AWSSDK.Core" Version="3.7.*" />
34-
<PackageReference Include="DafnyRuntime" Version="4.9.0" />
35-
<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.1" />
36-
<ProjectReference Include="../../../mpl/AwsCryptographicMaterialProviders/runtimes/net/MPL.csproj" />
33+
<PackageReference Include="DafnyRuntime" Version="[4.9.0]" />
34+
<PackageReference Include="AWS.Cryptography.MaterialProviders" Version="[1.7.6]" />
3735
<!--
3836
System.Collections.Immutable can be removed once dafny.msbuild is updated with
3937
https://github.com/dafny-lang/dafny.msbuild/pull/10 and versioned

TestVectors/runtimes/java/settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
*/
99

1010
rootProject.name = "TestVectors"
11-
include("lib")

0 commit comments

Comments
 (0)