Mercurial > libervia-backend
comparison sat/plugins/plugin_sec_otr.py @ 2657:9190874a8ac5
plugin otr: use namespace specified in XEP-0378
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Aug 2018 18:24:55 +0200 |
parents | 7213caa5c5d0 |
children | c26492bd2144 |
comparison
equal
deleted
inserted
replaced
2656:8cacf7929f3c | 2657:9190874a8ac5 |
---|---|
47 C.PI_MAIN: u"OTR", | 47 C.PI_MAIN: u"OTR", |
48 C.PI_HANDLER: u"no", | 48 C.PI_HANDLER: u"no", |
49 C.PI_DESCRIPTION: _(u"""Implementation of OTR"""), | 49 C.PI_DESCRIPTION: _(u"""Implementation of OTR"""), |
50 } | 50 } |
51 | 51 |
52 NS_OTR = "otr_plugin" | 52 NS_OTR = "urn:xmpp:otr:0" |
53 PRIVATE_KEY = "PRIVATE KEY" | 53 PRIVATE_KEY = "PRIVATE KEY" |
54 OTR_MENU = D_(u"OTR") | 54 OTR_MENU = D_(u"OTR") |
55 AUTH_TXT = D_( | 55 AUTH_TXT = D_( |
56 u"To authenticate your correspondent, you need to give your below fingerprint " | 56 u"To authenticate your correspondent, you need to give your below fingerprint " |
57 u"*BY AN EXTERNAL CANAL* (i.e. not in this chat), and check that the one he gives " | 57 u"*BY AN EXTERNAL CANAL* (i.e. not in this chat), and check that the one he gives " |