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

core: do not display content of passphrase on /secure buffer

This commit is contained in:
Sébastien Helleu
2014-06-28 13:18:16 +02:00
parent baffcc7b76
commit 980a9abcfd
14 changed files with 31 additions and 69 deletions
+1
View File
@@ -15,6 +15,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
== Version 1.0 (under dev)
* core: do not display content of passphrase on /secure buffer
* core: add option "env" in command /set (manage environment variables)
* core: fix potential memory leak with infolists not freed in plugins
(debian #751108)
+1 -4
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:45+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3867,9 +3867,6 @@ msgstr "na"
msgid "off"
msgstr "off"
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+4 -4
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-27 22:39+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -4535,9 +4535,6 @@ msgstr "an"
msgid "off"
msgstr "aus"
msgid "Passphrase"
msgstr "Passphrase"
msgid "Passphrase is set"
msgstr "Passphrase ist festgelegt"
@@ -12080,3 +12077,6 @@ msgstr ""
#, c-format
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
#~ msgid "Passphrase"
#~ msgstr "Passphrase"
+1 -4
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:45+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4077,9 +4077,6 @@ msgstr "activo"
msgid "off"
msgstr "inactivo"
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+4 -4
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-27 22:02+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4434,9 +4434,6 @@ msgstr "activé"
msgid "off"
msgstr "désactivé"
msgid "Passphrase"
msgstr "Phrase de chiffrement"
msgid "Passphrase is set"
msgstr "La phrase de chiffrement est définie"
@@ -11832,6 +11829,9 @@ msgstr ""
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
#~ msgid "Passphrase"
#~ msgstr "Phrase de chiffrement"
#~ msgid "%s unset"
#~ msgstr "%s réinitialisée"
+1 -4
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-04-05 16:12+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3490,9 +3490,6 @@ msgstr "be"
msgid "off"
msgstr "ki"
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+4 -4
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:46+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4199,9 +4199,6 @@ msgstr "attivo"
msgid "off"
msgstr "non attivo"
msgid "Passphrase"
msgstr "Chiave di cifratura"
msgid "Passphrase is set"
msgstr "La chiave di cifratura è impostata"
@@ -11169,6 +11166,9 @@ msgstr ""
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: timeout per \"%s\" con %s"
#~ msgid "Passphrase"
#~ msgstr "Chiave di cifratura"
#~ msgid "set config options"
#~ msgstr "imposta le opzioni di configurazione"
+4 -4
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:46+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@@ -4245,9 +4245,6 @@ msgstr "オン"
msgid "off"
msgstr "オフ"
msgid "Passphrase"
msgstr "パスフレーズ"
msgid "Passphrase is set"
msgstr "パスフレーズが設定されています"
@@ -11377,6 +11374,9 @@ msgstr "%s%s: ソケットにオプション \"nonblock\" を設定できませ
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: \"%s\" のタイムアウト %s"
#~ msgid "Passphrase"
#~ msgstr "パスフレーズ"
#~ msgid "set config options"
#~ msgstr "オプションの設定"
+4 -4
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:46+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4321,9 +4321,6 @@ msgstr "włączone"
msgid "off"
msgstr "wyłączone"
msgid "Passphrase"
msgstr "Hasło"
msgid "Passphrase is set"
msgstr "Hasło zostało ustawione"
@@ -11437,6 +11434,9 @@ msgstr "%s%s: nie można ustawić opcji \"nonblock\" dla gniazda: błąd %d %s"
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: przekroczono czas na \"%s\" z %s"
#~ msgid "Passphrase"
#~ msgstr "Hasło"
#~ msgid "set config options"
#~ msgstr "ustawia opcje konfiguracyjne"
+1 -4
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:46+0200\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3967,9 +3967,6 @@ msgstr "ligado"
msgid "off"
msgstr "desligado"
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+1 -4
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-04-05 16:12+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3519,9 +3519,6 @@ msgstr "вкл."
msgid "off"
msgstr "выкл."
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+1 -4
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2014-06-19 07:48+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3131,9 +3131,6 @@ msgstr ""
msgid "off"
msgstr ""
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+1 -4
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-06-27 21:59+0200\n"
"POT-Creation-Date: 2014-06-28 13:14+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3131,9 +3131,6 @@ msgstr ""
msgid "off"
msgstr ""
msgid "Passphrase"
msgstr ""
msgid "Passphrase is set"
msgstr ""
+3 -21
View File
@@ -1215,27 +1215,9 @@ secure_buffer_display ()
/* display passphrase */
line++;
if (secure_passphrase)
{
if (secure_buffer_display_values)
{
gui_chat_printf_y (secure_buffer, line++,
"%s%s = %s\"%s%s%s\"",
_("Passphrase"),
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
GUI_COLOR(GUI_COLOR_CHAT_VALUE),
secure_passphrase,
GUI_COLOR(GUI_COLOR_CHAT));
}
else
gui_chat_printf_y (secure_buffer, line++, _("Passphrase is set"));
}
else
{
gui_chat_printf_y (secure_buffer, line++,
_("Passphrase is NOT set"));
}
gui_chat_printf_y (secure_buffer, line++,
(secure_passphrase) ?
_("Passphrase is set") : _("Passphrase is NOT set"));
/* display secured data */
count = secure_hashtable_data->items_count;