<div dir="ltr"><div>Hello all</div><div><br></div><div>I had included omemo in shmoose [1] by using libomemo with axc and integrated lurch [2] by implementing an adapter to use without libpurple. So far so good, it is working as expected.<br></div><div><br></div><div>The only thing wich does not work is deploying the devicelist via pep. I had to ask for devicelist manually to use omemo encryption. <br></div><div><br></div><div>According to omemo xep [3] 5.2: "Devices MUST subscribe to <code>urn:xmpp:omemo:1:devices</code> via PEP". But pep state [4] 1.2: "because they are subscribed to your presence, they automatically receive your events". I would expect, as long as the users are subscribed to the others presence, they will automatically receive the devicelist nodes and updates? That does not work for me. <br></div><div><br></div><div>This is the pep node shmoose client sends during add of devicelist entry:</div><div><br></div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)"> <</span><span style="font-weight:600;color:rgb(170,170,0)">iq</span><span style="color:rgb(170,0,0)"> </span><span style="font-weight:600;color:rgb(0,170,0)">xmlns</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(170,0,0)">jabber:client</span><span style="color:rgb(170,0,0)">" </span><span style="font-weight:600;color:rgb(0,170,0)">id</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(0,170,170)">d0093daf-8c93-4c3c-8382-68d0d1454295</span><span style="color:rgb(170,0,0)">" </span><span style="font-weight:600;color:rgb(0,170,0)">type</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(0,170,170)">set</span><span style="color:rgb(170,0,0)">"></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">  <</span><span style="font-weight:600;color:rgb(170,170,0)">pubsub</span><span style="color:rgb(170,0,0)"> </span><span style="font-weight:600;color:rgb(0,170,0)">xmlns</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(170,0,0)"><a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a></span><span style="color:rgb(170,0,0)">"></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">   <</span><span style="font-weight:600;color:rgb(170,170,0)">publish</span><span style="color:rgb(170,0,0)"> </span><span style="font-weight:600;color:rgb(0,170,0)">node</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(0,170,170)">eu.siacs.conversations.axolotl.devicelist</span><span style="color:rgb(170,0,0)">"></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">    <</span><span style="font-weight:600;color:rgb(170,170,0)">item</span><span style="color:rgb(170,0,0)">></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">     <</span><span style="font-weight:600;color:rgb(170,170,0)">list</span><span style="color:rgb(170,0,0)"> </span><span style="font-weight:600;color:rgb(0,170,0)">xmlns</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(170,0,0)">eu.siacs.conversations.axolotl</span><span style="color:rgb(170,0,0)">"></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">      <</span><span style="font-weight:600;color:rgb(170,170,0)">device</span><span style="color:rgb(170,0,0)"> </span><span style="font-weight:600;color:rgb(0,170,0)">id</span><span style="color:rgb(170,0,0)">="</span><span style="font-weight:600;color:rgb(0,170,170)">339564329</span><span style="color:rgb(170,0,0)">"></</span><span style="font-weight:600;color:rgb(170,170,0)">device</span><span style="color:rgb(170,0,0)">></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">     </</span><span style="font-weight:600;color:rgb(170,170,0)">list</span><span style="color:rgb(170,0,0)">></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">    </</span><span style="font-weight:600;color:rgb(170,170,0)">item</span><span style="color:rgb(170,0,0)">></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">   </</span><span style="font-weight:600;color:rgb(170,170,0)">publish</span><span style="color:rgb(170,0,0)">></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)">  </</span><span style="font-weight:600;color:rgb(170,170,0)">pubsub</span><span style="color:rgb(170,0,0)">></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(170,0,0)"> </</span><span style="font-weight:600;color:rgb(170,170,0)">iq</span><span style="color:rgb(170,0,0)">></span></p></div><div><br></div><div>As far as I understood it, this should trigger an automated message stanza update to all presence-subscribed users. But it doesn't.</div><div></div><br><div>Any hints on this issue are appreciated.<br></div><div><br></div><div>Best regards</div><div>geobra</div><div><br></div><div>[1] <a href="https://github.com/geobra/harbour-shmoose">https://github.com/geobra/harbour-shmoose</a></div><div>[2] <a href="https://github.com/gkdr/lurch/">https://github.com/gkdr/lurch/</a></div><div>[3] <a href="https://xmpp.org/extensions/xep-0384.html">https://xmpp.org/extensions/xep-0384.html</a></div><div>[4] <a href="https://xmpp.org/extensions/xep-0163.html">https://xmpp.org/extensions/xep-0163.html</a></div><div><br></div><div>P.S. <br><div>I am aware that this is not the latest omemo version. But this is what the lurch plugin currently implements.</div><div><br></div></div></div>