Adding TODO
This commit is contained in:
@@ -11,7 +11,7 @@ public static class ConfigFileManager
|
|||||||
password_store_path: path to the folder which contains the .gpg files
|
password_store_path: path to the folder which contains the .gpg files
|
||||||
recipient: whose public key to use for encryption when a new password is created
|
recipient: whose public key to use for encryption when a new password is created
|
||||||
*/
|
*/
|
||||||
private static string CONFIGPATH = SpecialDirectories.CurrentUserApplicationData + "\\config.cfg";
|
private static string CONFIGPATH = SpecialDirectories.CurrentUserApplicationData + "\\config.cfg"; //TODO: make this more unix-friendly
|
||||||
private static char DELIMETER = '=';
|
private static char DELIMETER = '=';
|
||||||
private static string RECIPIENT = "recipient";
|
private static string RECIPIENT = "recipient";
|
||||||
private static string PATH = "password_store_path";
|
private static string PATH = "password_store_path";
|
||||||
@@ -84,7 +84,7 @@ public static class ConfigFileManager
|
|||||||
string user = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
string user = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
||||||
StreamWriter sw = new StreamWriter(CONFIGPATH);
|
StreamWriter sw = new StreamWriter(CONFIGPATH);
|
||||||
sw.WriteLine(RECIPIENT + DELIMETER + user);
|
sw.WriteLine(RECIPIENT + DELIMETER + user);
|
||||||
sw.WriteLine(PATH + DELIMETER + SpecialDirectories.CurrentUserApplicationData);
|
sw.WriteLine(PATH + DELIMETER + SpecialDirectories.CurrentUserApplicationData); //TODO: make this unix-friendly
|
||||||
sw.Close();
|
sw.Close();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|||||||
Reference in New Issue
Block a user