FwUpdateBuilder: -Customer field can be changed manually to give the safe a different name and overcome the data base limitations of the naming field size and special characters,

FinalTest: - Layout slightly changed
PasswordController: - Debug varable introduced
This commit is contained in:
Thomas Wiedebusch
2022-06-13 14:49:22 +02:00
parent b4b1b831c0
commit f7e0f63125
6 changed files with 26 additions and 19 deletions
@@ -181,7 +181,7 @@ namespace Xylem.Common.Service.MeterProcessState.Controllers
catch (Exception)
{
}
var logon = from p in o["TestStepResults"]["$values"] select p;
@@ -222,14 +222,14 @@ namespace Xylem.Common.Service.MeterProcessState.Controllers
catch (Exception e)
{
return new PwProcessorId(e.Message + e.StackTrace);
}
return new PwProcessorId();
}
});
@@ -451,6 +451,12 @@ namespace Xylem.Common.Service.MeterProcessState.Controllers
//pw lvl
passwords.Keys.Insert(2, new Key() { Index = 2, KeyKey = result.Skeleton });
var pwdLVL8 = "";
if (passwords.Keys.Count > 7)
{
pwdLVL8 = passwords.Keys[7].KeyKey.Substring(0, 12);
}
foreach (var keyLVL in passwords.Keys)
{
using (System.Security.Cryptography.SHA1Managed sha1 = new System.Security.Cryptography.SHA1Managed())
@@ -469,6 +475,8 @@ namespace Xylem.Common.Service.MeterProcessState.Controllers
}
}
return Request.CreateResponse(HttpStatusCode.OK, await Task.Run(() =>
{
return result;