1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

relay/api: rename "salt" to "timestamp"

This commit is contained in:
Sébastien Helleu
2024-02-26 12:56:44 +01:00
parent 22686da40c
commit 6d549d0da9
17 changed files with 90 additions and 91 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14010,8 +14010,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+9 -12
View File
@@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-19 20:06+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -14463,11 +14463,9 @@ msgstr ""
"standardmäßig aktuelle Zeit), Anzahl der zu testenden Passwörtern vorher/"
"nachher (optional, standardmäßig 0)"
#| msgid "No plugins loaded"
msgid "1 if plugin is loaded"
msgstr "1 falls Erweiterung geladen wurde"
#| msgid "name: a plugin name"
msgid "plugin name"
msgstr "Namen der Erweiterungen"
@@ -15465,9 +15463,13 @@ msgstr ""
"Sicherheitsgründen besser, aber langsamer zu berechnen. Diese Zahl sollte "
"nicht zu hoch sein, wenn Ihre CPU langsam ist"
#, fuzzy
#| msgid ""
#| "number of seconds to allow before and after the current time for salted "
#| "password in api protocol"
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
"Anzahl der Sekunden, die vor und nach der aktuellen Zeit für das Salzen "
"eingeplant werden sollenPasswort im API-Protokoll"
@@ -16355,11 +16357,9 @@ msgstr ""
msgid "URL for file with list of scripts"
msgstr "URL für Datei mit der Auflistung aller Skripten"
#| msgid "No scripts loaded"
msgid "1 if script is loaded"
msgstr "1 falls Skript geladen wurde"
#| msgid "list of script extensions"
msgid "script name with extension"
msgstr "Skriptname mit Erweiterung"
@@ -16914,8 +16914,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
"return_code>\" [\"<post_action>\"]]]]]] "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|"
"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || "
@@ -16924,8 +16923,7 @@ msgid ""
msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
"return_code>\" [\"<post_action>\"]]]]]] "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|"
"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || "
@@ -17923,4 +17921,3 @@ msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
+3 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14328,8 +14328,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+6 -6
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"PO-Revision-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-26 12:54+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -15154,11 +15154,11 @@ msgstr ""
"micro-processeur est lent"
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
"nombre de secondes autorisées avant et après l'heure courante pour le salage "
"du mot de passe dans le protocole api"
"nombre de secondes autorisées avant et après l'heure courante pour le "
"hachage de l'heure + mot de passe dans le protocole api"
msgid ""
"file with TLS certificate and private key (for serving clients with TLS) "
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13456,8 +13456,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14356,8 +14356,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -14774,8 +14774,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+3 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14745,8 +14745,8 @@ msgstr ""
"liczba nie powinna być zbyt wysoka jeśli masz słabe CPU"
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
msgid ""
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -14696,8 +14696,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13860,8 +13860,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13507,8 +13507,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+36 -34
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-23 09:16+0400\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1967,8 +1967,7 @@ msgstr ""
msgid ""
" - ${split_shell:random,string}: random item of the split shell arguments"
msgstr ""
" - ${split_shell:random,стринг}: насумична ставка подељених аргумената "
"љуске"
" - ${split_shell:random,стринг}: насумична ставка подељених аргумената љуске"
msgid ""
" - ${split_shell:count,string}: number of items of the split shell arguments"
@@ -1992,8 +1991,7 @@ msgid ""
" - ${base_encode:base,string}: the string encoded to base: 16, 32, 64 or "
"64url"
msgstr ""
" - ${base_encode:база,стринг}: стринг кодиран у базу: 16, 32, 64 или "
"64url"
" - ${base_encode:база,стринг}: стринг кодиран у базу: 16, 32, 64 или 64url"
msgid ""
" - ${base_decode:base,string}: the string decoded from base: 16, 32, 64 or "
@@ -2019,8 +2017,8 @@ msgid ""
" - ${calc:expression}: the result of the expression with parentheses and "
"operators (+, -, *, /, //, %, **)"
msgstr ""
" - ${calc:израз}: резултат израза са заградама и операторима (+, -, *, /, "
"//, %, **)"
" - ${calc:израз}: резултат израза са заградама и операторима (+, -, "
"*, /, //, %, **)"
msgid ""
" - ${random:min,max}: a random integer number between \"min\" and "
@@ -2090,8 +2088,8 @@ msgid ""
" - ${hdata[pointer].var1.var2...}: start with a hdata using a pointer, for "
"example:"
msgstr ""
" - ${hdata[показивач].пром1.пром2...}: почиње са hdata користећи "
"показивач, на пример:"
" - ${hdata[показивач].пром1.пром2...}: почиње са hdata користећи показивач, "
"на пример:"
msgid ""
" - ${buffer[0x1234abcd].full_name}: full name of the buffer with this "
@@ -2112,9 +2110,9 @@ msgid ""
"be called: \"keys()\", \"values()\", \"keys_sorted()\", \"keys_values()\" "
"and \"keys_values_sorted()\""
msgstr ""
" - ${hdata[показивач].пром1.метода()}: када је пром1 хеш табела, могу да "
"се позивају методе: „keys()”, „values()”, „keys_sorted()”, „keys_values()” "
"и „keys_values_sorted()”"
" - ${hdata[показивач].пром1.метода()}: када је пром1 хеш табела, могу да се "
"позивају методе: „keys()”, „values()”, „keys_sorted()”, „keys_values()” и "
"„keys_values_sorted()”"
msgid ""
"For name of hdata and variables, please look at \"Plugin API reference\", "
@@ -4753,11 +4751,11 @@ msgid ""
"i)<Flash.*>\""
msgstr ""
"POSIX проширени регуларни израз који се користи за спречавање било каквог "
"истицања у поруци: ова опција има виши приоритет у односу на све "
"остале опције истицања (ако се стринг пронађе у поруци, истицање се "
"искључује и све остале опције се игноришу), регуларни израз не прави разлику "
"у величини слова (употребите „(?-i)” на почетку да се величина слова не "
"узима у обзир), примери: „<flash.*>”, „(?-i)<Flash.*>”"
"истицања у поруци: ова опција има виши приоритет у односу на све остале "
"опције истицања (ако се стринг пронађе у поруци, истицање се искључује и све "
"остале опције се игноришу), регуларни израз не прави разлику у величини "
"слова (употребите „(?-i)” на почетку да се величина слова не узима у обзир), "
"примери: „<flash.*>”, „(?-i)<Flash.*>”"
msgid ""
"POSIX extended regular expression used to check if a message has highlight "
@@ -10771,13 +10769,13 @@ msgid ""
"text, ${username}: username on server, ${realname}: realname on server"
msgstr ""
"формат за CTCP одговор или празан стринг за блокирајући CTCP (без одговора), "
"садржај се израчунава, погледајте /help eval; замењују се следеће променљиве: "
"${clientinfo}: листа подржаних CTCP, ${version}: WeeChat верзије, ${git}: "
"Git верзија, ${versiongit}: WeeChat верзија и Git верзија, ${compilation}: "
"датум компајлирања, ${osinfo}: информације у вези ОС, ${site}: WeeChat сајт, "
"${download}: WeeChat сајт, страница за преузимање, ${time}: текући датум и "
"време као текст, ${username}: корисничко име на серверу, ${realname}: реално "
"име на серверу"
"садржај се израчунава, погледајте /help eval; замењују се следеће "
"променљиве: ${clientinfo}: листа подржаних CTCP, ${version}: WeeChat "
"верзије, ${git}: Git верзија, ${versiongit}: WeeChat верзија и Git верзија, "
"${compilation}: датум компајлирања, ${osinfo}: информације у вези ОС, "
"${site}: WeeChat сајт, ${download}: WeeChat сајт, страница за преузимање, "
"${time}: текући датум и време као текст, ${username}: корисничко име на "
"серверу, ${realname}: реално име на серверу"
#, c-format
msgid "%s%s: error creating CTCP \"%s\" => \"%s\""
@@ -13381,14 +13379,14 @@ msgid ""
"rotation_compression_type"
msgstr ""
"када се достигне ова величина, врши се ротација лог фајлова: постојећи "
"ротирани лог фајловима се мења име (.1 постаје .2, .2 постаје .3, итд.), "
"а текућем фајлу се поставља екстензија .1; дозвољава се цели број са "
"суфиксом: b = бајтова (подразумевано ако се не наведе јединица), k = "
"килобајта, m = мегабајта, g = гигабајта, t = терабајта; пример: „2g” значи "
"да се ротација врши ако је величина фајла > 2,000,000,000 бајтова; ако се "
"постави на „0”, ротација се не врши (нема ограничења лог фајла); УПОЗОРЕЊЕ: "
"пре него што промените ову опцију, требало би најпре да поставите тип "
"компресије опцијом logger.file.rotation_compression_type"
"ротирани лог фајловима се мења име (.1 постаје .2, .2 постаје .3, итд.), а "
"текућем фајлу се поставља екстензија .1; дозвољава се цели број са суфиксом: "
"b = бајтова (подразумевано ако се не наведе јединица), k = килобајта, m = "
"мегабајта, g = гигабајта, t = терабајта; пример: „2g” значи да се ротација "
"врши ако је величина фајла > 2,000,000,000 бајтова; ако се постави на „0”, "
"ротација се не врши (нема ограничења лог фајла); УПОЗОРЕЊЕ: пре него што "
"промените ову опцију, требало би најпре да поставите тип компресије опцијом "
"logger.file.rotation_compression_type"
msgid ""
"timestamp used in log files (see man strftime for date/time specifiers, "
@@ -14718,9 +14716,13 @@ msgstr ""
"је боље у смислу безбедности, али је спорије за израчунавање; ако је ваш CPU "
"спор, овај број не би требало да буде сувише велики"
#, fuzzy
#| msgid ""
#| "number of seconds to allow before and after the current time for salted "
#| "password in api protocol"
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
"број секунди који је дозвољен пре и након текућег времена за посољену "
"лозинку у api протоколу"
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2024-02-17 10:08+0100\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14958,8 +14958,8 @@ msgstr ""
"eğer CPU'nuz yavaşsa bu sayı çok yüksek olmamalıdır"
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
#, fuzzy
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-02-19 18:30+0100\n"
"POT-Creation-Date: 2024-02-26 12:54+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12310,8 +12310,8 @@ msgid ""
msgstr ""
msgid ""
"number of seconds to allow before and after the current time for salted "
"password in api protocol"
"number of seconds to allow before and after the current time for the hash of "
"time + password in api protocol"
msgstr ""
msgid ""
+1 -1
View File
@@ -1375,7 +1375,7 @@ relay_config_init ()
relay_config_file, relay_config_section_network,
"time_window", "integer",
N_("number of seconds to allow before and after the current time "
"for salted password in api protocol"),
"for the hash of time + password in api protocol"),
NULL, 0, 256, "5", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_network_tls_cert_key = weechat_config_new_option (
+4 -4
View File
@@ -566,7 +566,7 @@ relay_http_add_to_body (struct t_relay_http_request *request,
* -3: missing TOTP
* -4: invalid TOTP
* -5: invalid hash algorithm
* -6: invalid salt
* -6: invalid timestamp (used as salt)
* -7: invalid number of iterations (PBKDF2)
* -8: out of memory
*/
@@ -643,7 +643,7 @@ relay_http_get_auth_status (struct t_relay_client *client)
case -1: /* invalid hash algorithm */
rc = -5;
goto end;
case -2: /* invalid salt */
case -2: /* invalid timestamp */
rc = -6;
goto end;
case -3: /* invalid iterations */
@@ -749,10 +749,10 @@ relay_http_check_auth (struct t_relay_client *client)
NULL,
RELAY_HTTP_ERROR_INVALID_HASH_ALGO);
break;
case -6: /* invalid salt */
case -6: /* invalid timestamp */
relay_http_send_error_json (client, RELAY_HTTP_401_UNAUTHORIZED,
NULL,
RELAY_HTTP_ERROR_INVALID_SALT);
RELAY_HTTP_ERROR_INVALID_TIMESTAMP);
break;
case -7: /* invalid iterations */
relay_http_send_error_json (client, RELAY_HTTP_401_UNAUTHORIZED,
+1 -1
View File
@@ -47,7 +47,7 @@ enum t_relay_client_http_status
#define RELAY_HTTP_ERROR_INVALID_TOTP "Invalid TOTP"
#define RELAY_HTTP_ERROR_INVALID_HASH_ALGO "Invalid hash algorithm " \
"(not found or not supported)"
#define RELAY_HTTP_ERROR_INVALID_SALT "Invalid salt"
#define RELAY_HTTP_ERROR_INVALID_TIMESTAMP "Invalid timestamp"
#define RELAY_HTTP_ERROR_INVALID_ITERATIONS "Invalid number of iterations"
#define RELAY_HTTP_ERROR_OUT_OF_MEMORY "Out of memory"