Skip to content

Load vault encryption key from CapabilitiesRegistry instead of gateway#490

Draft
timothyF95 wants to merge 1 commit into
mainfrom
feature/DEVSVCS-4951/secrets-vault-key-from-capabilities-registry
Draft

Load vault encryption key from CapabilitiesRegistry instead of gateway#490
timothyF95 wants to merge 1 commit into
mainfrom
feature/DEVSVCS-4951/secrets-vault-key-from-capabilities-registry

Conversation

@timothyF95

Copy link
Copy Markdown
Contributor

Summary

  • Replace gateway publicKey/get with on-chain lookup: EncryptSecrets now reads the vault master TDH2 public key from the tenant CapabilitiesRegistry (vault@1.0.0 config on the resolved vault DON).
  • Remove the temporary vaultValidationGateEnabled bypass and all related test skips so vault validation tests run unconditionally.
  • Update unit and integration tests: mock CapabilitiesRegistry resolver for encrypt tests, deploy a minimal cap reg on Anvil for the secrets happy path, and fix GraphQL test mocks to use the correct anvil-devnet chain selector.

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