Skip to content

Commit

Permalink
Merge pull request #292 from owncloud/mmattel-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mmattel authored Jun 24, 2021
2 parents 62cf704 + ef2baf0 commit 2994275
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,29 @@ after server-side encryption was enabled. It is also not possible to
disable the encryption again and switch back to a unencrypted system.
Please read the documentation to know all implications before you decide
to enable server-side encryption.

## The following occ commands are not documented in the official documentation but added here for completness

The values bellow mostly represent internal configuration state and should not be set by the user directly. They are controlled by respective encryption-commands. Change only if you know what you are doing or are debugging.

`config:app:set encryption masterKeyId --value ??`

`config:app:set encryption recoveryKeyId --value ??`

The ID of the respective key. Background: Instead of giving a path to a keyfile (which might be error-prone) an explicit key-id which is part of the key is given. This is also done to accomodate for Keystorages which might not be file-based.

`config:app:set encryption useMasterKey --value 1/0`

Is masterkey encryption enabled?

`config:app:set encryption crypto.engine --value 'internal | hsm'`

Normal ownCloud encryption vs storing decryption-keys in a HSM

`config:app:set encryption recoveryAdminEnabled --value 1/0`

With user-key encryption where only the specific user (not even the admin) can decrypt his data with his password there is an additional option to provide a recovery-key to the admin so he can also decrypt the data if the user leaves the company for example.

`config:app:set encryption userSpecificKey --value 1/0`

Set to 1 if userKey encryption is enabled

0 comments on commit 2994275

Please sign in to comment.