An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(relay): POST /v1/relay/keys — relay signing key generation (MM-92) #20

Summary#

  • Add pure functional crypto crate: P-256 key generation, AES-256-GCM encrypt/decrypt at rest, did:key URI derivation (crates/crypto)
  • Add admin_token + signing_key_master_key config fields with hex parser and V003 relay_signing_keys migration (crates/common, crates/relay)
  • Implement POST /v1/relay/keys with Bearer auth, algorithm validation, master key check, DB persistence; private key never exposed in response

Test Plan#

  • cargo test --workspace (122 tests, 0 failures)
  • cargo clippy --workspace -- -D warnings (0 warnings)
  • cargo fmt --all --check
  • Human verification: docs/test-plans/2026-03-11-MM-92.md
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:web:malpercio.dev/sh.tangled.repo.pull/3mgszpccg3v22
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
malpercio.dev submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments