diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6dc6577..c99b30a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -46,9 +46,14 @@ jobs: with: dotnet-version: 8.0.404 + - name: Setup .NET 9 + uses: actions/setup-dotnet@v4.1.0 + with: + dotnet-version: 9.0.100 + - name: .NET Core SxS run: | - rsync -a ${DOTNET_ROOT/8.0.404}/* $DOTNET_ROOT/ + rsync -a ${DOTNET_ROOT/8.0.404/9.0.100}/* $DOTNET_ROOT/ # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/dotnetall.yml b/.github/workflows/dotnetall.yml index b0f765d..3b9c522 100644 --- a/.github/workflows/dotnetall.yml +++ b/.github/workflows/dotnetall.yml @@ -23,6 +23,11 @@ jobs: with: dotnet-version: 8.0.404 + - name: Setup .NET 9 + uses: actions/setup-dotnet@v4.1.0 + with: + dotnet-version: 9.0.100 + - name: Restore run: dotnet restore SecretSharingDotNet.sln diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index 638a214..78f9eca 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -21,6 +21,11 @@ jobs: with: dotnet-version: 8.0.404 + - name: Setup .NET 9 + uses: actions/setup-dotnet@v4.1.0 + with: + dotnet-version: 9.0.100 + - name: Decrypt large secret run: ./.github/secrets/decrypt_publisher_snk.sh env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f16a5f..7d46dac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- Added .NET 9.0 support - Added use-case interfaces `IMakeSharesUseCase` and `IReconstructUseCase` to the `SecretSharingDotNet` project. - Added a guide to the `README.md` file on how to use the use-case interfaces with dependency injection. diff --git a/README.md b/README.md index 0f99b76..440cdfc 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ An C# implementation of Shamir's Secret Sharing. - Build status + Build status SecretSharingDotNet.sln - SDK + SDK Standard 2.0 @@ -39,6 +39,9 @@ An C# implementation of Shamir's Secret Sharing. .NET 8 + + .NET 9 + @@ -55,9 +58,9 @@ An C# implementation of Shamir's Secret Sharing. - SecretSharingDotNet NuGet - NuGet Version 0.11.0 - Tag + SecretSharingDotNet NuGet + NuGet Version 0.11.0 + Tag Standard 2.0 @@ -81,6 +84,9 @@ An C# implementation of Shamir's Secret Sharing. .NET 8 + + .NET 9 + @@ -435,7 +441,7 @@ You can find the Mono installation instructions [here](https://www.mono-project. The .NET Frameworks 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 and 4.8.1 can be found [here](https://dotnet.microsoft.com/download/dotnet-framework). -The .NET SDK 8.0 can be found [here](https://dotnet.microsoft.com/download/dotnet). +The .NET SDKs 8.0 and 9.0 can be found [here](https://dotnet.microsoft.com/download/dotnet). ## Build and test the solution You can use the `SecretSharingDotNet.sln` solution file with the `dotnet` command to build the [SecretSharingDotNet](#secretsharingdotnet) library in the `Debug` or `Release` configuration. You can also use the `dotnet` command to start the unit tests. diff --git a/src/SecretSharingDotNet.csproj b/src/SecretSharingDotNet.csproj index 8591a31..4239d75 100644 --- a/src/SecretSharingDotNet.csproj +++ b/src/SecretSharingDotNet.csproj @@ -5,7 +5,7 @@ SecretSharingDotNet Library latest - netstandard2.0;netstandard2.1;net462;net47;net471;net472;net48;net481;net8.0 + netstandard2.0;netstandard2.1;net462;net47;net471;net472;net48;net481;net8.0;net9.0 SecretSharingDotNet.snk True false diff --git a/tests/SecretSharingDotNetTest.csproj b/tests/SecretSharingDotNetTest.csproj index 3eeeff4..f32a2f9 100644 --- a/tests/SecretSharingDotNetTest.csproj +++ b/tests/SecretSharingDotNetTest.csproj @@ -2,7 +2,7 @@ latest - net462;net47;net471;net472;net48;net481;net8.0 + net462;net47;net471;net472;net48;net481;net8.0;net9.0 ..\src\SecretSharingDotNet.snk True false