Skip to content

[pull] develop from smartcontractkit:develop#442

Merged
pull[bot] merged 2 commits into
bit-cook:developfrom
smartcontractkit:develop
Jun 18, 2026
Merged

[pull] develop from smartcontractkit:develop#442
pull[bot] merged 2 commits into
bit-cook:developfrom
smartcontractkit:develop

Conversation

@pull

@pull pull Bot commented Jun 18, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Tofel and others added 2 commits June 18, 2026 06:23
* Verify Workflow DON authorization at relay DON (PRIV-433)

The relay DON now verifies a secrets request beyond attestation: the enclave
forwards the F+1 Workflow-DON-signed compute requests, whose PublicData names
the authorized owner and workflow. verifyWorkflowAuthorization reconstructs the
shared ComputeRequest hash, verifies the signatures against the onchain Workflow
DON signer set (2*F+1 quorum, matching the enclave), and confirms the owner and
workflow match the request. A compromised TEE passes attestation but cannot
forge a Workflow DON quorum over a different owner.

Bumps chainlink-common to the vendored-SignedComputeRequest types (#2109). Test
fixtures gain EnclaveConfig to satisfy the strict validation pulled in by the
bump (PRIV-458).

* Address Copilot review on relay DON authorization

Fetch LocalNode once in handleSecretsGet and pass WorkflowDON into
verifyWorkflowAuthorization. A registry failure now stays ErrInternal instead of
being misclassified as a client ErrInvalidParams, and the duplicate registry call
is removed. The verifier's errors are all client errors by construction.

Align comments to the 2*F+1 quorum the code enforces (was inconsistently
described as F+1).

* Clarify LocalNode fetch comment in handleSecretsGet

* make gomodtidy: propagate chainlink-common bump to sibling modules

Tidy core/scripts, deployment, integration-tests(/load), and system-tests
(lib/tests) so their chainlink-common and chainlink-protos/cre versions match the
root after the #2109 rebump. Fixes the Clean Go Tidy & Generate CI check.

* fix(confidentialrelay): resolve golangci-lint findings

The develop merge brought a stricter lint config that flagged existing code:
- reuse the outer err instead of shadowing it in the workflow-auth check (govet shadow)
- drop the embedded ComputeRequest field from the Hash() selector (staticcheck QF1008)
@pull pull Bot locked and limited conversation to collaborators Jun 18, 2026
@pull pull Bot added the ⤵️ pull label Jun 18, 2026
@pull pull Bot merged commit 28b4993 into bit-cook:develop Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants