Decrypting files

What is the problem you are having with rclone?

I can't figure out how to decrypt the files I've uploaded to the cloud, for example, if I need to restore my files. I understand that I maybe need to mount the cloud drive as a local drive, but what next? Or can I download the files from the cloud, open them with a program "X", provide passwords, and view/transfer them unencrypted?

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)

Wasabi cloud with encryption (two separate remotes ofc)

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

Haven't found a command to run.

The rclone config contents with secrets removed.

[wasabi-cloud]
type = s3
provider = Wasabi
env_auth = false
access_key_id = 
secret_access_key = 
endpoint = https://s3.eu-central-2.wasabisys.com/
acl = private
[secret]
type = crypt
remote = wasabi-cloud:backuptestkj/backup-test
filename_encryption = standard
directory_name_encryption = true
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***

A log from the command with the -vv flag

No logs to provide.

hello and welcome to the forum,

need to udpate rclone to latest stable - v1.62.2
https://rclone.org/downloads/#script-download-and-install

that is not required but useful

"rclone will automatically encrypt (before uploading) and decrypt (after downloading) on your local system as needed on the fly, leaving the data encrypted at rest in the wrapped remote"

there is no specific command.
when you copy a file to a crypt remote, rclone crypts it, on the fly
when you download a file from crypt remote, rclone decrypts it, on the fly.

rclone copy ./file.ext secret: - that will crypt and upload to wasabi.
rclone copy secret:file.ext ./ - that will download and decrypt the file from wasabi and store it on local.

Good point, updated it now.

rclone v1.62.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-75-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none

Ahh now I get it, so I basically need to flip destination and source to achieve what I want. Thank you for the help.

that is correct.

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