diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8020c7ab..ce853e2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x - run: dotnet --info - uses: actions/checkout@v4 @@ -22,10 +21,6 @@ jobs: run: dotnet test tests -f net8.0 -c Debug - name: Test (.NET 8.0/Release) run: dotnet test tests -f net8.0 -c Release - - name: Test (.NET 6.0/Debug) - run: dotnet test tests -f net6.0 -c Debug - - name: Test (.NET 6.0/Release) - run: dotnet test tests -f net6.0 -c Release - name: Pack run: dotnet pack -c Release - name: Upload artifacts @@ -51,7 +46,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x - run: dotnet --info - uses: actions/checkout@v4 @@ -59,10 +53,6 @@ jobs: run: dotnet test tests -f net8.0 -c Debug - name: Test (.NET 8.0/Release) run: dotnet test tests -f net8.0 -c Release - - name: Test (.NET 6.0/Debug) - run: dotnet test tests -f net6.0 -c Debug - - name: Test (.NET 6.0/Release) - run: dotnet test tests -f net6.0 -c Release test-linux: needs: [test-win, test-linux-musl] @@ -86,9 +76,6 @@ jobs: DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 steps: - - name: Install prerequisites - run: yum install -q -y curl ca-certificates libicu - if: ${{ startsWith(matrix.os, 'centos') }} - name: Install prerequisites run: apt-get -qq update && apt-get -qq install --yes --no-install-recommends curl ca-certificates gettext if: ${{ startsWith(matrix.os, 'debian') }} @@ -102,7 +89,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x 8.0.x - run: dotnet --info - uses: actions/checkout@v4 @@ -110,10 +96,6 @@ jobs: run: dotnet test tests -f net8.0 -c Debug - name: Test (.NET 8.0/Release) run: dotnet test tests -f net8.0 -c Release - - name: Test (.NET 6.0/Debug) - run: dotnet test tests -f net6.0 -c Debug - - name: Test (.NET 6.0/Release) - run: dotnet test tests -f net6.0 -c Release test-linux-musl: strategy: diff --git a/README.md b/README.md index 8bc90aea..1eca1dcf 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![NuGet](https://img.shields.io/nuget/vpre/NSec.Cryptography)](https://www.nuget.org/packages/NSec.Cryptography/24.4.0) [NSec](https://nsec.rocks/) is a cryptographic library for -[.NET 6+](https://dotnet.microsoft.com/) based on +[.NET 8+](https://dotnet.microsoft.com/) based on [libsodium](https://libsodium.org/) ❤. It provides modern cryptographic primitives in a modern API based on [Span<T>](https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/connect/csharp-all-about-span-exploring-a-new-net-mainstay). diff --git a/docs/install.md b/docs/install.md index c4deb09c..670baca0 100644 --- a/docs/install.md +++ b/docs/install.md @@ -42,26 +42,26 @@ Please note: [NSec 24.4.0](https://www.nuget.org/packages/NSec.Cryptography/24.4.0) has been tested to run on the following platforms and .NET versions: -| OS | Version | Architecture | .NET | -|:-------------------- |:-------- |:------------- |:-------------- | -| Windows 11 | 23H2 | x64 | 8.0.4 / 6.0.29 | -| Windows Server | 2022 | x64 | 8.0.4 / 6.0.29 | -| | | | | -| macOS | 12.7 | x64 | 8.0.4 / 6.0.29 | -| | 13.6 | x64 | 8.0.4 / 6.0.29 | -| | 14.4 | arm64 | 8.0.4 / 6.0.29 | -| | | | | -| Alpine Linux | 3.18 | x64 | 8.0.4 | -| | 3.19 | x64 | 8.0.4 | -| Debian | 10 | x64 | 8.0.4 / 6.0.29 | -| | 11 | x64 | 8.0.4 / 6.0.29 | -| | 12 | x64 | 8.0.4 / 6.0.29 | -| Fedora | 38 | x64 | 8.0.4 / 6.0.29 | -| | 39 | x64 | 8.0.4 / 6.0.29 | -| | 40 | x64 | 8.0.4 / 6.0.29 | -| Ubuntu | 20.04 | x64 | 8.0.4 / 6.0.29 | -| | 22.04 | x64 | 8.0.4 / 6.0.29 | -| | 24.04 | x64 | 8.0.4 / 6.0.29 | +| OS | Version | Architecture | .NET | +|:-------------------- |:-------- |:------------- |:------| +| Windows 11 | 23H2 | x64 | 8.0.4 | +| Windows Server | 2022 | x64 | 8.0.4 | +| | | | | +| macOS | 12.7 | x64 | 8.0.4 | +| | 13.6 | x64 | 8.0.4 | +| | 14.4 | arm64 | 8.0.4 | +| | | | | +| Alpine Linux | 3.18 | x64 | 8.0.4 | +| | 3.19 | x64 | 8.0.4 | +| Debian | 10 | x64 | 8.0.4 | +| | 11 | x64 | 8.0.4 | +| | 12 | x64 | 8.0.4 | +| Fedora | 38 | x64 | 8.0.4 | +| | 39 | x64 | 8.0.4 | +| | 40 | x64 | 8.0.4 | +| Ubuntu | 20.04 | x64 | 8.0.4 | +| | 22.04 | x64 | 8.0.4 | +| | 24.04 | x64 | 8.0.4 | The other supported platforms should work as well, but have not been tested. diff --git a/index.md b/index.md index 004a8a34..fcc4eee6 100644 --- a/index.md +++ b/index.md @@ -1,7 +1,7 @@ # NSec NSec is a modern and easy-to-use cryptographic library for -[.NET 6+](https://dotnet.microsoft.com/) based on +[.NET 8+](https://dotnet.microsoft.com/) based on [libsodium](https://libsodium.org/). * **Modern** -- libsodium provides a small set of high-quality, modern @@ -44,7 +44,7 @@ and verify the signature: $ dotnet add package NSec.Cryptography --version 24.4.0 -NSec works with .NET 6 and later on Windows, Linux and macOS. +NSec works with .NET 8 and later on Windows, Linux and macOS. See [[Installation]] for more details. diff --git a/src/Cryptography/NSec.Cryptography.csproj b/src/Cryptography/NSec.Cryptography.csproj index 0873a038..f984ade5 100644 --- a/src/Cryptography/NSec.Cryptography.csproj +++ b/src/Cryptography/NSec.Cryptography.csproj @@ -1,8 +1,8 @@  - net6.0 - $(TargetFrameworks);net6.0-ios + net8.0 + $(TargetFrameworks);net8.0-ios diff --git a/src/Experimental/NSec.Experimental.csproj b/src/Experimental/NSec.Experimental.csproj index 4a9313f0..c28f0d52 100644 --- a/src/Experimental/NSec.Experimental.csproj +++ b/src/Experimental/NSec.Experimental.csproj @@ -1,8 +1,8 @@  - net6.0 - $(TargetFrameworks);net6.0-ios + net8.0 + $(TargetFrameworks);net8.0-ios diff --git a/tests/Tests.csproj b/tests/Tests.csproj index 089f75e8..d590c54a 100644 --- a/tests/Tests.csproj +++ b/tests/Tests.csproj @@ -1,7 +1,7 @@  - net8.0;net6.0 + net8.0