Skip to content

[BUG] Crypt overlay: editing outside the Overlays Path (Mixed mode) #390

Description

@EhudKirsh

Describe the bug
Uploading a file to a folder with an unencrypted name while ‘🔒 RCLONE CRYPT’ is On (appears blue) creates a new folder with that name,
but encrypted.

Steps To Reproduce

  1. Set up a Crypt wrapper on a profile and connect to it.
  2. Click on ‘🔒 RCLONE CRYPT’ to turn it Off/grey.
  3. Right-click in the remote panel and create a new folder. Let’s name it "Crypt".
  4. Enter this new folder.
  5. Click on the ‘🔒 RCLONE CRYPT’ button to turn it On so it appears blue.
  6. Drag and drop some file from the local panel to the new folder.
    The folder will appear empty, even though the ‘📤 Transfer Queue’ and ‘📜 Log’ seem successful.
  7. Go back to the root directory and click on ‘🔒 RCLONE CRYPT’ to turn it grey/Off, or go to the cloud drive’s website.
    You’ll see that a new folder was created, with the name “Crypt”, but encrypted, and this is where the encrypted files were uploaded to.

Expected behavior
Be able to encrypt and upload files to a folder that doesn’t have an encrypted name, and not create a new folder when attempting to do so.

Environment:

  • OS: Windows 10
  • AeroFTP Version: v4.1.2

Additional context
I also tested it the other way around and am happy to confirm that there’s no opposite issue as well of a folder with an encrypted name creating a new folder with its name decrypted when uploading a file when Crypt is off. This would make it a privacy-critical bug by leaking secret folder names.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions