From 7be6da70c490e8e8bd3f69aa0d21ec85c26ba2e5 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 22 Feb 2011 22:22:14 +0000 Subject: [PATCH] Make a copy of the user's public key in ~/SparkleShare --- SparkleShare/SparkleController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index 0ff15c4c..85b9467a 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -897,6 +897,9 @@ namespace SparkleShare { SparkleHelpers.DebugInfo ("Config", "Created private key '" + key_file_name + "'"); SparkleHelpers.DebugInfo ("Config", "Created public key '" + key_file_name + ".pub'"); + + File.Copy (key_file_path + ".pub", + Path.Combine (SparklePath, "Your key.txt")); };