Clarification

This commit is contained in:
Rick Falkvinge
2019-12-29 17:35:36 +01:00
parent 8986bc51ed
commit d9b63803e0
+1 -1
View File
@@ -603,7 +603,7 @@ namespace Swarmops.Logic.Security
if (File.Exists ("/etc/swarmops/symmetricKey.config"))
{
if (!File.ReadAllText ("/etc/swarmops/symmetricKey.config").StartsWith ("UNINIT"))
if (!File.ReadAllText ("/etc/swarmops/symmetricKey.config").StartsWith ("UNINIT")) // the word "Uninitialized" in caps
{
throw new InvalidOperationException ("Can't overwrite encryption key - BAD BAD BAD code!");
}