snikket-android icon indicating copy to clipboard operation
snikket-android copied to clipboard

App won't detect new omemo keys until force closing

Open sonicnkt opened this issue 4 years ago • 0 comments

General information

  • Version: 2.9.0+pcr
  • Device: Multiple Devices tested
  • Android Version: Android 9 + 10 tested
  • Server name: self hosted
  • Server software: snikket-alpha-docker
  • Installed server modules: defaults
  • Snikket-App source: PlayStore

Steps to reproduce

  1. Create a new account using the snikket app ([email protected])
  2. Use the same account ([email protected],) to log in using another third party client (Tested using Dino 0.2)
  3. Send a message using omemo from the third party client to another user ([email protected]) to make sure its key is generated and published to the snikket server
  4. Send a message using omemo from main snikket app (step 1) to [email protected]

Expected result

Snikket (Android) should pick up the new omemo key that was generated using the third party client for encryption and use this for encrypting future messages, so regardless of which client/device laura uses to send a message to paul, it should be displayed (decrypted) on the other client/device as well.

Actual result

Snikket does not recognize the new omemo key from the third party client until you force close the app. I tried waiting for several days and it would only show when i rebooted the phone or force closed the app (tablet).

Every message laura sends from the snikket app before the new key gets picked up wont be decryptable on the other client where she has set up the same account.

Additional Info

All other users on the server pick up the new omemo key right away. Only the snikket app wont recognize it until you fully closed the app. Tested with 2 accounts on two different android devices. I also tried to approve the new key from dino using the QR-Code scanner in the snikket app but it didn't matter tho it was approved automatically when the key finally showed up afterwards (rebooting, force closing snikket)

Debug output

Can't offer debug output atm, if necessary can produce it with another test account.

sonicnkt avatar Jan 17 '21 15:01 sonicnkt