Skip to content

At-rest encryption for rclone config #12

Open
@x0b

Description

@x0b

EDIT 2020-11-07: Add detailed description

As described in our security policy, RCX should be able to...

  • Encrypt the config file at rest (using rclone configuration encryption)
  • Allow users to set a custom password or pin that is entered on app startup

@x0b in #62:

When you set a password with rclone on your computer, rclone encrypts its configuration file. When you want to use this encrypted configuration file with rclone, you need to enter your password.

RCX is different. RCX can only use a unencrypted configuration file. However, it can import an encrypted configuration file, prompt for the password, immediately decrypt it and then store it unencrypted.

The issue I linked, #12, is a plan to remove that difference - if implemented, we would encrypt the configuration files of every RCX user, and optionally allow you to use your own password or pin on top.

Progress has been slow because:

  • rclone does not have a defined interface for configuration encryption
  • cryptography is hard to get right
  • the crypto parameters are only supported on Android Marshmallow (6.0 / API 23), and Lollipop (5.0 / 5.1) has not yet been dropped (but it soon will be, there are < 5 users).
  • and, of course, because RCX is notoriously understaffed - RCX is kept alive by me spending some of my free time on this, not because of an unknown army of volunteers.

Ref: patrykcoding/rcloneExplorer#182

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: P3Feature Requests and other enhancements✨ EnhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions