summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/sec_options.asciidoc
blob: 623b131536e23378de65238fac44e7b6e555769f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** description: `cipher used to crypt data (the number after algorithm is the size of the key in bits)`
** type: integer
** values: aes128, aes192, aes256 (default value: `aes256`)

* [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo*
** description: `hash algorithm used to check the decrypted data`
** type: integer
** values: sha224, sha256, sha384, sha512 (default value: `sha256`)

* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** description: `path to a file containing the passphrase to encrypt/decrypt secured data; this option is used only when reading file sec.conf; only first line of file is used; this file is used only if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); security note: it is recommended to keep this file readable only by you and store it outside WeeChat home (for example in your home); example: "~/.weechat-passphrase"`
** type: string
** values: any string (default value: `""`)

* [[option_sec.crypt.salt]] *sec.crypt.salt*
** description: `use salt when generating key used in encryption (recommended for maximum security); when enabled, the content of crypted data in file sec.conf will be different on each write of the file; if you put the file sec.conf in a version control system, then you can turn off this option to have always same content in file`
** type: boolean
** values: on, off (default value: `on`)