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

Session verification on WeeChat client side seems not working #334

Open
serious-angel opened this issue Sep 4, 2022 · 4 comments
Open

Comments

@serious-angel
Copy link

Dear Developer and Community,

Thank you very much for the awesome project!

I am sorry, but it appears there is a little documentation available on the subject of a Matrix session verification on the WeeChat side. For example, once the "Verify" button is pressed in the browser (e.g. Element) client, nothing appears in WeeChat and such command variations like /olm verify or /olm verification do result in success but errors like:

matrix: No matching unverified devices found.
matrix: Device ABCDEABCDE of user user_example:matrix.org not found

The client though receives a cancelled event if, for example, the modal verification dialog (e.g. https://i.imgur.com/z47yBci.png ) in the browser client is closed and outputs:

matrix: The interactive device verification with user @user_example:matrix.org got canceled: User declined.

Is that expected and what are the exact steps to complete the verification of the session initiated via the plugin?

Best and kind regards


Related: https://alangrow.com/blog/weechat-matrix (Matrix Chat in the Terminal with weechat-matrix...)

@poljar
Copy link
Owner

poljar commented Sep 9, 2022

Sadly the protocol has diverged from the initial implementation of the interactive verification and I was not able to keep up.

There's some support in the Rust version of weechat-matrix, but it also isn't done yet: poljar/weechat-matrix-rs#56.

@HeIIow2
Copy link

HeIIow2 commented Oct 19, 2022

Hey I wanna use it as well but for the exact same reason I cant. That's unfortunate. I belive that security keys exist though which let you verify a device.

Is there a way to verify with those?

Best regards :)

@3v1n0
Copy link

3v1n0 commented Nov 23, 2022

I was able to do it from the other side, so basically calling /olm verification start @your-user:matrix.org VERIFIED_DEVICE_ID, using a browser as other device worked.

@leinher
Copy link

leinher commented Jun 9, 2023

I also struggled to get the verification process up and running.

@3v1n0 solution worked for me too.
As I could not find a better place to document that I added a short step by step guide to the README.

See #352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants