Skipping undecryptable file name: not an encrypted file - no ".bin"

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

trying to decrypt a files called mail.tar.bin, But rclone errors with ' 024/03/10 12:13:45 DEBUG : Mail.bak/mail.tar.bin: Skipping undecryptable file name: not an encrypted file - no ".bin" suffix '
same with all my files even though they have a bin extension

Run the command 'rclone version' and share the full output of the command.

rclone v1.53.3-DEV

  • os/arch: linux/amd64
  • go version: go1.18.1

Which cloud storage system are you using? (eg Google Drive)

google drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone ls -vv gcrypt:VersionsPgp/2024-02-27:13:15

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

``


[gdrive]
type = drive
scope = drive
token =

[gcrypt]
type = crypt
remote = gdrive:PGP
filename_encryption = obfuscate
directory_name_encryption = false
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***




#### A log from the command that you were trying to run with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

2024/03/10 12:13:41 DEBUG : rclone: Version "v1.53.3-DEV" starting with parameters ["rclone" "ls" "-vv" "gcryp
t:VersionsPgp/2024-02-27:13:15"]
2024/03/10 12:13:41 DEBUG : Using config file from "/home/ard/.config/rclone/rclone.conf"
2024/03/10 12:13:41 DEBUG : Creating backend with remote "gcrypt:VersionsPgp/2024-02-27:13:15"
2024/03/10 12:13:41 DEBUG : Creating backend with remote "gdrive:PGP/VersionsPgp/43.1913-91-16:02:04"
2024/03/10 12:13:42 DEBUG : Google drive root 'PGP/VersionsPgp/43.1913-91-16:02:04': root_folder_id = "0ACAMrE
uF_QYWUk9PVA" - save this in the config to speed up startup
2024/03/10 12:13:43 DEBUG : Creating backend with remote "gdrive:PGP/VersionsPgp/2024-02-27:13:15"
2024/03/10 12:13:43 DEBUG : Google drive root 'PGP/VersionsPgp/2024-02-27:13:15': root_folder_id = "0ACAMrEuF_
QYWUk9PVA" - save this in the config to speed up startup
2024/03/10 12:13:45 DEBUG : Mail.bak/mail.tar.bin: Skipping undecryptable file name: not an encrypted file - n
o ".bin" suffix

Please update your rclone to the latest version. At the moment you are using some ancient one (30 releases behind...) with who knows what not fixed issues.

Regarding

bin suffix most likely means that at some stage you used filename-encryption off - see docs

Now you changed it to:

Which means that previously saved files can not be read.

In general you can not change encryption parameters and expect that files saved with different ones will work.

If you want to change file names encryption you can do this but you have to migrate all older files to the new scheme. There is plenty of threads on this forum explaining how to do it, e.g.:

In your case where you have things already mixed up I suggest you start from scratch.

just updated still the same
rclone version
rclone v1.65.2

  • os/version: linuxmint 21.3 (64 bit)
  • os/kernel: 5.15.0-100-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.6
  • go/linking: static
  • go/tags: none

I am using a script to upload and it has not changed, neither has the config

There is no magic and rclone does not change things randomly on its own. Millions of users use rclone encryption without any issues.

You are using filename_encryption = obfuscate but you have at least some files saved with filename_encryption = off hence now they can not be read.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.