Bug 434636 - Problem with initialization of DKIM "plugin"
Summary: Problem with initialization of DKIM "plugin"
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: config dialog (show other bugs)
Version: 5.16.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-19 20:21 UTC by David C. Bryant
Modified: 2021-03-24 10:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David C. Bryant 2021-03-19 20:21:27 UTC
SUMMARY
Configure KMail --> Plugins --> DKIM Checker works OK until KMail is restarted. Then it breaks.

STEPS TO REPRODUCE
1. Open Configure KMail --> Plugins --> DKIM Checker Configuration dialog (click the button).
2. Make sure "Enable DKIM Support" is *not* checked; close dialog, exit KMail.
3. Restart KMail, then check the "Enable DKIM Support" option.
4. DKIM checking starts working as advertised, generally reporting either "DKIM valid" or "DKIM not signed" (when DKIM header is not present).
5. Exit KMail and restart the program.
6. Now DKIM checking is broken: every formerly valid signature is now reported to be invalid.

OBSERVED RESULT
DKIM Checker only works until KMail is restarted. Then it fails. The only workaround I have found is to change the configuration file ("Not Enabled"), shut KMail down, then restart KMail and change the configuration file again ("Enabled").

EXPECTED RESULT
If the DKIM Checker is turned on, it should still function correctly when KMail is stopped and re-started. Something is not being initialized correctly when KMail starts up. Reconfiguring the DKIM Checker forces proper initialization once and once only.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This may be related, indirectly, to bug #204712. I hadn't even noticed this feature of KMail until recently, when I added new documentation for the "Plugins" configuration page. I discovered the bug when I was experimenting with DKIM Checker so I could write some documentation for this feature.
Comment 1 Laurent Montel 2021-03-21 10:40:21 UTC
I can't confirm this bug.
I fixed a lot of bug in 21.04
So please verify it when this release will be done.
Thanjs
Comment 2 David C. Bryant 2021-03-24 10:34:07 UTC
Maybe this isn't really a bug. There's a drop-down box in the configuration dialog for "DKIM Checker" labeled "Save Record Key". The default value is "Nothing". If I change that to "Save", or "Save and Compare", DKIM checker seems to work correctly. I'll add that little hint to the documentation (which didn't exist until recently), and close this bug report.