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

[Bug]: Error when trying to sync vault with E2E encryption #737

Closed
2 tasks done
TomYeoman opened this issue Jul 3, 2024 · 7 comments
Closed
2 tasks done

[Bug]: Error when trying to sync vault with E2E encryption #737

TomYeoman opened this issue Jul 3, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@TomYeoman
Copy link

What happened?

image

I have saved a drive on windows, setting a password. I can confirm I can see the folder with encrypted files at in Apps/remotely-save/

After going on to my mac

  • Create new local directory, matching name of remote
  • Setup remotely save, setting same password
  • Try to sync

I get the error shown in the screenshot. If I set no password on the mac side, I pull the encrypted files, so the connection is definitely OK.

What OS are you using?

Windows, macOS

What remote cloud services are you using? (Please choose the specified one if it's in the list)

OneDrive for personal

Version of the plugin

0.5.12

Version of Obsidian

1.6.5

Using password or not

  • Yes.

Ensure no sensitive information

  • I ensure that no sensitive information is submitted in the issue.
@TomYeoman TomYeoman added the bug Something isn't working label Jul 3, 2024
@TomYeoman TomYeoman changed the title [Bug]: Error when trying to sync folder with password [Bug]: Error when trying to sync vault with E2E encryption Jul 3, 2024
@fyears
Copy link
Member

fyears commented Jul 5, 2024

go to onedrive website, is there any unencrypted files inside /Apps/remotley-save/<vault name>?

@TenTakano
Copy link

TenTakano commented Jul 7, 2024

I have same issue with Ubuntu 22.04 and Windows, iPhone. I'm using R1 for storage to sync.In my situation, the encrypted files are stored in R1 bucket including .obsidian folder because I'm using option for synchronizing config. There are no failure with no password but it occurs extracting encrypted files directly. In addition, I'm also facing anothor issue which the original local vault (this is stored in Ubuntu 22.04) cannot sync to remote after once closing obsidian. From these phenomenons, I guess there are some issues on encrypt/decrypt modules.

I'm using:

  • Obsidian v1.6.5
  • Remotely Save 0.5.12
  • OS
    • original: Ubuntu 22.04 LTS
    • replica1: Windows11 Pro 23H2
    • replica2: iPhone 17.5.1

ps:
I confirmed that I can sync in same conditions without password. So, root issue is in encrypting/decrypting.

@fyears
Copy link
Member

fyears commented Jul 8, 2024

go to r2 website, is there any unencrypted files inside uour encrypted vault?

@TenTakano
Copy link

go to r2 website, is there any unencrypted files inside uour encrypted vault?

No. All files are encrypted.
But somehow, I tried once again with another bucket, successfully synchronized with Ubuntu and Windows. The vault which is used to verification is same as last post. All I have done is just change encrypt password and bucket name.

@fyears
Copy link
Member

fyears commented Jul 18, 2024

so is the issue still consistently reproducible now?

@TenTakano
Copy link

I could resolve the issue in my case.

@fyears fyears closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2024
@fyears
Copy link
Member

fyears commented Jul 20, 2024

if a consistent reproducible step is found, please post it here and you are welcome to re open the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants