Crypt filename / folder encryption

What is the problem you are having with rclone?

A question regarding values which are not listed in rclone config for a crypt

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

rclone v1.60.1-DEV

  • os/version: debian 12.10 (64 bit)
  • os/kernel: 6.1.0-25-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.8
  • go/linking: dynamic
  • go/tags: none

My question is please, when reviewing configuration of my rclone crypt config it does not list filename encryption or directory encryption. It just lists the type, remote, password and password2.

Why is that please? As if i look at the unencrypted b2 remote with lsd or ls the folders/files seem encrypted or obfuscated? I'm not sure which one though is in force (encryption or obfuscation)?

Thank you

All is encrypted.

As per docs:

-crypt-filename-encryption

How to encrypt the filenames.

Properties:

    Config: filename_encryption
    Env Var: RCLONE_CRYPT_FILENAME_ENCRYPTION
    Type: string
    Default: "standard"      <<<===========<<<===========<<<===========<<<===========
    Examples:
        "standard"
            Encrypt the filenames.
            See the docs for the details.
        "obfuscate"
            Very simple filename obfuscation.
        "off"
            Don't encrypt the file names.
            Adds a ".bin", or "suffix" extension only.
--crypt-directory-name-encryption

Option to either encrypt directory names or leave them intact.

NB If filename_encryption is "off" then this option will do nothing.

Properties:

    Config: directory_name_encryption
    Env Var: RCLONE_CRYPT_DIRECTORY_NAME_ENCRYPTION
    Type: bool
    Default: true      <<<===========<<<===========<<<===========<<<===========
    Examples:
        "true"
            Encrypt directory names.
        "false"
            Don't encrypt directory names, leave them intact.

You are using very old rclone version. Uninstall it:

sudo apt remove rclone

and install the latest directly from rclone site:

sudo -v ; curl https://rclone.org/install.sh | sudo bash

For B2 you could also consider using different than default filenames encoding. base32 works everywhere but comes at the price of seriously limiting max file names' length.

Thank for the reply and advice :slight_smile:

1 Like

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