Skip to content

Commit

Permalink
refactor: move aws-encryption-sdk-net into AwsEncryptionSDK/runtimes/…
Browse files Browse the repository at this point in the history
…net (aws#226)
  • Loading branch information
josecorella authored Oct 3, 2023
1 parent 33f2904 commit 2e3f145
Show file tree
Hide file tree
Showing 151 changed files with 49 additions and 19,260 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
[submodule "aws-encryption-sdk-specification"]
path = aws-encryption-sdk-specification
url = https://github.com/awslabs/aws-encryption-sdk-specification.git
[submodule "aws-encryption-sdk-net-formally-verified/TestVectors/resources/aws-encryption-sdk-test-vectors"]
path = aws-encryption-sdk-net/TestVectors/resources/aws-encryption-sdk-test-vectors
url = https://github.com/awslabs/aws-encryption-sdk-test-vectors.git
[submodule "mpl"]
path = mpl
url = https://github.com/aws/aws-cryptographic-material-providers-library-java.git
[submodule "AwsEncryptionSDK/runtimes/net/TestVectorsV3/TestVectors/resources/aws-encryption-sdk-test-vectors"]
path = AwsEncryptionSDK/runtimes/net/TestVectorsV3/TestVectors/resources/aws-encryption-sdk-test-vectors
url = https://github.com/awslabs/aws-encryption-sdk-test-vectors.git
File renamed without changes.
File renamed without changes.
File renamed without changes.
83 changes: 45 additions & 38 deletions AwsEncryptionSDK/runtimes/net/ESDK.csproj
Original file line number Diff line number Diff line change
@@ -1,46 +1,53 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>Encryption SDK .NET</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<LangVersion>10</LangVersion>
<TargetFrameworks>net6.0</TargetFrameworks>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>net6.0</TargetFrameworks>
<LangVersion>10</LangVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<IsPackable>true</IsPackable>

<Version>4.0.0</Version>

<ItemGroup>
<PackageReference Include="AWSSDK.Core" Version="3.7.103" />
<PackageReference Include="DafnyRuntime" Version="4.2.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5.2" />
<!--
System.Collections.Immutable can be removed once dafny.msbuild is updated with
https://github.com/dafny-lang/dafny.msbuild/pull/10 and versioned
-->
<PackageReference Include="System.Collections.Immutable" Version="1.7.0" />
<!-- Work around for dafny-lang/dafny/issues/1951; remove once resolved -->
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<AssemblyName>AWS.Cryptography.EncryptionSDK</AssemblyName>
<PackageId>AWS.Cryptography.EncryptionSDK</PackageId>
<Title>AWS Encryption SDK for .NET</Title>
<Description>The AWS Encryption SDK is a client-side encryption library designed to make it easy for everyone to encrypt and decrypt data using industry standards and best practices.</Description>
<Authors>Amazon Web Services</Authors>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/aws/aws-encryption-sdk-dafny</RepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>AWS;Amazon;KMS;Encryption;Cryptography</PackageTags>
<!--
Ignore errors from generated code. Ideally this would be scoped to just the relevant files.
CS0105: duplicate namespace, CS0618: obsolete members
-->
<NoWarn>CS0105,CS0618</NoWarn>

</PropertyGroup>

<Compile Include="Extern/**/*.cs" />
<Compile Include="Generated/**/*.cs" />
<Compile Include="ImplementationFromDafny.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.Core" Version="3.7.103" />
<PackageReference Include="DafnyRuntime" Version="4.2.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5.2" />
<PackageReference Include="AWS.Cryptography.MaterialProviders" Version="1.0.0" />
<!--
System.Collections.Immutable can be removed once dafny.msbuild is updated with
https://github.com/dafny-lang/dafny.msbuild/pull/10 and versioned
-->
<PackageReference Include="System.Collections.Immutable" Version="1.7.0" />
<!-- Work around for dafny-lang/dafny/issues/1951; remove once resolved -->
<PackageReference Include="System.ValueTuple" Version="4.5.0" />

<ItemGroup>
<ProjectReference Include="..\..\..\mpl\AwsCryptographicMaterialProviders\runtimes\net\MPL.csproj" />
</ItemGroup>
<Compile Include="Generated/**/*.cs" />
<Compile Include="ImplementationFromDafny.cs" />
</ItemGroup>

<ItemGroup>
<Folder Include="Generated" />
</ItemGroup>

<!--
TODO .NET assemblies are expected to have an ICON.
This MUST be replaced before launch.
-->
<!-- <ItemGroup>
<None Include="..\icon.png" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup> -->
<ItemGroup>
<None Include=".\icon.png" Pack="true" PackagePath="" />
<None Include=".\README.md" Pack="true" PackagePath="" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ This table describes the current support status of each major version of the AWS
-

.. _AWS SDKs and Tools Maintenance Policy: https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle

File renamed without changes.
File renamed without changes
File renamed without changes.
19 changes: 0 additions & 19 deletions aws-encryption-sdk-net/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions aws-encryption-sdk-net/CODE_OF_CONDUCT.md

This file was deleted.

61 changes: 0 additions & 61 deletions aws-encryption-sdk-net/CONTRIBUTING.md

This file was deleted.

53 changes: 0 additions & 53 deletions aws-encryption-sdk-net/EncryptionSDK.sln

This file was deleted.

46 changes: 0 additions & 46 deletions aws-encryption-sdk-net/GetCodeCoverage.py

This file was deleted.

Loading

0 comments on commit 2e3f145

Please sign in to comment.