diff --git a/.vs/SecureCore/DesignTimeBuild/.dtbcache.v2 b/.vs/SecureCore/DesignTimeBuild/.dtbcache.v2 index 737d54c..88231de 100644 Binary files a/.vs/SecureCore/DesignTimeBuild/.dtbcache.v2 and b/.vs/SecureCore/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/SecureCore/config/applicationhost.config b/.vs/SecureCore/config/applicationhost.config index 15a7c7a..14fc202 100644 --- a/.vs/SecureCore/config/applicationhost.config +++ b/.vs/SecureCore/config/applicationhost.config @@ -160,7 +160,7 @@ - + diff --git a/.vs/SecureCore/v16/.suo b/.vs/SecureCore/v16/.suo index a6f26fa..3926dbe 100644 Binary files a/.vs/SecureCore/v16/.suo and b/.vs/SecureCore/v16/.suo differ diff --git a/SecureCore/Authentication/PasswordManager.cs b/SecureCore/Authentication/PasswordManager.cs index 4d9563a..b4f38c4 100644 --- a/SecureCore/Authentication/PasswordManager.cs +++ b/SecureCore/Authentication/PasswordManager.cs @@ -27,8 +27,8 @@ namespace SecureCore.Authentication //allowing passwords that are too long can result in a denial-of-service attack. So we must enforce password length limits. //The recommended length is between 64 and 128, so I decided to go for the upper bounds. public static string SectionName { get; } = "PasswordSettings"; - private static int AbsoluteMinPasswordLength { get; } = 16; - private static int AbsoluteMaxPasswordLength { get; } = 128; + public static int AbsoluteMinPasswordLength { get; } = 16; + public static int AbsoluteMaxPasswordLength { get; } = 128; public static (string Hash, string Salt) HashPassword(string password) { diff --git a/SecureCore/Properties/launchSettings.json b/SecureCore/Properties/launchSettings.json index b519347..18266c8 100644 --- a/SecureCore/Properties/launchSettings.json +++ b/SecureCore/Properties/launchSettings.json @@ -1,18 +1,17 @@ -{ - "$schema": "http://json.schemastore.org/launchsettings.json", +{ "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:50232", + "applicationUrl": "http://localhost:50000", "sslPort": 0 } }, + "$schema": "http://json.schemastore.org/launchsettings.json", "profiles": { "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "weatherforecast", + "commandName": "Project", + "launchUrl": "weather", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -21,10 +20,10 @@ "commandName": "Project", "launchBrowser": true, "launchUrl": "weatherforecast", - "applicationUrl": "http://localhost:5000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" - } + }, + "applicationUrl": "http://localhost:5000" } } -} +} \ No newline at end of file diff --git a/SecureCore/SecureCore.csproj b/SecureCore/SecureCore.csproj index 78df545..4121a3d 100644 --- a/SecureCore/SecureCore.csproj +++ b/SecureCore/SecureCore.csproj @@ -1,9 +1,10 @@ - netcoreapp3.1 + net5.0 e3dff1d0-8e29-4bc2-8020-8999a38530f3 false + SecureCore.Program