From a35af54a0b28b3308da058d03add8270869cc640 Mon Sep 17 00:00:00 2001 From: Illyoung Choi Date: Mon, 4 Mar 2024 13:04:33 -0700 Subject: [PATCH] hotfix: disable encryption by default --- cmd/flag/encryption.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/flag/encryption.go b/cmd/flag/encryption.go index 4f3e246..1dda200 100644 --- a/cmd/flag/encryption.go +++ b/cmd/flag/encryption.go @@ -43,10 +43,6 @@ func SetDecryptionFlags(command *cobra.Command) { func GetEncryptionFlagValues() *EncryptionFlagValues { encryptionFlagValues.Mode = commons.GetEncryptionMode(encryptionFlagValues.modeInput) - if encryptionFlagValues.Mode == commons.EncryptionModeWinSCP { - encryptionFlagValues.EncryptFilename = true - } - if encryptionFlagValues.EncryptFilename { encryptionFlagValues.Encryption = true }