Bug 1221888

Summary: NeoChat - encryption not working
Product: [openSUSE] openSUSE Tumbleweed Reporter: ulfbart <ub22>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description ulfbart 2024-03-23 09:16:16 UTC
I Installed again NeoChat from Tumbleweed repo OSS and still the encryption is not fully working. Dialog is there, also I was able to verify neochat.

But still there will be the message - this message is encrypted and the sender have not shared the key with this device.


# zypper se -r download.opensuse.org-oss --requires neochat
Loading repository data...
Reading installed packages...

S | Name         | Summary                          | Type
--+--------------+----------------------------------+--------
i | neochat-lang | Translations for package neochat | package


# zypper se -s neochat
Loading repository data...
Reading installed packages...

S  | Name         | Type    | Version     | Arch   | Repository
---+--------------+---------+-------------+--------+-----------------------
i+ | neochat      | package | 24.02.0-1.1 | x86_64 | Haupt-Repository (OSS)
i  | neochat-lang | package | 24.02.0-1.1 | noarch | Haupt-Repository (OSS)

# zypper se -s libquotient
Loading repository data...
Reading installed packages...

S | Name                  | Type    | Version     | Arch   | Repository
--+-----------------------+---------+-------------+--------+-----------------------
  | libQuotient-devel     | package | 0.8.1.2-2.1 | x86_64 | Haupt-Repository (OSS)
  | libQuotient-qt6-devel | package | 0.8.1.2-2.1 | x86_64 | Haupt-Repository (OSS)
  | libQuotient0_8        | package | 0.8.1.2-2.1 | x86_64 | Haupt-Repository (OSS)
i | libQuotientQt6-0_8    | package | 0.8.1.2-2.1 | x86_64 | Haupt-Repository (OSS)
Comment 2 Christophe Marin 2024-03-23 09:47:10 UTC
You can also run:

grep "\[WARN \] quotient\.e2ee" .local/share/KDE/neochat/neochat.log.*

and check if it's the same issue as https://bugs.kde.org/481644
Comment 3 ulfbart 2024-03-23 10:56:20 UTC
Yes, looks like this:

> grep "\[WARN \] quotient\.e2ee" ~/.local/share/KDE/neochat/neochat.log.* &>> NeoChat_libQuotient_error.txt

> grep -i bad NeoChat_libQuotient_error.txt 
~/.local/share/KDE/neochat/neochat.log.3:2024-03-23T09:56:36 [WARN ] quotient.e2ee: "Failed to decrypt the message": BAD_MESSAGE_MAC
~/.local/share/KDE/neochat/neochat.log.3:2024-03-23T09:56:36 [WARN ] quotient.e2ee: "Failed to decrypt the message": BAD_MESSAGE_MAC
~/.local/share/KDE/neochat/neochat.log.3:2024-03-23T09:58:03 [WARN ] quotient.e2ee: "Failed to decrypt the message": BAD_MESSAGE_MAC