Skip to content

Conversation

artonge
Copy link
Collaborator

@artonge artonge commented Dec 5, 2024

Todo

  • Add interceptor in a service worker
  • Parse and stringify request transparently for the front-end
  • Detect GET request on E2EE files
  • Fetch metadata
  • Fetch private key
    • Get mnemonic from the user
  • Decrypt metadata
  • Replace placeholder information in PROPFIND with the real from the metadata
  • Decrypt file on the fly
  • Show warning if user is in HTTP

Fix nextcloud/server#49649

@artonge artonge added 3. to review Waiting for reviews enhancement New feature or request javascript Javascript related ticket php Pending a documentation update/fix labels Dec 5, 2024
@artonge artonge added this to the Nextcloud 31 milestone Dec 5, 2024
@artonge artonge self-assigned this Dec 5, 2024
@artonge artonge added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Dec 5, 2024
@artonge artonge force-pushed the artonge/feat/support_e2ee_in_browser branch 3 times, most recently from 97d5cb3 to 9cdac40 Compare December 16, 2024 19:44
@artonge artonge marked this pull request as ready for review December 17, 2024 09:05
@artonge artonge added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Dec 17, 2024
@artonge artonge force-pushed the artonge/feat/support_e2ee_in_browser branch 9 times, most recently from 57a8db8 to 41a3008 Compare December 17, 2024 11:35
@sorbaugh sorbaugh requested a review from skjnldsv December 17, 2024 12:38
@sorbaugh
Copy link

sorbaugh commented Dec 17, 2024

Add toggle to enable E2EE in browser - Is it needed?

I'm afraid yes, but this can be easily added later in a separate PR.

EDIT: More info. Since this issue can be seen as comfort by weakening security, it should be Opt-In and disabled by default.

@artonge artonge force-pushed the artonge/feat/support_e2ee_in_browser branch from d0ba280 to ecaf133 Compare December 17, 2024 14:55
@artonge artonge force-pushed the artonge/feat/support_e2ee_in_browser branch 2 times, most recently from 7096474 to 63e777b Compare December 17, 2024 15:16
@artonge artonge force-pushed the artonge/feat/support_e2ee_in_browser branch from 63e777b to c2ccb56 Compare December 17, 2024 15:39
And support typescript

Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: Louis Chemineau <[email protected]>
@artonge artonge force-pushed the artonge/feat/support_e2ee_in_browser branch from c2ccb56 to 21def52 Compare December 17, 2024 15:52
@artonge artonge changed the title feat: Support E2EE in browser feat: Miniaml support E2EE file navigation in browser Dec 17, 2024
@artonge artonge changed the title feat: Miniaml support E2EE file navigation in browser feat: Minimal support E2EE file navigation in browser Dec 17, 2024
Signed-off-by: Louis Chemineau <[email protected]>
@artonge artonge merged commit e3f29bf into master Dec 17, 2024
41 checks passed
@artonge artonge deleted the artonge/feat/support_e2ee_in_browser branch December 17, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request javascript Javascript related ticket php Pending a documentation update/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add opt-in option to work with E2EE encrypted files in Web Interface
4 participants