Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
slixmpp-omemo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poezio
  • slixmpp-omemo
  • Issues
  • #11

Closed
Open
Opened 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
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poezio/slixmpp-omemo#11