Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886493 - net-libs/libolm for E2EE feature of net-libs/libquotient (New package)
Summary: net-libs/libolm for E2EE feature of net-libs/libquotient (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-17 20:29 UTC by Ryan Tsien
Modified: 2023-06-08 13:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch to add new pkg, net-libs/libolm and enable E2EE of libquotient (libolm-and-e2ee-libquotient.diff,3.84 KB, patch)
2022-12-31 11:28 UTC, Ryan Tsien
Details | Diff
The patch to add new pkg, net-libs/libolm and enable E2EE of libquotient (libolm-and-e2ee-libquotient.diff,3.67 KB, patch)
2022-12-31 11:38 UTC, Ryan Tsien
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tsien 2022-12-17 20:29:15 UTC
End to end encryption is the basic feature of matrix clients, while net-im/neochat hasn't due to the disabled 'Quotient_ENABLE_E2EE' option of net-libs/libquotient.

The libqtolm and libolm libraries is the dependencies for above option:

- https://gitlab.matrix.org/matrix-org/olm
- https://gitlab.com/b0-matrix/libqtolm

I request a plan to add these two packages to enable the option for E2EE support.

Reproducible: Always
Comment 1 potediji.arupifom 2022-12-20 08:24:43 UTC
Pretty much all Matrix clients which support E2EE would benefit from net-libs/libqtolm and net-libs/libolm. I personally would love to see them in the official repo.
Comment 2 Ryan Tsien 2022-12-31 11:28:29 UTC
Created attachment 846148 [details, diff]
The patch to add new pkg, net-libs/libolm and enable E2EE of libquotient

net-libs/libquotient-0.7.0 remove the libqtolm dependency, https://github.com/quotient-im/libQuotient/commit/d72f220e3e3a3b243fdafd93d1405f8207dc516a

So, only one new package, 'net-libs/libolm', is necessary. 

I have tested and neochat works normally with e2ee feature.

I want to make a pull request to github.com/gentoo/gentoo with the patch within the attachment. But I also found ::guru overlay has the same package which name is 'dev-libs/libolm'. And, I can only test it with amd64 only (arm64 can compile and run tests but no gui).

Need a proper way to add this package.
Comment 3 Ryan Tsien 2022-12-31 11:38:04 UTC
Created attachment 846150 [details, diff]
The patch to add new pkg, net-libs/libolm and enable E2EE of libquotient
Comment 4 Anna Vyalkova 2023-03-25 14:00:27 UTC
(In reply to Ryan Qian from comment #3)
> The patch to add new pkg, net-libs/libolm and enable E2EE of libquotient

It doesn't belong in "net-libs" because it's not a network library. It implements
some cryptography, so either "app-crypt" or "dev-libs".
Comment 5 Andreas Sturmlechner gentoo-dev 2023-06-08 13:33:07 UTC
Added in commit fd265d7706543075c008f851440fff06aa02376d.