fix: multiple vulnerabilities

This commit is contained in:
2026-06-17 21:43:41 -04:00
parent 6c810b07b7
commit 6a7b8653dc
15 changed files with 83 additions and 27 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ namespace SharpbinV3.Server.Services
if (string.IsNullOrEmpty(_authSettings.API_Key_HMAC_Secret))
return Utilities.ComputeSha256(input);
else
return Utilities.ComputeHmacSha256(input, _authSettings.API_Key_HMAC_Secret);
return Utilities.ComputeHmacSha256(_authSettings.API_Key_HMAC_Secret, input);
}
public async Task<ApiKey?> GetByKeyAsync(string key)