From 05ac92c3497a34136f447ff4bfa48cc551649c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Sm=C3=B3=C5=82ka?= Date: Mon, 27 Jan 2020 10:42:43 +0100 Subject: [PATCH] Signing the assembly --- README.md | 7 +++++-- .../StrongNameKey.snk | Bin 0 -> 596 bytes .../ZNetCS.AspNetCore.Authentication.Basic.csproj | 10 ++++++---- ...CS.AspNetCore.Authentication.BasicTests.csproj | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 src/ZNetCS.AspNetCore.Authentication.Basic/StrongNameKey.snk diff --git a/README.md b/README.md index 9c9cb8a..8cb34b6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,10 @@ Install using the [ZNetCS.AspNetCore.Authentication.Basic NuGet package](https:/ PM> Install-Package ZNetCS.AspNetCore.Authentication.Basic ``` -# Important change in 3.0.0 +# Important change in 4.0.0 +From now assembly is signed. + +# Important change in 3.0.0 The `OnValidatePrincipal` will not return `AuthenticationResult` any more. To simplify process can simply return `Task.CompletedTask`. Also to make success authentication `Principal` have to be assigned to `ValidatePrincipalContext` context. @@ -23,7 +26,7 @@ When you install the package, it should be added to your `.csproj`. Alternativel ```xml - + ``` diff --git a/src/ZNetCS.AspNetCore.Authentication.Basic/StrongNameKey.snk b/src/ZNetCS.AspNetCore.Authentication.Basic/StrongNameKey.snk new file mode 100644 index 0000000000000000000000000000000000000000..d7e0ec513a3e98a028942d14abc4c6900b114920 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50096=$RzItH!YIB;G9Bf=#d;&$Tq#Jc${_* zB_%q@8zGfVCwt+Mdk`}$IA>7@TvwOk)srMvGY(-ItL)dmLY~J&5eXAaOxPMAVpYGZ zYwQhsXs_BwX0=+^erH?zdS_wxbJrXSB2hzwc$8ZquPM1%%5%Y+PsDBRq{iyysA(iDI(z&)*YSPQl5))yD^y1 zN0n_X<}*YmO&pUnZT9eLPAK5-Gg$Gf+2GpB;=D417FYYVykSs=;YE72dR%%GaJ?VS zfzz4ga+H+!HlulUoMS6hOhRwe?U`?+eAp#W%A-381R@wQcDG=P;{gvlm878%w=;K+ z>StvAgrz%Xx9>^{^^`uqe^}g1pNN?*X?HuF#jVOq+6qF7w{UBgl>l;3(I6OM^CJNB zDEcI4{f~uvhUW%x;Jslz$Xs{|HabZ{JqTyzJ>bS|IvK+?mu4y_ z2gPC4znW?#vQ0n!ZZc`t(1o*H<@W@fh|EBtizau2kp1XSb^QUK9&%h=YOWW)t!X~3 zGKFh4aIfDDvb#Wds;eoJ%t|Fe31@6Ql~|?5#6~`XZhQ0*$mBvh>>}KJx5OA7QE74$ i2yE+?u6TAOrPlsHqdt8KTatbzVUzzi{xlApQqO~oix_19 literal 0 HcmV?d00001 diff --git a/src/ZNetCS.AspNetCore.Authentication.Basic/ZNetCS.AspNetCore.Authentication.Basic.csproj b/src/ZNetCS.AspNetCore.Authentication.Basic/ZNetCS.AspNetCore.Authentication.Basic.csproj index fdcce99..c6b6c6c 100644 --- a/src/ZNetCS.AspNetCore.Authentication.Basic/ZNetCS.AspNetCore.Authentication.Basic.csproj +++ b/src/ZNetCS.AspNetCore.Authentication.Basic/ZNetCS.AspNetCore.Authentication.Basic.csproj @@ -11,10 +11,10 @@ aspnetcore;aspnetcoremvc;middleware;authentication;basic;ASP.NET;MVC https://github.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic https://raw.githubusercontent.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic/master/LICENSE - Cleanup dependencies. + Library is now signed. git https://github.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic - 3.0.2 + 4.0.0 $(NoWarn);NU5125 false @@ -24,6 +24,8 @@ false ..\..\CommonRuleSet.ruleset 8.0 + true + StrongNameKey.snk @@ -35,8 +37,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/ZNetCS.AspNetCore.Authentication.BasicTests/ZNetCS.AspNetCore.Authentication.BasicTests.csproj b/test/ZNetCS.AspNetCore.Authentication.BasicTests/ZNetCS.AspNetCore.Authentication.BasicTests.csproj index dc89090..6f742f2 100644 --- a/test/ZNetCS.AspNetCore.Authentication.BasicTests/ZNetCS.AspNetCore.Authentication.BasicTests.csproj +++ b/test/ZNetCS.AspNetCore.Authentication.BasicTests/ZNetCS.AspNetCore.Authentication.BasicTests.csproj @@ -19,7 +19,7 @@ - + @@ -35,7 +35,7 @@ - +