Article View: linux.debian.bugs.dist
Article #373Bug#1150542: /OMEMO GEN generates endless messages of "Could not find own OMEMO device ID. Going to publish own device ID:"
From: Alex Schroeder
Date: Sat, 10 Oct 2026 15:40
Date: Sat, 10 Oct 2026 15:40
67 lines
4325 bytes
4325 bytes
Package: profanity
Version: 0.18.2-1+b1
X-Debbugs-CC: stefan@jabber.devlug.de
In order to start using OMEMO I need to generate some information using
/omemo gen. If I do this, some info is printed and after a few seconds,
I get an endless stream of messages, about three or four of them per
second, saying: “Could not find own OMEMO device ID. Going to publish
own device ID: 1579300267”.
I asked around and Stefan told me to look at commit bbd9442db from June
this year:
> fix: query bare JID for PEP features during discovery
>
> XEP-0163 (Personal Eventing Protocol) states that service discovery
> information queries regarding PEP capabilities must be sent to the users
> bare JID in order to determine support.
>
> Profanity only queried the server domain JID and its
> generic `disco#items` on connect, but never queried the
> users own bare JID.
>
> Because ejabberd advertises PEP and PubSub features on both the
> server JID and the bare JID this bug was kind of invisible.
> However, Prosody strictly advertises PEP capabilities only on the users bare JID.
>
> This discovery failure became a hard blocker for OMEMO on Prosody
> servers following commit `01c781fcf` ("Don't publish keys if the server
> doesn't support pubsub."), which turned the check for publish-options
> into an early-return condition.
>
> We now query our own bare JID during feature discovery
> on connect and insert it into `conn.features_by_jid`.
I now have a build with that patch and it seems to work!
This is my first time trying to do this so I'm appending what I did
just in case there's some obvious mistake;
Add a `deb-src` section to `/etc/apt/sources.list.d/debian.sources`:
> Types: deb-src
> URIs: http://deb.debian.org/debian/
> Suites: unstable
> Components: main contrib non-free
> Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
sudo apt install dpkg-dev devscripts
sudo apt update
sudo apt build-dep profanity
mkdir profanity-build
cd profanity-build
sudo apt source profanity
git clone git@github.com:profanity-im/profanity.git
cd profanity
git format-patch bbd9442db^..bbd9442db
cd ../profanity-0.18.2
patch -p1 < ../profanity/0001-fix-query-bare-JID-for-PEP-features-during-discovery.patch
debuild -i -us -uc -b
cd ..
sudo dpkg -i profanity_0.18.2-1_arm64.deb
Testing it: In Profanity, run `/omemo gen` and it seems to work.
Technical Details
Message-ID:
<NMHkZ-4Ijh-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Alex Schroeder" <alex@alexschroeder.ch> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150542: /OMEMO GEN generates endless messages of "Could not find own OMEMO device ID. Going to publish own device ID:" Date: Sat, 10 Oct 2026 17:40:01 +0200 Message-ID: <NMHkZ-4Ijh-7@gated-at.bofh.it> X-Original-To: <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 10 15:35:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: "Alex Schroeder" <alex@alexschroeder.ch>, 1150542@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: stefan@jabber.devlug.de, pkg-xmpp-devel@lists.alioth.debian.org X-Debian-Pr-Message: report 1150542 X-Debian-Pr-Package: profanity X-Debian-Pr-Source: profanity Old-X-Envelope-To: submit@bugs.debian.org Old-X-Envelope-To: submit@bugs.debian.org X-Mizu-Trace-ID: 3ca3381cc00367a4 X-Migadu-Flow: FLOW_OUT MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 X-Mailer: aerc 0.22.0 X-Greylist: delayed 375 seconds by postgrey-1.37 at buxtehude; Sat, 10 Oct 2026 15:33:37 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996082 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 67 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 10 Oct 2026 17:27:13 +0200 X-Original-Message-ID: <DM19IH1Q4V61.277UVPWAE8HU@alexschroeder.ch>