Closed Chi-bz closed 6 days ago
got this message when initiating verification from browser:
ERROR: matrix-commander: E110: Verification has been cancelled by @user:matrix.localinstance.com for reason "The user cancelled the verification.".
I tried to use --verify
together with --login
and used the steps according to the --manual
. This got me here:
2024-04-12 11:38:26,500: ERROR: matrix-commander: E108: accept_key_verification failed with error 'ToDeviceError: M_UNKNOWN Internal server error - retry after ToDeviceMessage(type='m.key.verification.accept', recipient='<redacted>', recipient_device='<redacted>', content={'transaction_id': 'jBGTvgYL6RlbH7ejcWTXGZfD2UHEWVoB', 'key_agreement_protocol': 'curve25519-hkdf-sha256', 'hash': 'sha256', 'message_authentication_code': 'hkdf-hmac-sha256', 'short_authentication_string': ['emoji', 'decimal'], 'commitment': '<redacted>'})ms'.
2024-04-12 11:38:26,522: WARNING: nio.responses: Error validating response: Additional properties are not allowed ('errcode', 'error' were unexpected)
2024-04-12 11:38:26,522: ERROR: matrix-commander: E109: to_device failed with error 'ToDeviceError: M_UNKNOWN Internal server error - retry after ToDeviceMessage(type='m.key.verification.key', recipient='<redacted>', recipient_device='<redacted>', content={'transaction_id': 'jBGTvgYL6RlbH7ejcWTXGZfD2UHEWVoB', 'key': '<redacted>'})ms'.
2024-04-12 11:39:26,663: ERROR: matrix-commander: E110: Verification has been cancelled by <redacted> for reason "Timed out".
2024-04-12 11:39:26,757: WARNING: nio.responses: Error validating response: Additional properties are not allowed ('errcode', 'error' were unexpected)
The verification on the browser window keeps spinning endlessly (waiting for an emoji response from matrix-commander). It seems that matrix-commander is not compatible with the latest protocol and chokes on newly added fields errcode
and error
.
hi. same problem. is there a way to verify? looks like emoji is the only one way to verify but it doesn't work
Same issue, tried in element web on firefox and element desktop on win11. I initiate the verification request from the element client in the sessions section of settings, then run matrix-commander -c /home/nagios/.config/matrix-commander/store/credentials.json -s /home/nagios/.config/matrix-commander/ --verify
I get " ERROR: matrix-commander: E110: Verification has been cancelled by @nagiosrelay:matrix.org for reason "The user cancelled the verification."." then it just hangs.
If I wait long enough it times out in element and if I start it from fresh I dont get the cancelled notification but instead it just never does anything. I get the initial message from matrix commander "matrix-commander is ready and waiting for the other party to initiate an emoji verification with us by selecting 'Verify by Emoji' in their Matrix client. Read --verify instructions in --manual carefully to assist you in how to do this quickly."
then just stuff related to rooms.
same problem for me, no reaction after start emoji verify
in one of my trys i become additional warnings:
WARNING: nio.crypto.log: Received a undecryptable Megolm event from a unknown device: @xxxxxxx:matrix.org XXXXXXX WARNING: nio.crypto.log: Error decrypting megolm event, no session found with session id xxxxxxxx for room xxxxxxx:matrix.org
Similar problem:
nio.crypto.log: Received key verification event with an unknown transaction id from @xxxx:matrix.xxxx.de
I used the Element Web Client from a different IP address than the one from matrix-commander and then emoji verification worked as described in matrix-commander --manual
Trying to verify from the same IP address resulted in the problems described above.
I could reproduce this two times in a row.
I used the Element Web Client from a different IP address than the one from matrix-commander and then emoji verification worked as described in
matrix-commander --manual
Trying to verify from the same IP address resulted in the problems described above.
I could reproduce this two times in a row.
Doesn't work for me. Having the same issues as described by others.
Same here
I used the Element Web Client from a different IP address than the one from matrix-commander and then emoji verification worked as described in
matrix-commander --manual
Trying to verify from the same IP address resulted in the problems described above.
I could reproduce this two times in a row.
No help. :(
Hi, I have been trying hard to get a successfull verififcation via emoji verification initiated by the Element Web App, but can not get any reaction on the matrx-commander side. Is there anything special regarding this combination or other clue on how to verify the matrix-commander device? Thanks a lot, Joost
I tried on Manjaro and on up-to-date IPFire (via pip):
~/Software/Python/matric-commander: matrix-commander --verify emoji
matrix-commander is ready and waiting for the other party to initiate an emoji verification with us by selecting 'Verify by Emoji' in their Matrix client. Read --verify instructions in --manual carefully to assist you in how to do this quickly.
I was able to figure it out. There were changes to how emoji verification works many months ago on the matrix side. The events needed to handle this process don't exist in matrix nio. I was able to get it to work using an unknown event callback and filtering for the correct events. Will try to see if there is a way to patch it into matrix-commander this week if I get some time.
But yeah --verify will not work in the meantime with an up to date matrix server.
At last though, I have a verified session...
Hi, this sounds great! I hope to use matrix-commander integrated in a headless server setup, so verification would be really nice to have.
I am closing this issue because I want to concentrate all verify-related issue in one single issue.
Please continue any "verify" or "verification" related issue in Issue #182.
Hi, I've been having issues trying to verify. I installed matrix-command through pip in a Python env and was able to successfully send a test message. However, I've been unable to get it verified trying both the Elements web-app in two different installations of Firefox, as well as their Flatpak app.
Upon clicking the “Interactively verify by emoji” button through the room-info panel, the window for verification disappears and shows no signs of working. I was able to use the exact same method to verify other clients to confirm it wasn't an issue regarding the Elements apps. So I'm assuming there's an issue on the matrix-command side, whether that be user error or otherwise, I'm not quite sure.