keys: use underscore instead of a space in the key name

This commit is contained in:
Hylke Bons 2012-12-14 10:29:35 +01:00
parent 4248ab1961
commit f609b16083

View file

@ -253,7 +253,7 @@ namespace SparkleShare {
new Thread (() => {
string keys_path = Path.GetDirectoryName (SparkleConfig.DefaultConfig.FullPath);
string key_file_name = DateTime.Now.ToString ("yyyy-MM-dd HH\\hmm");
string key_file_name = DateTime.Now.ToString ("yyyy-MM-dd_HH\\hmm");
string [] key_pair = SparkleKeys.GenerateKeyPair (keys_path, key_file_name);
SparkleKeys.ImportPrivateKey (key_pair [0]);