diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index abbaa078..5e0af755 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -314,12 +314,12 @@ namespace SparkleLib.Git { // Set up the encryption filter SparkleGit git_config_smudge = new SparkleGit (TargetFolder, "config filter.encryption.smudge \"openssl enc -d -aes-256-cbc -base64" + " " + - "-S " + password.SHA256 (this.password_salt) + " " + + "-S " + password.SHA256 (this.password_salt).Substring (0, 16) + " " + "-pass file:.git/info/encryption_password\""); SparkleGit git_config_clean = new SparkleGit (TargetFolder, "config filter.encryption.clean \"openssl enc -e -aes-256-cbc -base64" + " " + - "-S " + password.SHA256 (this.password_salt) + " " + + "-S " + password.SHA256 (this.password_salt).Substring (0, 16) + " " + "-pass file:.git/info/encryption_password\""); git_config_smudge.StartAndWaitForExit ();