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 }