Skip to content

Add Matrix cross-signing upload endpoints - #20

Merged
TroyHernandez merged 2 commits into
mainfrom
feat/matrix-cross-signing-recovery
Sep 7, 2026
Merged

TroyHernandez merged 2 commits into
mainfrom
feat/matrix-cross-signing-recovery

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

Add the two Matrix upload endpoints needed by cross-signing bootstrap: mx_keys_device_signing_upload() sends public cross-signing key objects with caller-supplied UIA, and mx_keys_signatures_upload() sends signatures over device or cross-signing keys and returns per-signature failures.

These remain thin HTTP bindings. Signing, canonicalization, identity reset policy, and UIA retry orchestration belong to mx.client. Tests verify endpoint paths, unchanged payloads, UIA passthrough, and empty-input rejection.

Validation: final source installed into an isolated library; the full mx.api suite passes 208/208.

Release version is 0.3.0.2. The separate Bump version to 0.3.0.2 commit touches only DESCRIPTION and NEWS.md.

Landing order: merge this and the mx.crypto primitives PR first, then publish mx.api 0.3.0.2 and mx.crypto 0.2.1.1 to the cornball-ai drat repository with Troy's separate authorization. mx.client CI requires those published versions; chat.api follows mx.client on main. Publication and bot deployment are not performed by this PR.

@TroyHernandez
TroyHernandez merged commit 1e54c93 into main Sep 7, 2026
2 checks passed
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.

1 participant