It may make sense to update embedded libomemo to 0.7.0. This will change IV size to 12 bytes for outgoing messages and fix incompatibility Monal. See attached URL for more details. I've fixed this in my overlay and tested a bit - looks working. Here is patch for current ebuild: --- a/lurch-0.6.8.ebuild 2020-03-28 01:39:44.000000000 +0200 +++ b/lurch-0.6.8.ebuild 2020-12-03 10:28:59.588124642 +0200 @@ -8,7 +8,8 @@ DESCRIPTION="OMEMO encryption for libpurple (XEP-0384)" HOMEPAGE="https://github.com/gkdr/lurch" -SRC_URI="https://github.com/gkdr/lurch/releases/download/v${PV}/lurch-${PV}-src.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/gkdr/lurch/releases/download/v${PV}/lurch-${PV}-src.tar.gz -> ${P}.tar.gz +https://github.com/gkdr/libomemo/archive/v0.7.0.tar.gz -> ${P}-libomemo-0.7.0.tar.gz" LICENSE="GPL-3" SLOT="0" @@ -40,6 +41,13 @@ CMAKE_USE_DIR="${S}"/lib/axc/lib/libsignal-protocol-c BUILD_DIR="${CMAKE_USE_DIR}"/build +src_unpack() { + unpack "${P}.tar.gz" + cd "${S}/lib" || die + einfo "Updating libomemo to 0.7.0" + tar xf "${DISTDIR}/${P}-libomemo-0.7.0.tar.gz" -C libomemo --strip-components 1 || die "Failed to unpack ${P}-libomemo-0.7.0.tar.gz" +} + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF # top-level Makefile expects .a file
Already fixed in 0.6.8-r1