Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/aws-database-encryption-sdk-dynamodb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.8.1
Choose a base ref
...
head repository: aws/aws-database-encryption-sdk-dynamodb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Apr 3, 2025

  1. Copy the full SHA
    42be20b View commit details

Commits on Apr 8, 2025

  1. Copy the full SHA
    c67e3c9 View commit details

Commits on Apr 14, 2025

  1. Copy the full SHA
    8ca2883 View commit details

Commits on Apr 23, 2025

  1. Copy the full SHA
    3194054 View commit details

Commits on Apr 29, 2025

  1. chore(dafny): further performance enhancements (#1834)

    * chore(dafny): further performance enhancements
    ajewellamz authored Apr 29, 2025
    Copy the full SHA
    ea94693 View commit details

Commits on Apr 30, 2025

  1. chore: run test vectors in net and java on MacOS (#1844)

    * chore: run test vectors in net and java on MacOS
    ajewellamz authored Apr 30, 2025
    Copy the full SHA
    10f530b View commit details

Commits on May 1, 2025

  1. Copy the full SHA
    ba9caca View commit details

Commits on May 5, 2025

  1. chore(dafny): change nat to uint64 in many places (#1852)

    * chore(dafny): change nat to uint64 in many places
    ajewellamz authored May 5, 2025
    Copy the full SHA
    ec22b7d View commit details

Commits on May 9, 2025

  1. chore(dafny): reduce use of BigInteger (#1872)

    * chore(dafny): change nat to uint64 in many places
    ajewellamz authored May 9, 2025
    Copy the full SHA
    eb7679a View commit details

Commits on May 12, 2025

  1. chore(rust): update dafny runtime release (#1884)

    * chore(rust): update dafny runtime release
    ajewellamz authored May 12, 2025
    Copy the full SHA
    0e4fd02 View commit details

Commits on May 13, 2025

  1. Copy the full SHA
    fc64e62 View commit details
  2. Copy the full SHA
    f2997be View commit details

Commits on May 15, 2025

  1. Copy the full SHA
    ccf61d6 View commit details

Commits on May 27, 2025

  1. Copy the full SHA
    97fe459 View commit details

Commits on May 30, 2025

  1. Copy the full SHA
    58b39a7 View commit details

Commits on Jun 3, 2025

  1. Copy the full SHA
    245ad31 View commit details

Commits on Jun 5, 2025

  1. Copy the full SHA
    8b71004 View commit details
  2. Copy the full SHA
    0ebc112 View commit details
  3. Copy the full SHA
    56821de View commit details

Commits on Jun 6, 2025

  1. Copy the full SHA
    e2d76c3 View commit details

Commits on Jun 9, 2025

  1. Copy the full SHA
    6173888 View commit details
  2. Copy the full SHA
    66a19ab View commit details

Commits on Jun 10, 2025

  1. Copy the full SHA
    6e1e48c View commit details
  2. Copy the full SHA
    354f4f6 View commit details

Commits on Jun 11, 2025

  1. Copy the full SHA
    b532564 View commit details

Commits on Jun 12, 2025

  1. Copy the full SHA
    45ec157 View commit details

Commits on Jun 13, 2025

  1. Copy the full SHA
    69c37c6 View commit details

Commits on Jun 20, 2025

  1. Copy the full SHA
    3bd48ba View commit details

Commits on Jun 23, 2025

  1. Copy the full SHA
    ada96d7 View commit details

Commits on Jun 24, 2025

  1. Copy the full SHA
    efdd373 View commit details

Commits on Jun 25, 2025

  1. Copy the full SHA
    eaefab7 View commit details

Commits on Jun 26, 2025

  1. Copy the full SHA
    bf5a106 View commit details

Commits on Jun 27, 2025

  1. Copy the full SHA
    ffb0c38 View commit details

Commits on Jul 1, 2025

  1. chore: bump mpl (#1953)

    ajewellamz authored Jul 1, 2025
    Copy the full SHA
    4e295f9 View commit details

Commits on Jul 2, 2025

  1. Copy the full SHA
    07bdbe7 View commit details
  2. Copy the full SHA
    2e36410 View commit details

Commits on Jul 7, 2025

  1. Copy the full SHA
    012ebf9 View commit details

Commits on Jul 10, 2025

  1. Copy the full SHA
    9825a4c View commit details

Commits on Jul 14, 2025

  1. Copy the full SHA
    2fe77ab View commit details

Commits on Jul 16, 2025

  1. Copy the full SHA
    7dd705b View commit details

Commits on Jul 18, 2025

  1. Copy the full SHA
    f24a0d3 View commit details

Commits on Aug 1, 2025

  1. Copy the full SHA
    139c856 View commit details

Commits on Aug 5, 2025

  1. Copy the full SHA
    4017a97 View commit details

Commits on Aug 11, 2025

  1. Copy the full SHA
    c8796d9 View commit details
Showing with 450,993 additions and 8,308 deletions.
  1. +24 −8 .github/actions/install_smithy_dafny_codegen_dependencies/action.yml
  2. +6 −0 .github/actions/polymorph_codegen/action.yml
  3. +10 −0 .github/workflows/ci_codegen.yml
  4. +3 −1 .github/workflows/ci_examples_java.yml
  5. +3 −0 .github/workflows/ci_examples_net.yml
  6. +148 −0 .github/workflows/ci_test_go.yml
  7. +4 −0 .github/workflows/ci_test_java.yml
  8. +3 −0 .github/workflows/ci_test_latest_released_mpl_java.yml
  9. +3 −0 .github/workflows/ci_test_net.yml
  10. +8 −0 .github/workflows/ci_test_vector_java.yml
  11. +9 −2 .github/workflows/ci_test_vector_net.yml
  12. +2 −2 .github/workflows/ci_todos.yml
  13. +1 −2 .github/workflows/dafny_interop_test_vector_net.yml
  14. +29 −0 .github/workflows/daily_ci.yml
  15. +114 −0 .github/workflows/go-release.yml
  16. +23 −0 .github/workflows/issue-notification.yml
  17. +3 −0 .github/workflows/library_dafny_verification.yml
  18. +1 −1 .github/workflows/library_rust_tests.yml
  19. +6 −0 .github/workflows/pull.yml
  20. +5 −0 .github/workflows/push.yml
  21. +3 −0 .github/workflows/test_vector_verification.yml
  22. +21 −0 CHANGELOG.md
  23. +103 −0 DynamoDbEncryption/Makefile
  24. +9 −0 DynamoDbEncryption/README.md
  25. +7 −5 DynamoDbEncryption/dafny/DynamoDbEncryption/src/AwsCryptographyDbEncryptionSdkDynamoDbOperations.dfy
  26. +5 −4 DynamoDbEncryption/dafny/DynamoDbEncryption/src/CompoundBeacon.dfy
  27. +13 −11 DynamoDbEncryption/dafny/DynamoDbEncryption/src/ConfigToInfo.dfy
  28. +43 −27 DynamoDbEncryption/dafny/DynamoDbEncryption/src/DDBSupport.dfy
  29. +677 −223 DynamoDbEncryption/dafny/DynamoDbEncryption/src/DynamoToStruct.dfy
  30. +323 −250 DynamoDbEncryption/dafny/DynamoDbEncryption/src/FilterExpr.dfy
  31. +2 −3 DynamoDbEncryption/dafny/DynamoDbEncryption/src/Index.dfy
  32. +24 −3 DynamoDbEncryption/dafny/DynamoDbEncryption/src/SearchInfo.dfy
  33. +52 −41 DynamoDbEncryption/dafny/DynamoDbEncryption/src/TermLoc.dfy
  34. +1 −1 DynamoDbEncryption/dafny/DynamoDbEncryption/src/Util.dfy
  35. +2 −1 DynamoDbEncryption/dafny/DynamoDbEncryption/src/Virtual.dfy
  36. +6 −1 DynamoDbEncryption/dafny/DynamoDbEncryption/test/Beacon.dfy
  37. +23 −5 DynamoDbEncryption/dafny/DynamoDbEncryption/test/DynamoDbEncryptionBranchKeyIdSupplierTest.dfy
  38. +43 −8 DynamoDbEncryption/dafny/DynamoDbEncryption/test/DynamoDbGetEncryptedDataKeyDescriptionTest.dfy
  39. +8 −3 DynamoDbEncryption/dafny/DynamoDbEncryption/test/FilterExpr.dfy
  40. +17 −10 DynamoDbEncryption/dafny/DynamoDbEncryptionTransforms/src/DynamoDbMiddlewareSupport.dfy
  41. +17 −12 DynamoDbEncryption/dafny/DynamoDbEncryptionTransforms/src/Index.dfy
  42. +2 −12 DynamoDbEncryption/dafny/DynamoDbEncryptionTransforms/src/PutItemTransform.dfy
  43. +43 −50 ...dafny/DynamoDbItemEncryptor/src/AwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorOperations.dfy
  44. +2 −3 DynamoDbEncryption/dafny/DynamoDbItemEncryptor/src/Index.dfy
  45. +34 −13 DynamoDbEncryption/dafny/DynamoDbItemEncryptor/src/Util.dfy
  46. +10 −30 DynamoDbEncryption/dafny/DynamoDbItemEncryptor/test/DynamoDBItemEncryptorTest.dfy
  47. +148 −68 ...n/dafny/StructuredEncryption/src/AwsCryptographyDbEncryptionSdkStructuredEncryptionOperations.dfy
  48. +53 −27 DynamoDbEncryption/dafny/StructuredEncryption/src/Canonize.dfy
  49. +37 −21 DynamoDbEncryption/dafny/StructuredEncryption/src/Crypt.dfy
  50. +104 −44 DynamoDbEncryption/dafny/StructuredEncryption/src/Footer.dfy
  51. +258 −170 DynamoDbEncryption/dafny/StructuredEncryption/src/Header.dfy
  52. +2 −3 DynamoDbEncryption/dafny/StructuredEncryption/src/Index.dfy
  53. +431 −0 DynamoDbEncryption/dafny/StructuredEncryption/src/OptimizedMergeSort.dfy
  54. +56 −24 DynamoDbEncryption/dafny/StructuredEncryption/src/Paths.dfy
  55. +57 −3 DynamoDbEncryption/dafny/StructuredEncryption/src/SortCanon.dfy
  56. +66 −25 DynamoDbEncryption/dafny/StructuredEncryption/src/Util.dfy
  57. +1 −1 DynamoDbEncryption/dafny/StructuredEncryption/test/Crypt.dfy
  58. +11 −1 DynamoDbEncryption/dafny/StructuredEncryption/test/HappyCaseTests.dfy
  59. +32 −6 DynamoDbEncryption/dafny/StructuredEncryption/test/Header.dfy
  60. +12 −18 DynamoDbEncryption/dafny/StructuredEncryption/test/Paths.dfy
  61. +45 −0 DynamoDbEncryption/runtimes/go/ImplementationFromDafny-go/InternalLegacyOverride/extern.go
  62. +43 −0 ...lementationFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorService/shim.go
  63. +43 −0 ...ntimes/go/ImplementationFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbService/shim.go
  64. +268 −0 ...ImplementationFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbTransformsService/shim.go
  65. +70 −0 ...plementationFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkStructuredEncryptionService/shim.go
  66. +68 −0 ...tionFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygenerated/api_client.go
  67. +437 −0 ...tationFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygenerated/to_dafny.go
  68. +447 −0 ...ationFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygenerated/to_native.go
  69. +17 −0 ...ionFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygeneratedtypes/errors.go
  70. +852 −0 ...tionFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygeneratedtypes/types.go
  71. +26 −0 ...y-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygeneratedtypes/unmodelled_errors.go
  72. +25 −0 ...mDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/DynamoDbKeyBranchKeyIdSupplier.go
  73. +23 −0 ...cryptographydbencryptionsdkdynamodbsmithygenerated/DynamoDbKeyBranchKeyIdSupplierNativeWrapper.go
  74. +11 −0 ...tionFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/LegacyDynamoDbEncryptor.go
  75. +13 −0 ...-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/LegacyDynamoDbEncryptorNativeWrapper.go
  76. +68 −0 ...go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/api_client.go
  77. +1,821 −0 ...s/go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/to_dafny.go
  78. +1,658 −0 .../go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/to_native.go
  79. +35 −0 ...go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/enums.go
  80. +17 −0 ...o/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/errors.go
  81. +1,391 −0 ...go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/types.go
  82. +26 −0 ...ationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/unmodelled_errors.go
  83. +595 −0 ...ntationFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygenerated/api_client.go
  84. +1,127 −0 ...mentationFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygenerated/to_dafny.go
  85. +1,098 −0 ...entationFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygenerated/to_native.go
  86. +17 −0 ...tationFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygeneratedtypes/errors.go
  87. +702 −0 ...ntationFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygeneratedtypes/types.go
  88. +26 −0 ...afny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygeneratedtypes/unmodelled_errors.go
  89. +131 −0 ...ationFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygenerated/api_client.go
  90. +846 −0 ...ntationFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygenerated/to_dafny.go
  91. +808 −0 ...tationFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygenerated/to_native.go
  92. +35 −0 ...ationFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/enums.go
  93. +17 −0 ...tionFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/errors.go
  94. +615 −0 ...ationFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/types.go
  95. +26 −0 ...ny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/unmodelled_errors.go
  96. +350 −0 DynamoDbEncryption/runtimes/go/ImplementationFromDafny-go/dbesdkmiddleware/middleware.go
  97. +41 −0 DynamoDbEncryption/runtimes/go/ImplementationFromDafny-go/go.mod
  98. +48 −0 DynamoDbEncryption/runtimes/go/ImplementationFromDafny-go/go.sum
  99. +83 −0 DynamoDbEncryption/runtimes/go/README.md
  100. +43 −0 ...es/go/TestsFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorService/shim.go
  101. +43 −0 ...yption/runtimes/go/TestsFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbService/shim.go
  102. +268 −0 ...times/go/TestsFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbTransformsService/shim.go
  103. +70 −0 ...mes/go/TestsFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkStructuredEncryptionService/shim.go
  104. +68 −0 ...estsFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygenerated/api_client.go
  105. +437 −0 .../TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygenerated/to_dafny.go
  106. +447 −0 ...TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygenerated/to_native.go
  107. +17 −0 ...stsFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygeneratedtypes/errors.go
  108. +852 −0 ...estsFromDafny-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygeneratedtypes/types.go
  109. +26 −0 ...y-go/awscryptographydbencryptionsdkdynamodbitemencryptorsmithygeneratedtypes/unmodelled_errors.go
  110. +25 −0 ...mDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/DynamoDbKeyBranchKeyIdSupplier.go
  111. +23 −0 ...cryptographydbencryptionsdkdynamodbsmithygenerated/DynamoDbKeyBranchKeyIdSupplierNativeWrapper.go
  112. +11 −0 ...estsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/LegacyDynamoDbEncryptor.go
  113. +13 −0 ...-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/LegacyDynamoDbEncryptorNativeWrapper.go
  114. +68 −0 ...runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/api_client.go
  115. +1,821 −0 ...n/runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/to_dafny.go
  116. +1,658 −0 .../runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated/to_native.go
  117. +35 −0 ...runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/enums.go
  118. +17 −0 ...untimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/errors.go
  119. +1,391 −0 ...runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/types.go
  120. +26 −0 ...TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes/unmodelled_errors.go
  121. +595 −0 ...o/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygenerated/api_client.go
  122. +1,127 −0 .../go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygenerated/to_dafny.go
  123. +1,098 −0 ...go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygenerated/to_native.go
  124. +17 −0 .../TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygeneratedtypes/errors.go
  125. +702 −0 ...o/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygeneratedtypes/types.go
  126. +26 −0 ...afny-go/awscryptographydbencryptionsdkdynamodbtransformssmithygeneratedtypes/unmodelled_errors.go
  127. +131 −0 ...TestsFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygenerated/api_client.go
  128. +846 −0 ...o/TestsFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygenerated/to_dafny.go
  129. +808 −0 .../TestsFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygenerated/to_native.go
  130. +35 −0 ...TestsFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/enums.go
  131. +17 −0 ...estsFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/errors.go
  132. +615 −0 ...TestsFromDafny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/types.go
  133. +26 −0 ...ny-go/awscryptographydbencryptionsdkstructuredencryptionsmithygeneratedtypes/unmodelled_errors.go
  134. +43 −0 DynamoDbEncryption/runtimes/go/TestsFromDafny-go/go.mod
  135. +48 −0 DynamoDbEncryption/runtimes/go/TestsFromDafny-go/go.sum
  136. +2 −2 DynamoDbEncryption/runtimes/java/build.gradle.kts
  137. +1 −1 .../runtimes/java/src/test/java/software/amazon/cryptography/dbencryptionsdk/dynamodb/TestUtils.java
  138. +1 −1 DynamoDbEncryption/runtimes/net/AssemblyInfo.cs
  139. +1 −1 DynamoDbEncryption/runtimes/net/DynamoDbEncryption.csproj
  140. +13 −13 DynamoDbEncryption/runtimes/rust/Cargo.toml
  141. +1 −1 DynamoDbEncryption/runtimes/rust/start_release.sh
  142. +250 −0 Examples/runtimes/go/clientsupplier/clientsupplierexample.go
  143. +27 −0 Examples/runtimes/go/clientsupplier/regionalRoleClientSupplierConfig.go
  144. +53 −0 Examples/runtimes/go/clientsupplier/regionalroleclientsupplier.go
  145. +46 −0 Examples/runtimes/go/go.mod
  146. +48 −0 Examples/runtimes/go/go.sum
  147. +180 −0 Examples/runtimes/go/itemencryptor/itemencryptdecrypt.go
  148. +168 −0 Examples/runtimes/go/keyring/awskmskeyring.go
  149. +268 −0 Examples/runtimes/go/keyring/awskmsrsakeyring.go
  150. +71 −0 Examples/runtimes/go/keyring/branchkeyidsupplier.go
  151. +261 −0 Examples/runtimes/go/keyring/hierarchicalkeyring.go
  152. +214 −0 Examples/runtimes/go/keyring/mrkdiscoverymultikeyring.go
  153. +170 −0 Examples/runtimes/go/keyring/rawaeskeyring.go
  154. +284 −0 Examples/runtimes/go/keyring/rawrsakeyring.go
  155. +103 −0 Examples/runtimes/go/main.go
  156. +51 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/README.md
  157. +71 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/common.go
  158. +124 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step1.go
  159. +50 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step1_test.go
  160. +122 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step2.go
  161. +49 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step2_test.go
  162. +119 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step3.go
  163. +49 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/step3_test.go
  164. +58 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/migrationutils.go
  165. +93 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/plaintext/step0.go
  166. +47 −0 Examples/runtimes/go/migration/PlaintextToAWSDBE/plaintext/step0_test.go
  167. +145 −0 Examples/runtimes/go/misc/basicputgetexample.go
  168. +63 −0 Examples/runtimes/go/misc/createBranchKeyID.go
  169. +75 −0 Examples/runtimes/go/misc/getEncryptedDataKeyDescription.go
  170. +196 −0 Examples/runtimes/go/misc/multiPutGet.go
  171. +367 −0 Examples/runtimes/go/searchableencryption/basicsearchableencryptionexample.go
  172. +425 −0 Examples/runtimes/go/searchableencryption/beaconstylessearchableencryptionexample.go
  173. +23 −0 Examples/runtimes/go/searchableencryption/complexexample/README.md
  174. +357 −0 Examples/runtimes/go/searchableencryption/complexexample/beaconconfig.go
  175. +41 −0 Examples/runtimes/go/searchableencryption/complexexample/complexsearchableencryptionexample.go
  176. +646 −0 Examples/runtimes/go/searchableencryption/complexexample/putrequests.go
  177. +1,426 −0 Examples/runtimes/go/searchableencryption/complexexample/queryrequests.go
  178. +357 −0 Examples/runtimes/go/searchableencryption/compoundbeaconsearchableencryptionexample.go
  179. +474 −0 Examples/runtimes/go/searchableencryption/virtualbeaconsearchableencryptionexample.go
  180. +204 −0 Examples/runtimes/go/utils/exampleUtils.go
  181. +36 −16 ...va/DynamoDbEncryption/src/main/java/software/amazon/cryptography/examples/BasicPutGetExample.java
  182. +14 −1 ...ynamoDbEncryption/src/test/java/software/amazon/cryptography/examples/TestBasicPutGetExample.java
  183. +41 −0 ...ntimes/java/DynamoDbEncryption/src/test/java/software/amazon/cryptography/examples/TestUtils.java
  184. +2 −2 Examples/runtimes/java/Migration/PlaintextToAWSDBE/README.md
  185. +7 −5 ...extToAWSDBE/src/main/java/software/amazon/cryptography/examples/awsdbe/MigrationExampleStep1.java
  186. +8 −6 ...extToAWSDBE/src/main/java/software/amazon/cryptography/examples/awsdbe/MigrationExampleStep2.java
  187. +7 −5 ...extToAWSDBE/src/main/java/software/amazon/cryptography/examples/awsdbe/MigrationExampleStep3.java
  188. +10 −5 ...ToAWSDBE/src/main/java/software/amazon/cryptography/examples/plaintext/MigrationExampleStep0.java
  189. +57 −0 ...on/PlaintextToAWSDBE/src/test/java/software/amazon/cryptography/examples/migration/TestUtils.java
  190. +30 −7 ...c/test/java/software/amazon/cryptography/examples/migration/awsdbe/TestMigrationExampleStep1.java
  191. +30 −7 ...c/test/java/software/amazon/cryptography/examples/migration/awsdbe/TestMigrationExampleStep2.java
  192. +39 −20 ...c/test/java/software/amazon/cryptography/examples/migration/awsdbe/TestMigrationExampleStep3.java
  193. +0 −12 ...ntextToAWSDBE/src/test/java/software/amazon/cryptography/examples/migration/awsdbe/TestUtils.java
  194. +26 −7 ...software/amazon/cryptography/examples/migration/awsdbe/encrypttable/TestEncryptExistingTable.java
  195. +39 −7 ...est/java/software/amazon/cryptography/examples/migration/plaintext/TestMigrationExampleStep0.java
  196. +0 −12 ...xtToAWSDBE/src/test/java/software/amazon/cryptography/examples/migration/plaintext/TestUtils.java
  197. +1 −1 Makefile
  198. +5 −2 README.md
  199. +101 −1 TestVectors/Makefile
  200. +26 −9 TestVectors/README.md
  201. +50 −0 TestVectors/dafny/DDBEncryption/src/CreateWrappedItemEncryptor.dfy
  202. +8 −0 TestVectors/dafny/DDBEncryption/src/DecryptManifest.dfy
  203. +12 −3 TestVectors/dafny/DDBEncryption/src/Index.dfy
  204. +51 −9 TestVectors/dafny/DDBEncryption/src/JsonConfig.dfy
  205. +445 −28 TestVectors/dafny/DDBEncryption/src/TestVectors.dfy
  206. +37 −1 TestVectors/dafny/DDBEncryption/src/WriteManifest.dfy
  207. +20 −0 ...edDynamoDbItemEncryptor/Model/AwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorTypesWrapped.dfy
  208. +15 −0 TestVectors/dafny/WrappedDynamoDbItemEncryptor/src/Index.dfy
  209. +61 −0 TestVectors/runtimes/go/ImplementationFromDafny-go/CreateInterceptedDDBClient/extern.go
  210. +11 −0 TestVectors/runtimes/go/ImplementationFromDafny-go/CreateWrappedItemEncryptor/extern.go
  211. +45 −0 TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod
  212. +48 −0 TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum
  213. +47 −0 TestVectors/runtimes/go/TestsFromDafny-go/go.mod
  214. +48 −0 TestVectors/runtimes/go/TestsFromDafny-go/go.sum
  215. +143,245 −0 TestVectors/runtimes/java/decrypt_go_38.json
  216. +255,854 −0 TestVectors/runtimes/java/decrypt_java_39.json
  217. +1,172 −0 TestVectors/runtimes/java/large_records.json
  218. +37 −0 TestVectors/runtimes/java/src/main/java/CreateWrappedItemEncryptor_Compile/__default.java
  219. +110 −0 ...amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/wrapped/TestDynamoDbItemEncryptor.java
  220. +26 −0 TestVectors/runtimes/net/Extern/CreateWrappedItemEncryptor.cs
  221. +88 −0 TestVectors/runtimes/net/Generated/WrappedDynamoDbItemEncryptor/DynamoDbItemEncryptorShim.cs
  222. +1,058 −0 TestVectors/runtimes/net/Generated/WrappedDynamoDbItemEncryptor/TypeConversion.cs
  223. +16 −12 TestVectors/runtimes/rust/Cargo.toml
  224. +24 −0 TestVectors/runtimes/rust/src/create_wrapped_item_encryptor.rs
  225. +2 −1 TestVectors/runtimes/rust/src/lib.rs
  226. +2 −1 cfn/CB-Staging.yml
  227. +1 −0 cfn/CI.yaml
  228. +4 −2 codebuild/release/release-prod.yml
  229. +6 −6 codebuild/release/release.yml
  230. +2 −0 codebuild/release/validate-release.yml
  231. +2 −0 codebuild/staging/release-staging.yml
  232. +2 −0 codebuild/staging/validate-staging.yml
  233. +3 −3 project.properties
  234. +21 −0 releases/go/.git-cliff.toml
  235. +13 −13 releases/rust/db_esdk/Cargo.toml
  236. +10 −4 releases/rust/db_esdk/dafny_runtime_rust/Cargo.toml
  237. +420 −0 releases/rust/db_esdk/dafny_runtime_rust/src/big_int.rs
  238. +236 −540 releases/rust/db_esdk/dafny_runtime_rust/src/lib.rs
  239. +335 −0 releases/rust/db_esdk/dafny_runtime_rust/src/small_int.rs
  240. +399 −419 releases/rust/db_esdk/dafny_runtime_rust/src/system/mod.rs
  241. +291 −119 releases/rust/db_esdk/dafny_runtime_rust/src/tests/mod.rs
  242. +24 −29 releases/rust/db_esdk/src/aes_gcm.rs
  243. +4 −4 releases/rust/db_esdk/src/aes_kdf_ctr.rs
  244. +13 −0 releases/rust/db_esdk/src/dafny_libraries.rs
  245. +5 −5 ..._default_cryptographic_materials_manager/_create_default_cryptographic_materials_manager_input.rs
  246. +3 −3 ...yptography_materialProviders/operation/create_default_cryptographic_materials_manager/builders.rs
  247. +10 −10 ...operation/create_required_encryption_context_cmm/_create_required_encryption_context_cmm_input.rs
  248. +6 −6 ...s/aws_cryptography_materialProviders/operation/create_required_encryption_context_cmm/builders.rs
  249. +5 −5 ...aws_cryptography_materialProviders/types/_create_default_cryptographic_materials_manager_input.rs
  250. +10 −10 ...rc/deps/aws_cryptography_materialProviders/types/_create_required_encryption_context_cmm_input.rs
  251. +13 −2 releases/rust/db_esdk/src/deps/aws_cryptography_materialProviders/types/error.rs
  252. +4 −0 releases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/client.rs
  253. +24 −0 releases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/conversions/batch_statement_error.rs
  254. +12 −0 releases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/conversions/batch_statement_request.rs
  255. +12 −0 ...ases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/conversions/delete_item/_delete_item_request.rs
  256. +12 −0 ..._esdk/src/deps/com_amazonaws_dynamodb/conversions/execute_statement/_execute_statement_request.rs
  257. +12 −0 releases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/conversions/parameterized_statement.rs
  258. +12 −0 releases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/conversions/put_item/_put_item_request.rs
  259. +12 −0 ...ases/rust/db_esdk/src/deps/com_amazonaws_dynamodb/conversions/update_item/_update_item_request.rs
  260. +3 −3 releases/rust/db_esdk/src/digest.rs
  261. +22 −22 releases/rust/db_esdk/src/ecdh.rs
  262. +12 −12 releases/rust/db_esdk/src/ecdsa.rs
  263. +11 −11 releases/rust/db_esdk/src/hmac.rs
  264. +7,342 −5,717 releases/rust/db_esdk/src/implementation_from_dafny.rs
  265. +0 −3 releases/rust/db_esdk/src/intercept.rs
  266. +1 −1 releases/rust/db_esdk/src/random.rs
  267. +15 −12 releases/rust/db_esdk/src/rsa.rs
  268. +1 −1 releases/rust/db_esdk/src/sets.rs
  269. +3 −0 releases/rust/db_esdk/src/software_externs.rs
  270. +2 −2 releases/rust/db_esdk/src/uuid.rs
  271. +104 −0 releases/rust/db_esdk/src/validation.rs
  272. +107 −0 scripts/go-release-automation.sh
  273. +1 −1 submodules/MaterialProviders
  274. +1 −1 submodules/smithy-dafny
Original file line number Diff line number Diff line change
@@ -8,14 +8,30 @@ description: "Install Java package dependencies required to run Smithy-Dafny cod
runs:
using: "composite"
steps:
- name: Install smithy-dafny-codegen Rust dependencies locally
uses: gradle/gradle-build-action@v2
- name: Setup Java 17 for codegen
uses: actions/setup-java@v3
with:
arguments: :codegen-client:pTML :codegen-core:pTML :rust-runtime:pTML
build-root-directory: submodules/smithy-dafny/smithy-dafny-codegen-modules/smithy-rs
distribution: "corretto"
java-version: "17"

- name: Install smithy-dafny-codegen Python dependencies locally
uses: gradle/gradle-build-action@v2
- name: Install smithy-dafny-codegen dependencies locally
shell: bash
run: |
make -C submodules/smithy-dafny mvn_local_deploy_polymorph_dependencies
- name: Setup Python, black, and docformatter for code formatting
uses: actions/setup-python@v4
with:
arguments: :smithy-python-codegen:pTML
build-root-directory: submodules/smithy-dafny/codegen/smithy-dafny-codegen-modules/smithy-python/codegen
python-version: ${{ matrix.python-version }}
architecture: x64
- shell: bash
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade black
python -m pip install --upgrade docformatter
# Without this the if-dafny-at-least command includes "Downloading ..." output
- name: Arbitrary makefile target to force downloading Gradle
shell: bash
run: |
make -C submodules/MaterialProviders/StandardLibrary setup_net
6 changes: 6 additions & 0 deletions .github/actions/polymorph_codegen/action.yml
Original file line number Diff line number Diff line change
@@ -141,6 +141,12 @@ runs:
run: |
make polymorph_dotnet ${{ steps.dependencies.outputs.PROJECT_DEPENDENCIES }}
- name: Regenerate Go code using smithy-dafny
working-directory: ./${{ inputs.library }}
shell: bash
run: |
make polymorph_go
- name: Check regenerated code against commited code
# Composite action inputs seem to not actually support booleans properly for some reason
if: inputs.diff-generated-code == 'true'
10 changes: 10 additions & 0 deletions .github/workflows/ci_codegen.yml
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ jobs:
# in this workflow
dotnet-version: ["6.0.x"]
os: [ubuntu-22.04]
go-version: [1.23]
runs-on: ${{ matrix.os }}
defaults:
run:
@@ -48,6 +49,15 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Install Go imports
run: |
go install golang.org/x/tools/cmd/goimports@latest
- name: Create temporary global.json
run: echo '{"sdk":{"rollForward":"latestFeature","version":"6.0.0"}}' > ./global.json

4 changes: 3 additions & 1 deletion .github/workflows/ci_examples_java.yml
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@ on:
jobs:
testJava:
strategy:
max-parallel: 1
matrix:
java-version: [8, 11, 16, 17]
os: [macos-13]
@@ -71,6 +70,9 @@ jobs:
run: |
sed "s/mplDependencyJavaVersion=.*/mplDependencyJavaVersion=${{inputs.mpl-version}}/g" project.properties > project.properties2; mv project.properties2 project.properties
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
3 changes: 3 additions & 0 deletions .github/workflows/ci_examples_net.yml
Original file line number Diff line number Diff line change
@@ -59,6 +59,9 @@ jobs:
git submodule update --init --recursive
git rev-parse HEAD
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
148 changes: 148 additions & 0 deletions .github/workflows/ci_test_go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# This workflow performs tests in Go.
name: Library Go tests

on:
workflow_call:
inputs:
dafny:
description: "The Dafny version to run"
required: true
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
default: false
type: boolean
mpl-version:
description: "MPL version to use"
required: false
type: string
mpl-head:
description: "Running on MPL HEAD"
required: false
default: false
type: boolean

jobs:
testGo:
strategy:
fail-fast: false
matrix:
library: [DynamoDbEncryption, TestVectors]
os: [ubuntu-22.04, macos-13]
go-version: ["1.23", "1.24"]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- name: Setup Docker
if: matrix.os == 'macos-13' && matrix.library == 'TestVectors'
uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: Setup DynamoDB Local
if: matrix.library == 'TestVectors'
uses: rrainn/dynamodb-action@v4.0.0
with:
port: 8000
cors: "*"

- name: Support longpaths
run: |
git config --global core.longpaths true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
role-session-name: DDBEC-Dafny-Java-Tests

- uses: actions/checkout@v3
with:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
with:
dafny-version: ${{ inputs.dafny }}

- name: Create temporary global.json
run: echo '{"sdk":{"rollForward":"latestFeature","version":"6.0.0"}}' > ./global.json

- name: Setup Java 17 for codegen
uses: actions/setup-java@v3
with:
distribution: "corretto"
java-version: "17"

- name: Update MPL submodule if using MPL HEAD
if: ${{ inputs.mpl-head == true }}
working-directory: submodules/MaterialProviders
run: |
git checkout main
git pull
git submodule update --init --recursive
git rev-parse HEAD
- name: Update project.properties if using MPL HEAD
if: ${{ inputs.mpl-head == true }}
run: |
sed "s/mplDependencyJavaVersion=.*/mplDependencyJavaVersion=${{inputs.mpl-version}}/g" project.properties > project.properties2; mv project.properties2 project.properties
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Install Go imports
run: |
go install golang.org/x/tools/cmd/goimports@latest
- uses: actions/checkout@v3
- name: Init Submodules
shell: bash
run: |
git submodule update --init --recursive submodules/smithy-dafny
git submodule update --init --recursive submodules/MaterialProviders
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Install Go imports
shell: bash
run: |
go install golang.org/x/tools/cmd/goimports@latest
- name: Build ${{ matrix.library }} implementation
shell: bash
working-directory: ./${{ matrix.library }}
run: |
# This works because `node` is installed by default on GHA runners
CORES=$(node -e 'console.log(os.cpus().length)')
make transpile_go CORES=$CORES
- name: Regenerate code using smithy-dafny
shell: bash
working-directory: ./${{ matrix.library }}
run: |
make polymorph_go
- name: Copy ${{ matrix.library }} Vector Files
if: ${{ matrix.library == 'TestVectors' }}
shell: bash
working-directory: ./${{ matrix.library }}
run: |
cp runtimes/java/*.json runtimes/go/TestsFromDafny-go/
- name: Test ${{ matrix.library }}
working-directory: ./${{ matrix.library }}
run: |
make test_go
- name: Run and Test Examples
if: matrix.library == 'DynamoDbEncryption'
working-directory: ./Examples/runtimes/go
run: |
go run main.go
go test ./...
4 changes: 4 additions & 0 deletions .github/workflows/ci_test_java.yml
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ on:
jobs:
testJava:
strategy:
fail-fast: false
matrix:
library: [DynamoDbEncryption]
java-version: [8, 11, 16, 17]
@@ -65,6 +66,9 @@ jobs:
run: |
sed "s/mplDependencyJavaVersion=.*/mplDependencyJavaVersion=${{inputs.mpl-version}}/g" project.properties > project.properties2; mv project.properties2 project.properties
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
3 changes: 3 additions & 0 deletions .github/workflows/ci_test_latest_released_mpl_java.yml
Original file line number Diff line number Diff line change
@@ -58,6 +58,9 @@ jobs:
with:
dafny-version: ${{ needs.getVersion.outputs.version }}

- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
3 changes: 3 additions & 0 deletions .github/workflows/ci_test_net.yml
Original file line number Diff line number Diff line change
@@ -60,6 +60,9 @@ jobs:
git submodule update --init --recursive
git rev-parse HEAD
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
8 changes: 8 additions & 0 deletions .github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change
@@ -32,12 +32,17 @@ jobs:
os: [
# Run on ubuntu image that comes pre-configured with docker
ubuntu-22.04,
macos-13,
]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- name: Setup Docker
if: matrix.os == 'macos-13' && matrix.library == 'TestVectors'
uses: douglascamata/setup-docker-macos-action@v1.0.0

- name: Setup DynamoDB Local
uses: rrainn/dynamodb-action@v4.0.0
with:
@@ -74,6 +79,9 @@ jobs:
run: |
sed "s/mplDependencyJavaVersion=.*/mplDependencyJavaVersion=${{inputs.mpl-version}}/g" project.properties > project.properties2; mv project.properties2 project.properties
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
11 changes: 9 additions & 2 deletions .github/workflows/ci_test_vector_net.yml
Original file line number Diff line number Diff line change
@@ -28,12 +28,17 @@ jobs:
os: [
# Run on ubuntu image that comes pre-configured with docker
ubuntu-22.04,
macos-13,
]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- name: Setup Docker
if: matrix.os == 'macos-13' && matrix.library == 'TestVectors'
uses: douglascamata/setup-docker-macos-action@v1.0.0

- name: Setup DynamoDB Local
uses: rrainn/dynamodb-action@v4.0.0
with:
@@ -65,6 +70,9 @@ jobs:
git submodule update --init --recursive
git rev-parse HEAD
- name: Install Smithy-Dafny codegen dependencies
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies

- name: Regenerate code using smithy-dafny if necessary
if: ${{ inputs.regenerate-code }}
uses: ./.github/actions/polymorph_codegen
@@ -89,7 +97,6 @@ jobs:
- name: Test TestVectors on .NET 6.0
working-directory: ./${{matrix.library}}/runtimes/net
run: |
cp ../java/decrypt_java_*.json ../java/decrypt_dotnet_*.json ../java/decrypt_rust_*.json .
dotnet run
cp ../java/*.json .
dotnet run
dotnet run --framework net6.0
4 changes: 2 additions & 2 deletions .github/workflows/ci_todos.yml
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@ jobs:
shell: bash
# TODOs may be committed as long as the same line contains a link to a Github Issue or refers to a CrypTool SIM.
run: |
ALL_TODO_COUNT=$( { grep -r "TODO" . --exclude-dir=./releases --exclude-dir=./TestVectors/runtimes --exclude-dir=./submodules --exclude-dir=./.git --exclude=./.github/workflows/ci_todos.yml || true; } | wc -l)
GOOD_TODO_COUNT=$( { grep -r "TODO.*\(github.com\/.*issues.*\/[1-9][0-9]*\|CrypTool-[1-9][0-9]*\)" . --exclude-dir=./releases --exclude-dir=./submodules --exclude-dir=./.git --exclude-dir=./TestVectors/runtimes --exclude=./.github/workflows/ci_todos.yml || true; } | wc -l)
ALL_TODO_COUNT=$( { grep -r "TODO" . --exclude-dir=./releases --exclude-dir=./TestVectors/runtimes --exclude-dir=./submodules --exclude-dir=./.git --exclude=./.github/workflows/ci_todos.yml | grep -v "context\.TODO()" || true; } | wc -l)
GOOD_TODO_COUNT=$( { grep -r "TODO.*\(github.com\/.*issues.*\/[1-9][0-9]*\|CrypTool-[1-9][0-9]*\)" . --exclude-dir=./releases --exclude-dir=./submodules --exclude-dir=./.git --exclude-dir=./TestVectors/runtimes --exclude=./.github/workflows/ci_todos.yml | grep -v "context\.TODO()" || true; } | wc -l)
if [ "$ALL_TODO_COUNT" != "$GOOD_TODO_COUNT" ]; then
exit 1;
fi
3 changes: 1 addition & 2 deletions .github/workflows/dafny_interop_test_vector_net.yml
Original file line number Diff line number Diff line change
@@ -108,7 +108,6 @@ jobs:
- name: Test TestVectors on .NET 6.0
working-directory: ./${{matrix.library}}/runtimes/net
run: |
cp ../java/decrypt_java_*.json ../java/decrypt_dotnet_*.json ../java/decrypt_rust_*.json .
dotnet run
cp ../java/*.json .
dotnet run
dotnet run --framework net6.0
Loading