Bug 500181

Summary: SASL authentication is done again if capability is added despite having authenticated already
Product: [Applications] konversation Reporter: Claire <misc>
Component: protocolAssignee: Konversation Developers <konversation-devel>
Status: ASSIGNED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.10.24122   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Claire 2025-02-16 13:00:16 UTC
SUMMARY
If the server sends something like "CAP * NEW sasl=PLAIN,ANONYMOUS", Konversation will restart the AUTHENTICATE flow even if it has successfully authenticated previously.

STEPS TO REPRODUCE
1. Install and setup a user in https://soju.im/
2. Connect to soju with SASL PLAIN (account "<soju username>/irc.libera.chat", password as the soju password)
3. /msg BouncerServ network create -addr irc.libera.chat

OBSERVED RESULT
Observe that Konversation handles SASL again when the bouncer successfully connects to Libera

EXPECTED RESULT
Konversation does not do SASL again

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Comment 1 Bug Janitor Service 2025-02-16 13:39:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/konversation/-/merge_requests/114