From e7e4698598f88480356582e4b83147120071db18 Mon Sep 17 00:00:00 2001 From: Doron Somech Date: Fri, 17 Jul 2020 08:33:04 +0300 Subject: [PATCH] delay sign the assembly --- .github/workflows/release.yml | 8 +++++++- NaCl.net/NaCl.net.csproj | 9 ++++++++- publicKey.snk | Bin 0 -> 160 bytes 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 publicKey.snk diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0af360e..ce5ec5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,13 @@ jobs: shell: bash - run: echo ${{ steps.get_version.outputs.VERSION }} - run: dotnet restore . - - run: dotnet pack NaCl.net -o . -c Release /p:PackageVersion=${{ steps.get_version.outputs.VERSION }} /p:Version=${{ steps.get_version.outputs.VERSION }} /p:ContinuousIntegrationBuild=true + - run: dotnet build NaCl.net -c Release /p:PackageVersion=${{ steps.get_version.outputs.VERSION }} /p:Version=${{ steps.get_version.outputs.VERSION }} /p:ContinuousIntegrationBuild=true + - run: sn -R NaCl.net/bin/Release/net45/NaCl.dll nacl.net.snk + - run: sn -R NaCl.net/bin/Release/net472/NaCl.dll nacl.net.snk + - run: sn -R NaCl.net/bin/Release/netstandard1.3/NaCl.dll nacl.net.snk + - run: sn -R NaCl.net/bin/Release/netstandard2.0/NaCl.dll nacl.net.snk + - run: sn -R NaCl.net/bin/Release/netstandard2.1/NaCl.dll nacl.net.snk + - run: dotnet pack NaCl.net --no-build -o . -c Release /p:PackageVersion=${{ steps.get_version.outputs.VERSION }} /p:Version=${{ steps.get_version.outputs.VERSION }} /p:ContinuousIntegrationBuild=true - run: dotnet nuget push *.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json env: NUGET_API_KEY: ${{ secrets.NuGetAPIKey }} diff --git a/NaCl.net/NaCl.net.csproj b/NaCl.net/NaCl.net.csproj index e9d0194..6fe775c 100644 --- a/NaCl.net/NaCl.net.csproj +++ b/NaCl.net/NaCl.net.csproj @@ -12,7 +12,7 @@ Port of Curve25519, XSalsa20 and Poly1305 from NaCl project https://github.com/somdoron/nacl.net true - ..\nacl.net.snk + ..\publicKey.snk false git https://github.com/somdoron/NaCl.net.git @@ -24,6 +24,7 @@ C# port of NaCl crypto library git NaCl libsodium sodium curve25519 xsalsa poly1305 + true @@ -50,5 +51,11 @@ + + + + publicKey.snk + + diff --git a/publicKey.snk b/publicKey.snk new file mode 100644 index 0000000000000000000000000000000000000000..77905d188bf819552717d6616a3d8e969f7ca173 GIT binary patch literal 160 zcmV;R0AK$ABme*efB*oL000060ssI2Bme+XQ$aBR1ONa50097Jv8o|KKUqX2sDp#b z3B1NEGzl%B&E-J&lAORMO39%b>B*3HSA_WHd|COPO4B OOs5274^bMU?mMS~ghH(V literal 0 HcmV?d00001