Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tchap web session will not exchange keys with iphone #202

Closed
estellecomment opened this issue Sep 23, 2022 · 6 comments
Closed

Tchap web session will not exchange keys with iphone #202

estellecomment opened this issue Sep 23, 2022 · 6 comments
Labels
bug Something isn't working key exchange P2 Priority 2 web

Comments

@estellecomment
Copy link
Contributor

estellecomment commented Sep 23, 2022

  • user has an iphone 2.0.5 session (no other sessions)
  • user starts Tartine session
  • Tartine requests keys from iphone 2.0.5.
    → KO. emoji exchange starts, then error on mobile : "la vérification a été annulée : motif unexpected message"

Edit : this does not happen every time. Sometimes it does work.

It was already a problem in web v2 (reproduced)

@estellecomment estellecomment added the bug Something isn't working label Sep 23, 2022
@github-actions github-actions bot added the web label Sep 23, 2022
@mcalinghee
Copy link
Contributor

the verification request seems to be sent to v4 but the iphone 2.0.5 does not seems to receive or to handle the request (cf. logs from v4 that seems to send the event)

Requesting keys for !PpyQAloFaIemKVNBFb:agent.dinum.tchap.gouv.fr / FWJyaBi3ZMtO/bGF4X7iYyaqfCm0mIbWvR1UZtIm7VI from [@maghen.key1-tchap.beta.gouv.fr:agent.dinum.tchap.gouv.fr:*,@maghen.calinghee-beta.gouv.fr:agent.dinum.tchap.gouv.fr:ATYFVDAOHJ](id m1663939866188.7)
rageshake.js:66 Looking for queued outgoing room key requests
rageshake.js:66 No more outgoing room key requests
rageshake.js:66 m.room_key_request from @maghen.key1-tchap.beta.gouv.fr:agent.dinum.tchap.gouv.fr:GYDWYOPABB for !PpyQAloFaIemKVNBFb:agent.dinum.tchap.gouv.fr / FWJyaBi3ZMtO/bGF4X7iYyaqfCm0mIbWvR1UZtIm7VI (id m1663939866188.7)
rageshake.js:66 room key request for unknown session !PpyQAloFaIemKVNBFb:agent.dinum.tchap.gouv.fr / FWJyaBi3ZMtO/bGF4X7iYyaqfCm0mIbWvR1UZtIm7VI

@mcalinghee mcalinghee changed the title New tartine session will not exchange keys with iphone New tartine session will not exchange keys with iphone 2.0.5 Sep 23, 2022
@odelcroi
Copy link
Member

odelcroi commented Sep 26, 2022

the verification request seems to be sent to v4 but the iphone 2.0.5 does not seems to receive or to handle the request (cf. logs from v4 that seems to send the event

Is is not related to the issue #203 instead ?

@odelcroi
Copy link
Member

A workaround seems to be :

  • start the verification from the iOs device : WORKS
  • start the verification from the web device : does not work

@mcalinghee mcalinghee added the P2 Priority 2 label Dec 20, 2022
@odelcroi
Copy link
Member

There are still problems :

❌  Web 4.2.1 < iOs 2.2.3 (olivier)

connect to iOs, ecrire quelque chose dans un salon chiffré
connect to Web
⚠️  Le web se plaint que l’appareil n’est pas vérifié, cela semble bloquant
Faire les verifications entre les deux appareils, en la lançant la verification depuis iOs. La verification fonctionne mais le web se plaint toujours de ne pas être vérifié.
Meme en essayant de clear les cache. Les verifications échouent.
⚠️  Il semble que le web n’arrive pas à se vérifier avec l’appareil iOs

@odelcroi odelcroi changed the title New tartine session will not exchange keys with iphone 2.0.5 Tchap web session will not exchange keys with iphone Mar 31, 2023
@NicolasBuquet
Copy link

is it related now to cross-signing keys not trusted by the verifying device?
See https://app.crisp.chat/website/6dacc68e-de3a-4511-8177-1339616098de/helpdesk/articles/fr/371f9f37-92f1-4bcf-8730-1e0899049f27/

@odelcroi
Copy link
Member

odelcroi commented Aug 1, 2023

outdated issue

@odelcroi odelcroi closed this as completed Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working key exchange P2 Priority 2 web
Projects
None yet
Development

No branches or pull requests

4 participants