enkore / i3pystatus

A complete replacement for i3status
https://i3pystatus.readthedocs.io/
MIT License
445 stars 189 forks source link

GSSAPI support for IMAP #825

Open tukss opened 2 years ago

tukss commented 2 years ago

This adds GSSAPI support for the IMAP mail plugin. It is useful in situations where the mail server supports passwordless authentication via Kerberos, especially when there is no password in the first place.

In it's current state the password field is still required, but can be set to any, including empty, value, when GSSAPI is active.

The code was adapted from a code snippet by Yves Fischer. https://gist.github.com/yvesf/7cc8300176df8322c913 @yvesf are you OK with this code being published under the MIT license as part of i3pystatus?

yvesf commented 2 years ago

@tukss no problem, I don't mind

tukss commented 1 year ago

I just rebased on current. Please let me know if you want any other changes to get this merged.