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

Server side encryption docs outdated #146

Closed
2 of 7 tasks
va1entin opened this issue Oct 10, 2018 · 9 comments
Closed
2 of 7 tasks

Server side encryption docs outdated #146

va1entin opened this issue Oct 10, 2018 · 9 comments
Assignees
Labels
bug Something isn't working p3-medium Normal priority waiting on feedback work in progress Still in development. Not to be merged.

Comments

@va1entin
Copy link

What Type Of Content Change Is This?

  • New Content Addition
  • Old Content Deprecation
  • Existing Content Simplification
  • Bug Fix to Existing Content

Which Manual Does This Relate To?

  • Admin Manual
  • Developer Manual
  • User Manual

What Needs to be Documented?

Up to date manual for the server side encryption app.

Why Should This Change Be Made?

The docs for server side encryption seem to be pretty outdated.

One documented command does not exist:

# occ encryption:select-encryption-type masterkey

                                                               
  Command "encryption:select-encryption-type" is not defined. 

Also the app comes without encryption modules to use, I made an issue for that in the repo of the app

@va1entin va1entin changed the title Server side encryption docs is outdated Server side encryption docs outdated Oct 10, 2018
@PVince81
Copy link
Contributor

you need to enable the encryption app first: occ app:enable encryption which provides this command

@settermjd
Copy link
Contributor

@va1entin, thanks for creating this issue, and @PVince81, thanks for adding to the discussion. I'll review the linked documentation and see how it can be improved to avoid this misunderstanding.

@settermjd settermjd self-assigned this Oct 10, 2018
@settermjd settermjd added bug Something isn't working command-line labels Oct 10, 2018
@va1entin
Copy link
Author

@PVince81 thanks for the clarification
I thought that the checkbox in the web interface enables the app because it says "Enable server-side encryption"

@PVince81
Copy link
Contributor

not really and I realize that the distinction is not easy to grasp at first look

OC core has an encryption subsystem that is actually a plugin system for encryption apps to register themselves. By checking the checkbox you only enable that subsystem.
Then you need to enable an app that provides an encryption plugin, which is the default "encryption" app, also called "default encryption module", which itself provides two submodules "master key" and "user key" (which we'll likely separate to two apps at some point, see owncloud/core#27438)

Overview:

  • core: encryption subsystem
    • default encryption module (provided by "encryption" app)
      • submodule "master key mode"
      • submodule "user key mode"

At this day I'm not aware of any other apps that implement encryption as a replacement for "default encryption module"

@mmattel
Copy link
Contributor

mmattel commented Oct 10, 2018

@PVince81 reading that and to avoid misunderstandings in future, a small change in core would solve that. A text that highlights to install and enable the encryption app first then enabe that you can enable the subsystem. A torture in the syntax, I know...
Would that make sense ?

@settermjd
Copy link
Contributor

@mmattel, that sounds quite reasonable to me. Is it workable @PVince81?

@settermjd
Copy link
Contributor

I'm looking into this at the moment, but have come across the following, quite perplexing functionality (which I've asked about in #engineering):

$ ./occ encryption:select-encryption-type masterkey
Kindly enable encryption to select the encryption type.
$ ./occ encryption:status
  - enabled: true
  - defaultModule: OC_DEFAULT_MODULE

@settermjd settermjd added waiting on feedback work in progress Still in development. Not to be merged. labels Nov 22, 2018
@michaelstingl michaelstingl added the p3-medium Normal priority label May 23, 2019
@voroyam
Copy link
Contributor

voroyam commented Jul 22, 2019

Isn't it solved by https://doc.owncloud.org/server/10.0/admin_manual/configuration/files/encryption/encryption_configuration_quick_guide.html ?

This new document provides the correct commands for enabling and disabling encryption.

@voroyam
Copy link
Contributor

voroyam commented Jul 24, 2019

@va1entin please use the new document. closing.

@voroyam voroyam closed this as completed Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p3-medium Normal priority waiting on feedback work in progress Still in development. Not to be merged.
Projects
None yet
Development

No branches or pull requests

6 participants