remotely-save / remotely-save

Sync notes between local and cloud with smart conflict: S3 (Amazon S3/Cloudflare R2/Backblaze B2/...), Dropbox, webdav (NextCloud/InfiniCLOUD/Synology/...), OneDrive, Google Drive (GDrive), Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.
https://remotelysave.com
Other
4.01k stars 195 forks source link

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

Closed TomYeoman closed 2 months ago

TomYeoman commented 3 months ago

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

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

Ensure no sensitive information

fyears commented 3 months ago

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

TenTakano commented 3 months ago

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:

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

fyears commented 3 months ago

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

TenTakano commented 2 months ago

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 commented 2 months ago

so is the issue still consistently reproducible now?

TenTakano commented 2 months ago

I could resolve the issue in my case.

fyears commented 2 months ago

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