Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S slixmpp-omemo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poeziopoezio
  • slixmpp-omemo
  • Issues
  • #11
Closed
Open
Issue created Mar 10, 2020 by meisterlampe@meisterlampe

Receive omemo message from Conversations-Client

Hi.

I'm trying to decrypt a message that I receive from a Conversations-Client. The slixmpp_omemo version is 0.2.0 (the latest from pip).

When I execute body = self['xep_0384'].decrypt_message(encrypted, mfrom, allow_untrusted), like you do in your example, I get the following error:

AttributeError("'XEP_0384' object has no attribute '_device_id'")

When I log the encrypted message, I get this output, which ...well.. really has no '_device_id'-attribute :)

<encrypted xmlns="eu.siacs.conversations.axolotl"><header sid="1658173044"><key prekey="true" rid="1808939084">Mwg7EiEFig75QrUl0s2aqp1ojIOh0kCODiEAII7L1rqI81XUPzwaIQXaWy5scesYFJUuGFsKrHrsrWFxjCk3Wb88t+x1NWz5XCJiMwohBTmvknWkotJCuKO+nr/limBcTyI2SrWGsVEcv37oEIt8EBAYACIwqxgFZeA7RUblU6LFF0Tm1NXUG5yk3XHsg9aOATfi9qKK39nyaZ5+pfV2C7aGAbG+1It3kkJPgwYo9OzWlgYwAQ==</key><iv>X0pTrsJv3C8NkdDyuHBwWw==</iv></header><payload>GL04LA==</payload></encrypted>

I know the error is pretty clear and I can confirm, that '_device_id' is missing, but I'm a bit lost here.

Do you have any idea, what I can do to get around this? Am I listening for the wrong event or something like that?

Edited Mar 10, 2020 by meisterlampe
Assignee
Assign to
Time tracking