Skip to content

Remove fallback KYC document signing key - #206

Merged
Obiajulu-gif merged 1 commit into
Chainmove:mainfrom
BigDella:agent/issue-173-kyc-signing-key
Aug 18, 2026
Merged

Remove fallback KYC document signing key#206
Obiajulu-gif merged 1 commit into
Chainmove:mainfrom
BigDella:agent/issue-173-kyc-signing-key

Conversation

@BigDella

Copy link
Copy Markdown
Contributor

What changed

  • require a dedicated KYC document URL signing key instead of auth/encryption fallbacks
  • embed explicit key IDs and support a bounded previous-key rotation window
  • fail closed on missing, weak, unknown, or retired keys
  • document the production configuration and rotation format

Why

A public fallback literal made signed KYC document URLs forgeable in misconfigured deployments. Dedicated versioned signing keys separate this authorization boundary from session and encryption secrets.

Validation

  • targeted KYC signing/config tests: 14 passed
  • repository-wide typecheck still reports pre-existing failures outside this diff; no errors were reported in changed files

Closes #173

@Obiajulu-gif
Obiajulu-gif marked this pull request as ready for review August 18, 2026 13:15
@Obiajulu-gif

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! Merging this now as part of a maintainer PR sweep.

@Obiajulu-gif
Obiajulu-gif merged commit 7cb0e48 into Chainmove:main Aug 18, 2026
1 of 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.

[CRITICAL][KYC] Remove the fallback signing key from document access tokens

2 participants