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

Decrypt folder fails #21

Open
lougreenwood opened this issue Jan 10, 2022 · 4 comments
Open

Decrypt folder fails #21

lougreenwood opened this issue Jan 10, 2022 · 4 comments

Comments

@lougreenwood
Copy link

lougreenwood commented Jan 10, 2022

Hello - first, thanks for creating this!

I am trying to decrypt an 11GB iPhoto library. The source and destination are on a USB flash drive.

I'm using a pub/private key pair for decryption.

macOS Version is 12.1, it's an Intel Mac.

The problem is that the app is not able to decrypt a folder. I've confirmed that I can individual decrypt all files in a given dir, but when I try to decrypt the whole dir, it fails with an error prompt.

synologycloudsyncdecrypttool.log

@anojht
Copy link
Owner

anojht commented Jan 10, 2022

Hi,

Thanks for finding and attaching the log.
It appears Synology Cloud Sync does not encrypt MacOS temp dot files (the files that begin with ._).
Your decryption fails as a result of that, I will push a change to fix this problem.

Before I do so, can you try decrypting a temp dot file in your iPhoto library and see if it fails with the same error as in the log? This will help me verify my root cause diagnosis.

Thanks!

@lougreenwood
Copy link
Author

Thanks @anojht - I ran 3 experiments, below are the log files:

Attempt to decrypt a specific folder which contains only files and one dot file
synologycloudsyncdecrypttool-backups-dir.log

Attempt to decrypt just the dot file in this folder which errors in the above run
synologycloudsyncdecrypttool.log

Attempt to decrypt a manually created dot file without encryption
synologycloudsyncdecrypttool.log

@lougreenwood
Copy link
Author

One more thing - for the last 2 experiments, even though we get errors in the log file, the UI still reports a successful decrypt:

Screen Shot 9

@lougreenwood
Copy link
Author

@anojht Sorry to hassle, I realise this is open source and you're doing this in your spare time. But I wondered if there was any news on this?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants