Use random salt for each fingerprint key

Salt length depended on fingerprint name length, which lead to weak salts in some cases
It's now a fixed length (12 bytes)
This commit is contained in:
2021-06-05 12:20:14 +02:00
parent 3b1755b793
commit d7691e414b
5 changed files with 69 additions and 7 deletions

View File

@@ -67,6 +67,8 @@ namespace Akari.Prototype.Server.Services
{
SaveFingerprints();
_authManager.GenerateSalt(name);
return true;
}