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 E2E via the Web #388

Closed
Viceman256 opened this issue Feb 9, 2023 · 4 comments
Closed

Decrypt E2E via the Web #388

Viceman256 opened this issue Feb 9, 2023 · 4 comments

Comments

@Viceman256
Copy link

I have an encrypted folder that is stuck, it won't sync in any desktop client. The other encrypted folder works fine, but I suspect the large size of this folder is causing issues. It was encrypted with E2E and working fine for a year or two. I'm now migrating this instance to a new server, with better control.

My question is, can I decrypt the E2E encryption somehow, so I can download this data from the web instead?

@WuShufei
Copy link

E2e is disabled for the web client for security reasons, as the info page inthe NC website says. But I also have had the problem described with a “stuck” file. It is not marked as e2e locked, but upon moving it, it is no longer editable nor deleteable.

@Viceman256
Copy link
Author

E2e is disabled for the web client for security reasons, as the info page inthe NC website says. But I also have had the problem described with a “stuck” file. It is not marked as e2e locked, but upon moving it, it is no longer editable nor deleteable.

I am specifically asking about decrypting the files, so they become web accessible. Not accessing them on the web with E2E encryption enabled.

Moving the files is out of the question, as there's no way to access them. They are stuck as in the client will not download this folder.

@yahesh
Copy link
Member

yahesh commented Aug 11, 2023

@Viceman256 As of today the encryption-recovery-tools support the end-to-end encryption.

@joshtrichards
Copy link
Member

joshtrichards commented Nov 8, 2023

@Viceman256 You would take the contents of your server's datadirectory (or external storage if using it). Then use the aforementioned offline recovery tools. Specifically these are the instructions:

https://github.com/nextcloud/encryption-recovery-tools/blob/master/end-to-end-encryption/README.md

I am specifically asking about decrypting the files, so they become web accessible. Not accessing them on the web with E2E encryption enabled.

Using the approach above would accomplish this, but you'd certainly need admin access to your server (or cooperation from someone with admin access to provide the raw albeit encrypted data). It's not a web based activity (nor can it be - that's one of the tradeoffs of E2EE versus SSE).

@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@joshtrichards joshtrichards changed the title Decrypt E2E Decrypt E2E via the Web Nov 8, 2023
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

4 participants