Skip to content

Support passing an async function to do X.509 signing - #5483

Open
andybalaam wants to merge 2 commits into
developfrom
andybalaam/x509-async-signing
Open

Support passing an async function to do X.509 signing#5483
andybalaam wants to merge 2 commits into
developfrom
andybalaam/x509-async-signing

Conversation

@andybalaam

@andybalaam andybalaam commented Aug 14, 2026

Copy link
Copy Markdown
Member

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

@andybalaam
andybalaam force-pushed the andybalaam/x509-async-signing branch 3 times, most recently from fc40246 to 48c150d Compare August 24, 2026 16:15
@andybalaam
andybalaam force-pushed the andybalaam/x509-async-signing branch from 48c150d to 889c2f8 Compare August 25, 2026 11:02
Also requires a validity function.
@andybalaam

Copy link
Copy Markdown
Member Author

This is ready except it's blocked by https://github.com/element-hq/crypto-internal/issues/461

@andybalaam
andybalaam marked this pull request as ready for review August 25, 2026 13:58
@andybalaam
andybalaam requested review from a team as code owners August 25, 2026 13:58
Comment thread src/rust-crypto/index.ts
* Optional async function for signing some data with an X.509 certificate.
* Used to sign the user's identity so compatible clients will recognise
* this user as verified without manual verification taking place. If you
* supply this you must also supply rawX509Validity.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs refer to raw prefixed functions which doesn't match the names? (Also, should they have some kind of link annotation?)

Comment thread CHANGELOG.md
## ✨ Features

* Allow passing a signing function when setting up Rust crypto ([#5483](https://github.com/matrix-org/matrix-js-sdk/pull/5483)). Contributed by @andybalaam.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is auto generated: just make the PR title your changelog entry and it will do the right thing.

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.

2 participants