:closed_lock_with_key: 用于支持端到端加密的服务器 API
This app provides all the necessary APIs to implement End-to-End encryption on the client side and in the browser.
Found under Personal settings -> Security:
When the E2EE server app has been successfully enabled and the client app awaits initial setup:
Personal -> Security
Administration settings -> Security
Here you can find the API documentation. Also some typical client operations and how to use the API to perform them are documented too.
The end-to-end encryption implemented by the Nextcloud sync and mobile clients, as well as the functionality provided by this app to faciliate it, is based on the approach documented in the RFC repository.
[!CAUTION]
The mnenomnic is not recoverable by a server administrator. If you lose your mnemonic you will lose access to your encrypted data.
[!CAUTION]
When the web interface is used for end-to-end encryption then chunked uploads have to be disabled!
Encryption must be actively enabled for folders. This can be done in any of the officially supported client apps (desktop, Android, iOS).
In the desktop client, the option to encrypt can be found in the context menu (right click) of subfolders of a folder synchronization. Please note that it's neither possible to encrypt the root folder of a folder synchronization, nor to encrypt a subfolder with existing content.
The default user agent configuration is reasonable for all current official stable client releases, but sometimes needs to be adjusted when running custom or development client builds.
// config/config.php
...,
// Allow to configure which client are supported (e.g. custom clients)
'end_to_end_encryption.supported-user-agents' => [
'/^Mozilla\/5\.0 \(Android\) Nextcloud\-android\/(?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)).*$/' => '3.13.0',
'/^Mozilla\/5\.0 \([A-Za-z ]+\) (mirall|csyncoC)\/(?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)).*$/' => '3.0.0',
'/^Mozilla\/5\.0 \(iOS\) Nextcloud\-iOS\/(?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)).*$/' => '3.0.5',
]There are various recovery scenarios where it may be useful to access (decrypt) your files independent of your Nextcloud installation. A separate set of tools called the encryption-recovery-tools can be used for this.
There are many ways to contribute, of which development is only one! Find out how to get involved, including as a translator, designer, tester, helping others, and much more!
Specific to this app we summarize the basic steps how to get involved below.
This is is built using PHP on the backend side as well as Typescript and Vue.js on the frontend side.
For building the frontend you need to install the currently active Node.js version (see engines in the package.json).
To built the app from a fresh checkout of the repository run:
npm ci to install the frontend dependenciesnpm run build to build the frontendWhen developing there are some more commands which might be useful for you:
npm run dev to build the frontend in development mode enabling support for the Vue devtools.npm run watch similar to dev but rebuilds as soon as there are code changes in the sources.npm run lint to check for linting issues (e.g. code style). Always check this before contributing code.npm run stylelint similar as lint but for the `` section of our Vue files.npm run test to run our frontend unit tests.All contributions to this repository are considered to be licensed under the AGPLv3 or any later version.
Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds the following line to the AUTHORS file if they made substantial changes to the code:
- We can only accept contributions from authors that agree on the Developer Certificate of Origin!
For this please make sure to sign-off your commits if you want to contribute code (git commit -s).
Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere and to explain how together we can strengthen and support each other.
Before Nextcloud 33 each we published one app version per Nextcloud version
and maintained a branch per Nextcloud versions like stable32 for Nextcloud 32.
Since Nextcloud 33 we switched to a versions based branch process,
where we will keep support of multiple Nextcloud versions within a single app version.
So the new naming schema is e.g. stable-2 for the v2.x series of this app.
暂无开放 Issues,或尚未同步最近议题。