summaryrefslogtreecommitdiff
path: root/doc/en/autogen
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-11-04 14:43:59 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-11-04 14:50:53 +0100
commitcb73c168b544cc32439f59abaadd39945fe4701a (patch)
treeaf21378498cdf55b0a2e75be42f493e7e95efc9e /doc/en/autogen
parentdc7d99fa738417b5508845745067862e18a7c963 (diff)
downloadweechat-cb73c168b544cc32439f59abaadd39945fe4701a.zip
core: update translations
Diffstat (limited to 'doc/en/autogen')
-rw-r--r--doc/en/autogen/plugin_api/infos.adoc4
-rw-r--r--doc/en/autogen/user/relay_options.adoc12
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/en/autogen/plugin_api/infos.adoc b/doc/en/autogen/plugin_api/infos.adoc
index 7c57786f8..07180b39b 100644
--- a/doc/en/autogen/plugin_api/infos.adoc
+++ b/doc/en/autogen/plugin_api/infos.adoc
@@ -112,6 +112,10 @@
| weechat | term_width | width of terminal | -
+| weechat | totp_generate | generate a Time-based One-Time Password (TOTP) | secret (in base32), timestamp (optional, current time by default), number of digits (optional, between 4 and 10, 6 by default)
+
+| weechat | totp_validate | validate a Time-based One-Time Password (TOTP): 1 if TOTP is correct, otherwise 0 | secret (in base32), one-time password, timestamp (optional, current time by default), number of passwords before/after to test (optional, 0 by default)
+
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
| weechat | version | WeeChat version | -
diff --git a/doc/en/autogen/user/relay_options.adoc b/doc/en/autogen/user/relay_options.adoc
index c3ce96b0c..314e88bb5 100644
--- a/doc/en/autogen/user/relay_options.adoc
+++ b/doc/en/autogen/user/relay_options.adoc
@@ -164,6 +164,18 @@
** values: any string
** default value: `+"NORMAL:-VERS-SSL3.0"+`
+* [[option_relay.network.totp_secret]] *relay.network.totp_secret*
+** description: pass:none[secret for the generation of the Time-based One-Time Password (TOTP), encoded in base32 (only letters and digits from 2 to 7); it is used as second factor in weechat protocol, in addition to the password, which must not be empty (empty value means no TOTP is required) (note: content is evaluated, see /help eval)]
+** type: string
+** values: any string
+** default value: `+""+`
+
+* [[option_relay.network.totp_window]] *relay.network.totp_window*
+** description: pass:none[number of Time-based One-Time Passwords to accept before and after the current one: 0 = accept only the current password, 1 = accept one password before, the current, and one after, 2 = accept two passwords before, the current, and two after, ...; a high number reduces the security level (0 or 1 are recommended values)]
+** type: integer
+** values: 0 .. 256
+** default value: `+0+`
+
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** description: pass:none[POSIX extended regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"]
** type: string