ssh: Fix whitespace
This commit is contained in:
parent
dd0e3d36f7
commit
45f91bbacd
|
@ -25,6 +25,7 @@ namespace Sparkles {
|
||||||
|
|
||||||
public static string SSHKeyScan = "ssh-keyscan";
|
public static string SSHKeyScan = "ssh-keyscan";
|
||||||
|
|
||||||
|
|
||||||
protected SSHFetcher (SparkleFetcherInfo info) : base (info)
|
protected SSHFetcher (SparkleFetcherInfo info) : base (info)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -116,11 +117,12 @@ namespace Sparkles {
|
||||||
byte [] sha256_bytes = sha256.ComputeHash (base64_bytes);
|
byte [] sha256_bytes = sha256.ComputeHash (base64_bytes);
|
||||||
|
|
||||||
string fingerprint = BitConverter.ToString (sha256_bytes);
|
string fingerprint = BitConverter.ToString (sha256_bytes);
|
||||||
Console.WriteLine( fingerprint.ToLower ().Replace ("-", ":"));
|
fingerprint = fingerprint.ToLower ().Replace ("-", ":");
|
||||||
return fingerprint.ToLower ().Replace ("-", ":");
|
|
||||||
|
return fingerprint;
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Logger.LogInfo ("Fetcher", "Failed to create fingerprint: " + e.Message + " " + e.StackTrace);
|
Logger.LogInfo ("Fetcher", "Failed to create fingerprint: ", e);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue