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

Open E2E folders with Nextcloud Web App #82

Closed
ntimo opened this issue Nov 2, 2018 · 10 comments
Closed

Open E2E folders with Nextcloud Web App #82

ntimo opened this issue Nov 2, 2018 · 10 comments
Labels
discussion Being discussed

Comments

@ntimo
Copy link

ntimo commented Nov 2, 2018

Hello,
it would be really cool if it would be possible to open a end to end encrypted folder using the web version of nextcloud, the decryption could be done in the local browser. Or at least the error message when trying to open a E2E encrypted folder could be changed "Operation not permitted" is a bit strange. Maybe "You can't open end to end encryped folder using the web version." would be better.

Best wishes,
Timo

@tobiasKaminsky
Copy link
Member

Encrypting/decrypting in web browser would be possible, but from a security point of view this is not meaningful.
The browser needs to download the code for encrypt/decrypt and thus a compromised server could sent a wrong version which e.g. extracts and sends all passwords.

@schiessle regarding error message.

@kwisatz
Copy link

kwisatz commented Nov 12, 2018

Would a browser extension be more trust-worthy?
E.g. similar to what passbolt or perhaps mailvelope are doing?

@paulolieuthier
Copy link

Can someone point out how an extension would not guarantee security?

@hex-m
Copy link

hex-m commented Sep 3, 2019

This feature would be useful, if it would be possible to split the Data-Storage from the Web-GUI. That way users could install the Web-GUI on a more trustworthy server (e.g. selfhosted) and make that one connect to the NC instance that holds the encrypted data. But that would either mean a making the server more modular or creating a new (lightweight) Nextcloud web client.

Another (even more theoretical) idea would be to distribute the relevant crypto-code via a peer to peer, content addressable protocol (dat, ipfs). That would prevent targeted attacks and make the code auditable. But for now a browser extension seems more realistic. ;)

@luixxiul luixxiul added the discussion Being discussed label Jan 18, 2020
@trymeouteh
Copy link

I would like to suggest adding browsing in the desktop client. This will allow users to browser files, delete files, upload files, etc within the client which can allow E2EE.

@georgehrke
Copy link
Member

Currently there are no plans to implement such a feature. Thus I will close this ticket for now. This is simply not on our roadmap for the near future. If somebody wants to implement this feature nevertheless we are happy to assist and help out.

@thelittlefireman
Copy link

thelittlefireman commented Jan 6, 2021

Encrypting/decrypting in web browser would be possible, but from a security point of view this is not meaningful.
The browser needs to download the code for encrypt/decrypt and thus a compromised server could sent a wrong version which e.g. extracts and sends all passwords.

@schiessle regarding error message.

Hi,
Juste to add some informations, all current web browsers (chrome, edge, firefox, etc) now implement the Web Cryptography API by default. (https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface)[https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface].

No need to download We just need a piece of js script which would call this browser api to decrypt/encrypt the files.
That's the way Element-web (ie matrix) does it's e2e chat messaging with its web app. (https://github.com/vector-im/hydrogen-web/blob/6bd5692517bec2da85d9be7444c77bba99cb1ac4/src/platform/web/dom/Crypto.js)[https://github.com/vector-im/hydrogen-web/blob/6bd5692517bec2da85d9be7444c77bba99cb1ac4/src/platform/web/dom/Crypto.js]

further information on the api : (https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto)[https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto]

it could realy be a fun feature on the e2e module :)

@bcutter
Copy link

bcutter commented Jan 6, 2021

Definitely an interesting input 👍
Anyway, they should first make sure the whole E2EE stuff is basically working, the current situation on the endpoint (desktop client) and server side is a really bad joke (see nextcloud/desktop#2593). iOS & Android are fine and so would web I assume... so really an interesting thing ✔

@walking-octopus
Copy link

walking-octopus commented Sep 22, 2021

I think this issue should be reopened because without E2E in web version most apps would not be able to access encrypted folders. This makes E2E an isolated option, rather than the recommendation.

@PackElend
Copy link

PackElend commented Feb 10, 2022

any chance that e2e will be accessible from the web app/this issue will be reopened.

I'm wondering if 3rd party app would be ever able to access e2e data, e.g. using a different photo manager which shall manage my e2e photos as well.

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

No branches or pull requests