Added some TODO
This commit is contained in:
parent
d33ddc0d4a
commit
9b58adb6a2
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,8 @@ public class Manifest
|
||||||
public class IncorrectPassKeyException : Exception { }
|
public class IncorrectPassKeyException : Exception { }
|
||||||
public class ManifestNotEncryptedException : Exception { }
|
public class ManifestNotEncryptedException : Exception { }
|
||||||
|
|
||||||
|
// TODO: move PromptForPassKey to Program.cs
|
||||||
|
// TODO: make PromptForPassKey more secure
|
||||||
public string PromptForPassKey()
|
public string PromptForPassKey()
|
||||||
{
|
{
|
||||||
if (!this.Encrypted)
|
if (!this.Encrypted)
|
||||||
|
@ -180,6 +182,7 @@ public class Manifest
|
||||||
return passKey;
|
return passKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: move PromptSetupPassKey to Program.cs
|
||||||
public string PromptSetupPassKey(string initialPrompt = "Enter passkey, or hit cancel to remain unencrypted.")
|
public string PromptSetupPassKey(string initialPrompt = "Enter passkey, or hit cancel to remain unencrypted.")
|
||||||
{
|
{
|
||||||
Console.Write("Would you like to use encryption? [Y/n] ");
|
Console.Write("Would you like to use encryption? [Y/n] ");
|
||||||
|
|
Loading…
Reference in a new issue