Skip to content

Commit

Permalink
Merge pull request DevArchitecture#105 from victorioustr/master
Browse files Browse the repository at this point in the history
vulnerable fix & remove unused hangfire package
  • Loading branch information
keremvaris authored Mar 20, 2024
2 parents 5c86d80 + a56f948 commit 82a1d30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<PackageReference Include="FluentValidation" Version="11.4.0" />
<PackageReference Include="Hangfire" Version="1.8.11" />
<PackageReference Include="Hangfire.Autofac" Version="2.6.0" />
<PackageReference Include="Hangfire.Dashboard.Authorization" Version="3.0.1" />
<PackageReference Include="Hangfire.PostgreSql" Version="1.20.6" />
<PackageReference Include="Hangfire.RecurringJobExtensions" Version="1.1.6" />
<PackageReference Include="Hangfire.Redis.StackExchange" Version="1.9.3" />
Expand All @@ -31,7 +30,7 @@
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.2" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.26.0" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.4.1" />
<PackageReference Include="Microsoft.OpenApi" Version="1.6.0" />
<PackageReference Include="MimeKit" Version="3.5.0" />
<PackageReference Include="MongoDB.Bson" Version="2.19.0" />
Expand All @@ -48,6 +47,6 @@
<PackageReference Include="Serilog.Sinks.MSSqlServer" Version="6.2.0" />
<PackageReference Include="ServiceStack.Redis.Core" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.26.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.4.1" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Tests/Helpers/Token/MockJwtTokens.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
Expand All @@ -10,7 +10,7 @@ namespace Tests.Helpers.Token
public static class MockJwtTokens
{
private static readonly JwtSecurityTokenHandler s_tokenHandler = new ();
private static string s_keyString = "!z2x3C4v5B*_*!z2x3C4v5B*_*";
private static string s_keyString = "!z2x3C4v5B*_*!z2x3C4v5B*_*!z2x3C4v5B*_*";

static MockJwtTokens()
{
Expand Down
2 changes: 1 addition & 1 deletion WebAPI/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Audience": "www.devarchitecture.com",
"Issuer": "www.devarchitecture.com",
"AccessTokenExpiration": 10,
"SecurityKey": "!z2x3C4v5B*_*!z2x3C4v5B*_*"
"SecurityKey": "!z2x3C4v5B*_*!z2x3C4v5B*_*!z2x3C4v5B*_*"
},
"EmailConfiguration": {
"SmtpServer": "smtp.live.com",
Expand Down

0 comments on commit 82a1d30

Please sign in to comment.