Skip to content

Extend Keystore Interface with Decrypt function#1467

Merged
cedric-cordenier merged 22 commits intomainfrom
PRIV-126-workflow-key
Aug 21, 2025
Merged

Extend Keystore Interface with Decrypt function#1467
cedric-cordenier merged 22 commits intomainfrom
PRIV-126-workflow-key

Conversation

@vreff
Copy link
Contributor

@vreff vreff commented Aug 12, 2025

This PR:

  • Extends the Keystore interface with a new Decrypt function.
  • Adds a new NewSignerDecrypter to allow for both a signing and decryption key.
  • Extracts the keystore into its own proto file.
  • Adds a comment recommending implementations of the Keystore interface to embed the UnimplementedKeystore struct. Related: pkg/types/core: add UnimplementedKeystore #1475
  • Adds an Update mocks CI step to the Solana Build Relay workflow, such that interface changes are consumed by dependent chainlink-solana mocks during testing. Related: Remove intermediate SimpleKeystore interface chainlink-solana#1321

Ultimately related to a Keystore change to enable Workflow key use by Capabilities. JIRA.

@github-actions
Copy link

👋 vreff, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

}

var P2PAccountKey = "P2P_SIGNER"
var StandardCapabilityAccount = "STANDARD_CAPABILITY_ACCOUNT"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to this.

@github-actions
Copy link

apidiff results - backwards-incompatible changes detected ❌

Module: github-com-smartcontractkit-chainlink-common

Status: ❌ 1 incompatible, 5 compatible

Incompatible Changes (1)

Element Change
./pkg/types/core.Keystore.Decrypt added

(Full summary: https://github.com/smartcontractkit/chainlink-common/actions/runs/17129200560/#summary-48588572156)

@cedric-cordenier cedric-cordenier enabled auto-merge (squash) August 21, 2025 14:04
@cedric-cordenier cedric-cordenier merged commit 40de7f5 into main Aug 21, 2025
18 of 19 checks passed
@cedric-cordenier cedric-cordenier deleted the PRIV-126-workflow-key branch August 21, 2025 14:06
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.

4 participants