Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ jobs:
pr-ci-codegen:
uses: ./.github/workflows/library_codegen.yml
with:
dafny: '4.2.0'
dafny: '4.9.0'
pr-ci-verification:
uses: ./.github/workflows/library_dafny_verification.yml
with:
dafny: '4.2.0'
dafny: '4.9.0'
# pr-ci-java:
# uses: ./.github/workflows/library_java_tests.yml
# with:
# dafny: '4.2.0'
# dafny: '4.9.0'
pr-ci-net:
uses: ./.github/workflows/library_net_tests.yml
with:
dafny: '4.2.0'
dafny: '4.9.0'
pr-test-vectors:
uses: ./.github/workflows/library_interop_tests.yml
with:
dafny: '4.2.0'
dafny: '4.9.0'
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include "Serialize/EncryptionContext.dfy"

module AwsEncryptionSdkOperations refines AbstractAwsCryptographyEncryptionSdkOperations {

import Aws.Cryptography.Primitives
import Primitives = AtomicPrimitives
import MPL = AwsCryptographyMaterialProvidersTypes
import MaterialProviders
import EncryptDecryptHelpers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module EncryptDecryptHelpers {
import Types = AwsCryptographyEncryptionSdkTypes
import MPL = AwsCryptographyMaterialProvidersTypes
import MaterialProviders
import Aws.Cryptography.Primitives
import Primitives = AtomicPrimitives
import MessageBody
import SerializableTypes
import opened SerializeFunctions
Expand Down
2 changes: 1 addition & 1 deletion AwsEncryptionSDK/dafny/AwsEncryptionSdk/src/Index.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module
{:extern "software.amazon.cryptography.encryptionsdk.internaldafny" }
EncryptionSdk refines AbstractAwsCryptographyEncryptionSdkService {
import Operations = AwsEncryptionSdkOperations
import Aws.Cryptography.Primitives
import Primitives = AtomicPrimitives
import MaterialProviders
import AwsCryptographyMaterialProvidersTypes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module KeyDerivation {
import Types = AwsCryptographyEncryptionSdkTypes
import MPL = AwsCryptographyMaterialProvidersTypes
import AwsCryptographyPrimitivesTypes
import Aws.Cryptography.Primitives
import Primitives = AtomicPrimitives
import HeaderTypes
import SerializableTypes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module MessageBody {
import opened UInt = StandardLibrary.UInt
import Types = AwsCryptographyEncryptionSdkTypes
import MPL = AwsCryptographyMaterialProvidersTypes
import Aws.Cryptography.Primitives
import Primitives = AtomicPrimitives
import Streams
import UTF8
import SerializableTypes
Expand Down
4 changes: 2 additions & 2 deletions AwsEncryptionSDK/dafny/AwsEncryptionSdk/test/Fixtures.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Fixtures {
import primitivesTypes = AwsCryptographyPrimitivesTypes
import mplTypes = AwsCryptographyMaterialProvidersTypes
import opened UInt = StandardLibrary.UInt
import Aws.Cryptography.Primitives
import Primitives = AtomicPrimitives

// The following are test resources that exist in tests accounts:

Expand All @@ -20,7 +20,7 @@ module Fixtures {

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

// UTF-8 encoded "aws-crypto-"
const RESERVED_ENCRYPTION_CONTEXT: UTF8.ValidUTF8Bytes :=
Expand Down
4 changes: 4 additions & 0 deletions AwsEncryptionSDK/runtimes/net/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.1.1

Update .csproj files to prevent use of AWS-SDK-NET V4

## 4.1.0

### Notes
Expand Down
9 changes: 3 additions & 6 deletions AwsEncryptionSDK/runtimes/net/ESDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<IsPackable>true</IsPackable>

<Version>4.1.0</Version>
<Version>4.1.1</Version>

<AssemblyName>AWS.Cryptography.EncryptionSDK</AssemblyName>
<PackageId>AWS.Cryptography.EncryptionSDK</PackageId>
Expand All @@ -29,11 +29,8 @@
</PropertyGroup>

<ItemGroup>
<!-- TODO: manually upgraded to match the latest from MPL, is that reasonable? -->
<PackageReference Include="AWSSDK.Core" Version="3.7.300.2" />
<PackageReference Include="DafnyRuntime" Version="4.2.0" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />
<PackageReference Include="AWS.Cryptography.MaterialProviders" Version="1.3.0" />
<PackageReference Include="DafnyRuntime" Version="[4.2.0,4.8.0]" />
<PackageReference Include="AWS.Cryptography.MaterialProviders" Version="[1.7.6]" />
<!--
System.Collections.Immutable can be removed once dafny.msbuild is updated with
https://github.com/dafny-lang/dafny.msbuild/pull/10 and versioned
Expand Down
12 changes: 11 additions & 1 deletion SharedMakefileV2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,19 @@
# that are shared by all libraries in this repo.
PROJECT_ROOT := $(abspath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))

SMITHY_DAFNY_ROOT := $(PROJECT_ROOT)/smithy-dafny
SMITHY_DAFNY_ROOT := $(PROJECT_ROOT)/mpl/smithy-dafny
GRADLEW := ./runtimes/java/gradlew

VERIFY_TIMEOUT := 150

include $(SMITHY_DAFNY_ROOT)/SmithyDafnyMakefile.mk

verify:DAFNY_OPTIONS=--allow-deprecation --allow-external-contracts
verify_single:DAFNY_OPTIONS=--allow-deprecation --allow-external-contracts
verify_service:DAFNY_OPTIONS=--allow-deprecation --allow-external-contracts

transpile_implementation_net: DAFNY_OPTIONS=--allow-warnings --compile-suffix --legacy-module-names --allow-external-contracts
transpile_test_net: DAFNY_OPTIONS=--allow-warnings --include-test-runner --compile-suffix --legacy-module-names --allow-external-contracts

transpile_implementation_java: DAFNY_OPTIONS=--allow-warnings --compile-suffix --legacy-data-constructors --legacy-module-names --allow-external-contracts
transpile_test_java: DAFNY_OPTIONS=--allow-warnings --include-test-runner --compile-suffix --legacy-data-constructors --legacy-module-names --allow-external-contracts
2 changes: 1 addition & 1 deletion libraries
Submodule libraries updated 41 files
+1 −1 .github/workflows/check-examples-in-docs.yml
+2 −2 .github/workflows/reusable-tests.yml
+1 −1 .github/workflows/tests.yml
+2 −0 README.md
+1 −1 Scripts/check-examples
+2 −2 examples/BinaryOperations.dfy
+14 −14 examples/RelationsExamples.dfy
+1 −1 src/BoundedInts.dfy
+1 −1 src/Collections/Arrays/BinarySearch.dfy
+2 −2 src/Collections/Sequences/LittleEndianNat.dfy
+28 −4 src/Collections/Sequences/LittleEndianNatConversions.dfy
+2 −2 src/Collections/Sequences/MergeSort.dfy
+48 −109 src/Collections/Sequences/Seq.dfy
+6 −6 src/Collections/Sets/Isets.dfy
+14 −14 src/Collections/Sets/Sets.dfy
+94 −83 src/FileIO/FileIO.cs
+1 −1 src/JSON/Tests.dfy
+1 −1 src/JSON/Utils/Cursors.dfy
+2 −2 src/JSON/Utils/Lexers.dfy
+1 −1 src/JSON/Utils/Views.Writers.dfy
+1 −1 src/JSON/Utils/Views.dfy
+3 −3 src/JSON/ZeroCopy/Deserializer.dfy
+2 −2 src/JSON/ZeroCopy/Serializer.dfy
+13 −10 src/NonlinearArithmetic/DivMod.dfy
+69 −13 src/NonlinearArithmetic/Internals/ModInternals.dfy
+1 −0 src/NonlinearArithmetic/Logarithm.dfy
+11 −4 src/NonlinearArithmetic/Mul.dfy
+20 −5 src/NonlinearArithmetic/Power.dfy
+2 −0 src/NonlinearArithmetic/Power2.dfy
+1 −1 src/Relations.dfy
+1 −1 src/dafny/BoundedInts.dfy
+1 −1 src/dafny/Collections/Arrays.dfy
+3 −3 src/dafny/Collections/Isets.dfy
+2 −2 src/dafny/Collections/LittleEndianNat.dfy
+64 −128 src/dafny/Collections/Seqs.dfy
+15 −15 src/dafny/Collections/Sets.dfy
+2 −0 src/dafny/NonlinearArithmetic/DivMod.dfy
+5 −5 src/dafny/NonlinearArithmetic/Internals/ModInternals.dfy
+3 −3 src/dafny/NonlinearArithmetic/Multiply.dfy
+21 −5 src/dafny/NonlinearArithmetic/Power.dfy
+2 −0 src/dafny/NonlinearArithmetic/Power2.dfy
2 changes: 1 addition & 1 deletion mpl
Submodule mpl updated from 6d0f00 to df37a7
Loading