All E2ee related user settings are found in the Security section of their Personal Settings.
When more than one Key Storage was provided by the administrator, all ownCloud users must select their preferred storage first. This step is neither needed nor available when there is provided only a single storage.
Depending on the system settings you can choose how you want the decryption to be performed. This depends on your security requirements and possibilities:
|Your Computer/Device||The private key is stored in the browser local storage (similar to a cookie)|
The private key is available through an external process running on the client machine. Then the browser can only request decryption.
The Key Server supports reading the key from a storage location (.pem file) or from a pkcs#11 compatible hardware device.
|Manual input for each download||When downloading an E2EE file, the private key has to be copy/pasted into a browser form. The key is never saved in the browser.|
|Local decryption||The E2EE file is downloaded locally and a secondary tool is required to decrypt (E2EE Reader). |
The E2EE Reader supports both file and Smart Card decryption (currently Windows only).
The key is never saved in the browser.
Private Key Generation
For the Your Computer/Device key storage, ownCloud users must generate their own private key.
After generation you should copy or download the private key to a secure location. A backup of the private key is strongly recommended. In case the system crashes or a user is deleted by accident you cannot read the shared files anymore. The private key is NEVER sent to the server. The private key can never be recovered.
A user can have multiple private keys assigned to his account i.e. for multiple devices. Files uploaded into one os his encrpyted folders will automatically be encrypted for ALL his private keys.
Once the private key is generated the public key is uploaded on the fly. From then on, a user can create encrypted folders.
External Key/Smartcard Configuration
For the External Key/Smartcard key storage, a key server URL has to be provided. In most cases this will be the default value
By clicking the Test Connection button you will receive a message whether the key server was found or not.
An additional button Connection Info will show up which either opens the key server's status information or a browser error page, in case the key server did not respond.
Key Storages Manual input for each download and Local decryption
Both storage options require, that your public key is available on the server. It will be used for encrypting files.
In the Security section of your Personal settings you find a text area:
You might already have keys when
- you at least once have generated a public key in the Personal Settings
- you at least registered once with the Key Server (file key or Smart Card)
- the administrator added your key on the server (occ command)
Manual input for each download
Every time you want to open an encrypted file the browser opens a modal window where you have to provide your private key.
The file is decrypted in the browser only, the private key is never sent to the server.
The raw E2EE file will be downloaded. You need the E2EE Reader to be able to decrypt those files.