Skip to content

Provide a devtool for manually verifying other devices#30094

Merged
andybalaam merged 1 commit into
developfrom
andybalaam/manual-verify
Jun 10, 2025
Merged

Provide a devtool for manually verifying other devices#30094
andybalaam merged 1 commit into
developfrom
andybalaam/manual-verify

Conversation

@andybalaam
Copy link
Copy Markdown
Member

@andybalaam andybalaam commented Jun 6, 2025

Fixes element-hq/element-meta#2751

This provides a dialog inside devtools:

image
image
image

(You can open devtools by typing /devtools in the composer in any room.)

This tool cross-signs the device with the supplied device ID, making it verified, so it can send and receive messages to/from other users without red shields appearing on its messages, and especially, so it can send/receive to/from users who have "Exclude Insecure Devices" turned on.

For symmetry, we also provide the required information in case we want to do this in another client:

image

We also provide a slash command:

/verify <device-id> <device-fingerprint>

This does the same thing as the dialog.

Here it is in action:

rec-2025-06-06_13.05.33.mp4

This code is partly reconstructed from #28588 where a similar feature was removed.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manual device verification e.g. for bots like Mjolnir

4 participants