Skip to content

[WIP] FOSS infrastructure for X.509 signing and verification - #7183

Draft
kaylendog wants to merge 5 commits into
developfrom
kaylendog/x509
Draft

[WIP] FOSS infrastructure for X.509 signing and verification#7183
kaylendog wants to merge 5 commits into
developfrom
kaylendog/x509

Conversation

@kaylendog

@kaylendog kaylendog commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Content

This PR implements the Android-native side of the X.509 signing and verification work, introducing a signer and verifier implementation, as well as a startup hook to look for keychains on-device.

Depends on matrix-org/matrix-rust-sdk#6727 and a release of the Kotlin components, as well as the companion enterprise PR.

Motivation and context

X.509 verification allows devices to be loaded with homeserver-origin certificates, and key chains signed by said certificate, allowing the device to be automatically verified.

This PR is based on the work by @andybalaam and @richvdh on the andyrich/x509 branch and should be nearly identical, bar a few nits and a tidier commit history.

Screenshots / GIFs

WIP

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s): Android 36.1

Checklist

  • I am aware of the etiquette.
  • This PR was made with the help of AI:
    • Yes. In this case, please request a review by Copilot.
    • No.
  • Changes have been tested on an Android device or Android emulator with API 24
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly defines what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • You've made a self review of your PR

@kaylendog
kaylendog requested a review from a team as a code owner July 10, 2026 10:44
@kaylendog
kaylendog requested review from bmarty and removed request for a team July 10, 2026 10:44
@kaylendog
kaylendog marked this pull request as draft July 10, 2026 10:44
@kaylendog
kaylendog removed the request for review from bmarty July 10, 2026 10:45
@ElementBot

Copy link
Copy Markdown
Collaborator
Fails
🚫

Please add a PR- label to categorise the changelog entry.

Generated by 🚫 dangerJS against 942e62c

@sonarqubecloud

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

2 participants