Skip to content

Encryption switch for external storages #10731

Closed

Description

@PVince81

Discussed this with @Xenopathic today.

Adding the switch shouldn't be too complicated as there is already internal code to disable encryption for specific storages.

The main issue is mostly about where to put it in the already overloaded Admin page UI.

One idea proposed by @Xenopathic was to have a cog icon in every one that shows a dropdown (like the share dropdown) with advanced options like "Disable encryption" and possibly others.

CC @owncloud/designers for the UI topic

Activity

  1. jancborchardt commented on Aug 29, 2014

    @jancborchardt
    Contributor

    Yup, the proposal by @Xenopathic sounds good.

  2. karolherbst commented on Sep 2, 2014

    @karolherbst

    👍 Is this for #8460 ?

  3. karolherbst commented on Sep 2, 2014

    @karolherbst

    But I guess is a switch like encrypting the entire external storage or nothing. Still a nice feature

  4. xdmx commented on Sep 4, 2014

    @xdmx

    This would work for me, I'd create two dropbox accounts, one (encrypted) to use as storage, and one (not encrypted) for sharing folders

    I hope you'll be able to add this option to 7.0.3 or 7.0.4

  5. RobinMcCorkell commented on Sep 4, 2014

    @RobinMcCorkell
    Contributor

    @xdmx Unfortunately this would involve a lot of code structure changes, so it might only come out in OC 7.1.0 (if we do such releases?) if not OC 8

  6. PVince81 commented on Sep 4, 2014

    @PVince81
    ContributorAuthor

    No. For some reason we never seem to increase the minor version...
    So it will be OC 8 as it's a new feature.
    Only bugfixes are backported to OC 7.

  7. PVince81 commented on Sep 4, 2014

    @PVince81
    ContributorAuthor

    Oops.

  8. MikkiWells commented on Sep 18, 2014

    @MikkiWells

    Having an option for encrypting an external storage is a good first step. However, I'd prefer an option where you can choose to encrypt on a folder-by-folder basis. This would be much more useful for me as I wouldn't have to create and manage multiple dropbox accounts.

  9. schiessle commented on Oct 20, 2014

    @schiessle
    Contributor

    I have some sympathy for the idea of a general per-folder setting, but we need to think about it carefully.

    Possible problems:

    1. we would generate a lot of additional meta-data about which folder is encrypted and which not and we would need to have a way to recover the information in case the user loses (part of) his database.
    2. This would invite people to "randomly" enable and disable encryption for folders. Already today we have problems with timeouts during initial encryption. This problem could become worse if people activate/deactivate encryption at any given time (for large folders).
    3. what happens if people move files from a encrypted folder to a unencrypted and back. This move would result in quite some overhead because we don't have to only move the folder/file but also encrypt/decrypt it. Don't want to think about if people move folder with large or many files
    4. Same if people decide to restore files from the trash bin. If the file/folder was copied from a encrypted location but now gets restored to a unencrypted location or the other way around
    5. Versions need to be considered too.

    So maybe it would make more sense to make it only configurable as a per mount point setting in the external storage app. This would at least eliminate some but not all problems mentioned above, remaining problems 3, 4, 5. Still we have to think about the remaining issues first.

  10. karlitschek commented on Oct 20, 2014

    @karlitschek
    Contributor

    I think we need an option to enable/disable it based on mountpoints.

  11. 7 remaining items

  12. ZacharyDuBois commented on Jan 27, 2015

    @ZacharyDuBois

    @PVince81 Just in general as it seems that the encryption plugin itself needs a major overhaul since it has so many issues with other plugins.

  13. modified the milestones: , on Mar 2, 2015
  14. PVince81 commented on Apr 15, 2015

    @PVince81
    ContributorAuthor

    @icewind1991 are you still working on this ? (if yes please assign to yourself)

  15. karlitschek commented on Apr 15, 2015

    @karlitschek
    Contributor

    yes. this is actual important

  16. icewind1991 commented on Apr 15, 2015

    @icewind1991
    Contributor

    Should be fixed with #15338

  17. PVince81 commented on Apr 15, 2015

    @PVince81
    ContributorAuthor

    Ah cool, I see the switch.
    Will do some testing and raise separate tickets for bugs I find.

  18. modified the milestones: , on Apr 15, 2015
  19. PVince81 commented on Apr 15, 2015

    @PVince81
    ContributorAuthor

    So far it seems to work well.
    Moving files between encrypted and non-encrypted don't work properly, but this is due to #15619

    The option properly disappears when encryption is disabled. Neat 😄

  20. Croydon commented on Jun 3, 2015

    @Croydon

    Desperately needed, thanks!

  21. locked as resolved and limited conversation to collaborators on Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions