Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure uploading nested folders to vault #15489

Closed
ghost opened this issue Dec 23, 2023 · 1 comment · Fixed by #16516
Closed

Failure uploading nested folders to vault #15489

ghost opened this issue Dec 23, 2023 · 1 comment · Fixed by #16516
Assignees
Labels
azure Azure Protocol Implementation b2 Backblaze B2 Protocol Implementation cryptomator Cryptomator Vault googlestorage Google Cloud Storage Protocol Implementation openstack OpenStack Swift Protocol Implementation
Milestone

Comments

@ghost
Copy link

ghost commented Dec 23, 2023

Describe the bug
I Created an ARCHIVE bucket in Google Cloud, enabled Cryptomator inside It with a password. When I upload a folder with nested folders, during the creation of the nested folders I receive an arror saying "File not found", but If I see the encrypyted folders on the bucket using the browser I understand that the folder with the first sub-folder is created. From this moment, I cannot access anymore with Cyberduck and I have to delete these folders manually on the bucket using the browser

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I expect that If I upload folders with sub-folders they are correctly created and populated

Screenshots
Screenshot attached
1
2

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 23H2

Log Files
Log file attached
cyberduck.zip

Additional context
It seems a problem about Cryptomator, infact the same operation without It works fine

@dkocher dkocher added googlestorage Google Cloud Storage Protocol Implementation cryptomator Cryptomator Vault labels Dec 29, 2023
@dkocher dkocher added this to the 9.1 milestone Nov 8, 2024
@dkocher dkocher added azure Azure Protocol Implementation openstack OpenStack Swift Protocol Implementation b2 Backblaze B2 Protocol Implementation labels Nov 9, 2024
@dkocher
Copy link
Contributor

dkocher commented Nov 9, 2024

Regression from 2ffea63 with single Directory feature shared creating for creating multiple folders in a transfer. This causes failures for protocols using file based markers for pseudo directories because the injected encrypting writer is cached 1 and reused falsely for plaintext intermediate folders.

Footnotes

  1. https://github.com/iterate-ch/cyberduck/blob/35dfb14d9764a473c9cdc21aaaa05cfda8d71775/cryptomator/src/main/java/ch/cyberduck/core/cryptomator/features/CryptoDirectoryV7Feature.java#L78C1-L79C1

dkocher added a commit that referenced this issue Nov 9, 2024
dkocher added a commit that referenced this issue Nov 10, 2024
dkocher added a commit that referenced this issue Nov 11, 2024
dkocher added a commit that referenced this issue Nov 11, 2024
dkocher added a commit that referenced this issue Nov 11, 2024
ylangisc added a commit that referenced this issue Nov 12, 2024
Review directory features requiring pseudo file based implementation
@dkocher dkocher changed the title Problem uploading folders with nested folders Failure uploading nested folders to vault Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure Azure Protocol Implementation b2 Backblaze B2 Protocol Implementation cryptomator Cryptomator Vault googlestorage Google Cloud Storage Protocol Implementation openstack OpenStack Swift Protocol Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants