gkdr / lurch

XEP-0384: OMEMO Encryption for libpurple.
GNU General Public License v3.0
289 stars 32 forks source link

Indicate in conversation that OMEMO-encryption is started somewhere besides window title #66

Open cherti opened 7 years ago

cherti commented 7 years ago

It might be useful to indicate in conversation that OMEMO-encryption has been started, like the Pidgin-OTR-plugin does. It would be very nice to have an indicator for this besides the titlebar, as some window managers don't use any titlebars on windows and therefore the user would have to manually inspect the window-title to check the OMEMO-status.

Having a (possibly optional) indicator besides the window title would prove to be very useful for such use cases.

gkdr commented 7 years ago

The thing is that unlike in OTR, the session is only started once. Do you have any suggestions for non-GUI indications? I initially considered modifying the sender's name inside the chat window (which could also be then used to display the warning, instead of the current way, which is the warning message inside the chat window). I think Gajim displays a message every time the chat window is opened, which could also be an alternative.

cherti commented 7 years ago

I was also thinking about something when opening the window, like "active OMEMO-session found, using that", or "(OMEMO active)" after the contact's name in the chat window. Does something like that sounds reasonable?

gkdr commented 7 years ago

Sure, sounds good. I could also let the user choose to turn those on and off, and could use that as a chance to look into working with the libpurple API for plugin options, I guess.

cherti commented 7 years ago

That would be quite awesome indeed.

DJCrashdummy commented 6 years ago

IMHO whether lurch gets a GUI or not, (additional) indicator-messages in the message area would be the best solution: so it is completely samey which window-manager you use and it is also a kind of documented in the history when the E2EE was active or not.

but i would use a more self explaining message for newbies (than "OMEMO active")... like at least "encryption (OMEMO) active" or "end-to-end-encryption (OMEMO) active", which may be too complicated for some of them again... :confused: