Skip to content

Store actor key pairs and register the key pairs dispatcher #87

Description

@2chanhaeng
  • Add a local_actor_keys table keyed by (actor_id, type) holding RSASSA-PKCS1-v1_5 and Ed25519 pairs as JWK, with a migration.
  • Generate both pairs in generateActors in the same transaction.
  • Register setKeyPairsDispatcher() so actors expose publicKey/assertionMethod and outbound requests can be signed.
  • Cover the dispatcher in federation.test.ts.

Tracks the key pairs FIXME after mapHandle() in packages/graphql/src/federation.ts.

AI disclosure

The user asked Claude Code (claude-fable-5-1) to survey every FIXME comment in the codebase and draft an issue for each. The user read and edited the drafts, then directed Claude Code to file them through the GitHub CLI.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    Priority

    High

    Effort

    Medium

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions