forked from jriou/coller
feat: Disable levels of encryptions by default
- Add `allow_client_encryption_key` option to allow encryption key provided by the client on the web UI (false by default) - Add `allow_no_encryption` option to allow notes without encryption (disabled by default) Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
75bdab55df
commit
61ca30690b
6 changed files with 105 additions and 47 deletions
|
@ -20,6 +20,8 @@ The file format is **JSON**:
|
|||
* **database_dsn** (string): Connection string for the database (default "collerd.db")
|
||||
* **node_id** (int): Number between 0 and 1023 to define the node generating identifiers (see [snowflake](https://github.com/bwmarrin/snowflake))
|
||||
* **encryption_key_length** (int): Number of characters for generated encryption key (default 16)
|
||||
* **allow_client_encryption_key** (bool): Allow encryption key provided by the client on the web UI
|
||||
* **allow_no_encryption** (bool): Allow notes without encryption
|
||||
* **expiration_interval** (int): Number of seconds to wait between two expiration runs
|
||||
* **listen_address** (string): Address to listen for the web server (default "0.0.0.0")
|
||||
* **listen_port** (int): Port to listen for the web server (default 8080)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue