Tkabber plugins

Check-in [b965b70d39]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not include own JID into the OTR request message.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b965b70d398a46345d5b62badc6d80ec1c553677
User & Date: sgolovan 2016-10-11 04:16:38
Context
2017-03-27
12:13
Use zero padding when formatting an OTR fingerprint for display. check-in: 60440eddc0 user: sgolovan tags: trunk
2016-10-11
04:16
Do not include own JID into the OTR request message. check-in: b965b70d39 user: sgolovan tags: trunk
2016-07-10
18:50
Do not send the message if the OTR code returns an error (this prevents leaking unencrypted material due to bugs in the OTR plugin). check-in: af69e92400 user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7





2016-07-10  Sergei Golovan  <sgolovan@nes.ru>

	* otr/otr.tcl: Do not send the message if the OTR code returns an
	  error (this prevents leaking unencrypted material due to bugs in the
	  OTR plugin).

2016-02-04  Sergei Golovan  <sgolovan@nes.ru>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2016-10-11  Sergei Golovan  <sgolovan@nes.ru>

	* otr/otr.tcl, otr/trans/ru.msg, otr/trans/uk.msg: Do not include own
	  JID into the OTR request message.

2016-07-10  Sergei Golovan  <sgolovan@nes.ru>

	* otr/otr.tcl: Do not send the message if the OTR code returns an
	  error (this prevents leaking unencrypted material due to bugs in the
	  OTR plugin).

2016-02-04  Sergei Golovan  <sgolovan@nes.ru>

Changes to otr/otr.tcl.

583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
    variable ctx

    once_only $xlib $jid

    set lang [get_jid_presence_info lang $xlib $jid]

    ::otr::requestConversation $ctx($xlib,$jid) \
          \n[format [::trans::trans $lang \
                    "%s has requested an Off-the-Record private conversation.\
                    However, you do not have a plugin to support that (or\
                    the plugin is disabled, or you don't have an OTR private\
                    key to use it).\nSee http://otr.cypherpunks.ca/ for more\
                    information."] \
                    [my_jid $xlib $jid]]]
}

proc otr::finish_session {xlib jid type} {
    variable ctx

    once_only $xlib $jid








|
|




<







583
584
585
586
587
588
589
590
591
592
593
594
595

596
597
598
599
600
601
602
    variable ctx

    once_only $xlib $jid

    set lang [get_jid_presence_info lang $xlib $jid]

    ::otr::requestConversation $ctx($xlib,$jid) \
          \n[::trans::trans $lang \
                    "I has requested an Off-the-Record private conversation.\
                    However, you do not have a plugin to support that (or\
                    the plugin is disabled, or you don't have an OTR private\
                    key to use it).\nSee http://otr.cypherpunks.ca/ for more\
                    information."] \

}

proc otr::finish_session {xlib jid type} {
    variable ctx

    once_only $xlib $jid

Changes to otr/trans/ru.msg.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ru.msg --
#
#       Messages to send to Russian peers for the Tkabber OTR plugin.
#
# Author: Sergei Golovan <sgolovan@nes.ru>

::trans::trset ru "%s has requested an Off-the-Record private conversation.\
        However, you do not have a plugin to support that (or the plugin\
        is disabled, or you don't have an OTR private key to use it).\nSee\
        http://otr.cypherpunks.ca/ for more information." "%s хочет начать\
        с вами непрослушиваемый разговор по протоколу OTR. Однако, у вас нет\
        расширения, которое поддерживает этот протокол (или это расширение\
        отключено, или у вас нет закрытого ключа для расширения\
        OTR).\nОписание протокола можно найти по ссылке\
        http://otr.cypherpunks.ca/"
::trans::trset ru "Encrypted message can't be deciphered" "Зашифрованное\
        сообщение не удалось расшифровать"
::trans::trset ru "Unmatched protocol versions" "Несовпадающие версии\
        протокола"

# vim:ft=tcl:ts=8:sw=4:sts=4:et






|


|











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ru.msg --
#
#       Messages to send to Russian peers for the Tkabber OTR plugin.
#
# Author: Sergei Golovan <sgolovan@nes.ru>

::trans::trset ru "I has requested an Off-the-Record private conversation.\
        However, you do not have a plugin to support that (or the plugin\
        is disabled, or you don't have an OTR private key to use it).\nSee\
        http://otr.cypherpunks.ca/ for more information." "Я хочу начать\
        с вами непрослушиваемый разговор по протоколу OTR. Однако, у вас нет\
        расширения, которое поддерживает этот протокол (или это расширение\
        отключено, или у вас нет закрытого ключа для расширения\
        OTR).\nОписание протокола можно найти по ссылке\
        http://otr.cypherpunks.ca/"
::trans::trset ru "Encrypted message can't be deciphered" "Зашифрованное\
        сообщение не удалось расшифровать"
::trans::trset ru "Unmatched protocol versions" "Несовпадающие версии\
        протокола"

# vim:ft=tcl:ts=8:sw=4:sts=4:et

Changes to otr/trans/uk.msg.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# uk.msg --
#
#       Messages to send to Ukrainian peers for the Tkabber OTR plugin.
#
# Author: Sergei Golovan <sgolovan@nes.ru>

::trans::trset uk "%s has requested an Off-the-Record private conversation.\
        However, you do not have a plugin to support that (or the plugin\
        is disabled, or you don't have an OTR private key to use it).\nSee\
        http://otr.cypherpunks.ca/ for more information." "%s хоче почати\
        з вами розмову за протоколом OTR, яку неможливо прослухати. Проте,\
        у вас немає розширення, яке пітримує ций протокол (або це розширення\
        вимкнене, або у вас немає закритого ключа для розширення\
        OTR).\nОпис протоколу можна знайти за посиланням\
        http://otr.cypherpunks.ca/"
::trans::trset uk "Encrypted message can't be deciphered" "Зашифроване\
        повідомлення не вдалося розшифрувати"
::trans::trset uk "Unmatched protocol versions" "Версії протокола не\
        співпадають"

# vim:ft=tcl:ts=8:sw=4:sts=4:et






|


|











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# uk.msg --
#
#       Messages to send to Ukrainian peers for the Tkabber OTR plugin.
#
# Author: Sergei Golovan <sgolovan@nes.ru>

::trans::trset uk "I has requested an Off-the-Record private conversation.\
        However, you do not have a plugin to support that (or the plugin\
        is disabled, or you don't have an OTR private key to use it).\nSee\
        http://otr.cypherpunks.ca/ for more information." "Я хочу почати\
        з вами розмову за протоколом OTR, яку неможливо прослухати. Проте,\
        у вас немає розширення, яке пітримує ций протокол (або це розширення\
        вимкнене, або у вас немає закритого ключа для розширення\
        OTR).\nОпис протоколу можна знайти за посиланням\
        http://otr.cypherpunks.ca/"
::trans::trset uk "Encrypted message can't be deciphered" "Зашифроване\
        повідомлення не вдалося розшифрувати"
::trans::trset uk "Unmatched protocol versions" "Версії протокола не\
        співпадають"

# vim:ft=tcl:ts=8:sw=4:sts=4:et