Summary: | Kmail unnecessarily prompts for passwords | ||
---|---|---|---|
Product: | [Applications] kdepim | Reporter: | Karsten Künne <kuenne> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | abyss.andrey, markus.hetzenecker, mgresko8, mia+kde |
Priority: | NOR | ||
Version: | GIT (master) | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdepim-runtime/163968040f4b9201e47b98e00cf686b2c6f2f97f | Version Fixed In: | 19.12.0 |
Sentry Crash Report: | |||
Attachments: | Patch to fix the issue (applies to 19.08.2) |
Description
Karsten Künne
2017-08-08 14:33:34 UTC
I can confirm this problem in general. Kmail asks for a password at startup or once I click some folder (not synchronized before) for IMAP account with GSSAPI auth. Asking for password every 5-10 minutes was fixed in https://bugs.kde.org/show_bug.cgi?id=311456 KDE neon 5.10 KDE Plasma 5.10.5 KDE Frameworks 5.38.0 KDE Applications 17.08.1 Qt 5.9.1 I think some more places in code should not check password emptiness for GSSAPI account, for example I can not change subscription right clicking on account in folders tree. Probably because of this piece of code https://cgit.kde.org/kdepim-runtime.git/tree/resources/imap/imapresourcebase.cpp#n262 I confirm this bug, please fix again kmail with GSSAPI. installed packages: kf5-plasma-5.40.0-1.fc27.x86_64 kmail-17.08.1-1.fc27.x86_64 The bug still present in kdepim-runtime 17.12.0-0neon+16.04+xenial+build38 It asks password once on startup. It got better in kmail-17.12.3 (Leap 15.0) but it still occasionally prompts for password despite GSSAPI authentication. I think I got the prompt on startup and sometimes if I click "Check Mail" or so. It is still valid in 18.08.1 kdepim-runtime/xenial,now 4:18.08.1-0xneon+16.04+xenial+build64 amd64 It is still present in 18.12 kdepim-runtime/bionic,now 4:18.12.0-0xneon+18.04+bionic+build17 This actually happens in kdepim-runtime/resources/imap/sessionpool.cpp. There’s some code to ensure that no password is requested for GSSAPI, but it’s not used in all cases. Created attachment 123677 [details]
Patch to fix the issue (applies to 19.08.2)
*** Bug 414013 has been marked as a duplicate of this bug. *** Git commit 163968040f4b9201e47b98e00cf686b2c6f2f97f by Christophe Giboudeaux, on behalf of Martin Herkt. Committed on 26/11/2019 at 08:33. Pushed by cgiboudeaux into branch 'release/19.12'. IMAP resource: do not prompt for password with GSSAPI auth Summary: GSSAPI (e.g. when used with Kerberos) does not use passwords, so make sure the user is not prompted unnecessarily. FIXED-IN: 19.12.0 Reviewers: dvratil Reviewed By: dvratil Subscribers: dvratil, kde-pim Tags: #kde_pim Differential Revision: https://phabricator.kde.org/D25499 M +12 -7 resources/imap/sessionpool.cpp M +1 -0 resources/imap/sessionpool.h https://commits.kde.org/kdepim-runtime/163968040f4b9201e47b98e00cf686b2c6f2f97f |