diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-06-25 10:44:35 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-06-25 11:15:22 +0200 |
commit | 0fb88527ce38e8b791a48802e160225aa38743cd (patch) | |
tree | 35597e6ce0745fb98616bbb3200cc35decfe8af3 /doc/pl | |
parent | 7a0020f067922a8616e5ac313bbc59f07683e4a8 (diff) | |
download | weechat-0fb88527ce38e8b791a48802e160225aa38743cd.zip |
irc: implement IRCv3.2 SASL authentication, add command /auth (closes #413)
Diffstat (limited to 'doc/pl')
-rw-r--r-- | doc/pl/includes/autogen_api_hdata.pl.adoc | 2 | ||||
-rw-r--r-- | doc/pl/includes/autogen_user_commands.pl.adoc | 20 | ||||
-rw-r--r-- | doc/pl/includes/autogen_user_options.pl.adoc | 2 |
3 files changed, 23 insertions, 1 deletions
diff --git a/doc/pl/includes/autogen_api_hdata.pl.adoc b/doc/pl/includes/autogen_api_hdata.pl.adoc index dd535008f..e501770b2 100644 --- a/doc/pl/includes/autogen_api_hdata.pl.adoc +++ b/doc/pl/includes/autogen_api_hdata.pl.adoc @@ -237,6 +237,8 @@ _sasl_scram_client_first_ (string) + _sasl_scram_salted_pwd_ (other) + _sasl_scram_salted_pwd_size_ (integer) + _sasl_scram_auth_message_ (string) + +_sasl_temp_username_ (string) + +_sasl_temp_password_ (string) + _is_connected_ (integer) + _ssl_connected_ (integer) + _disconnected_ (integer) + diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index 7bc624491..741255379 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -100,6 +100,26 @@ Przykłady: /allserv /whois $nick ---- +[[command_irc_auth]] +* `+auth+`: authenticate with SASL + +---- +/auth [<username> <password>] + +username: SASL username (content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name) +password: SASL password or path to file with private key (content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name) + +If username and password are not provided, the values from server options "sasl_username" and "sasl_password" (or "sasl_key") are used. + +Examples: + authenticate with username/password defined in the server: + /auth + authenticate as a different user: + /auth user2 password2 + authenticate as a different user with mechanism ecdsa-nist256p-challenge: + /auth user2 ${weechat_config_dir}/ecdsa2.pem +---- + [[command_irc_ban]] * `+ban+`: banuje nick albo host diff --git a/doc/pl/includes/autogen_user_options.pl.adoc b/doc/pl/includes/autogen_user_options.pl.adoc index 4ea22c2a1..0b0cd44d8 100644 --- a/doc/pl/includes/autogen_user_options.pl.adoc +++ b/doc/pl/includes/autogen_user_options.pl.adoc @@ -2782,7 +2782,7 @@ ** opis: pass:none[akcja do wykonania jeśli uwierzytelnianie SASL się nie powiedzie: "continue" dla zignorowania problemu, "reconnect" ponownie połącz się z serwerem, "disconnect" odłącz od serwera (zobacz też opcję irc.network.sasl_fail_unavailable)] ** typ: liczba ** wartości: continue, reconnect, disconnect -** domyślna wartość: `+continue+` +** domyślna wartość: `+reconnect+` * [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key* ** opis: pass:none[plik z kluczem prywatnym ECC dla mechanizmu "ecdsa-nist256p-challenge" (ścieżka jest przetwarzana, zobacz funkcję string_eval_path_home w opisie API wtyczek)] |