Skip to content

Navigation Menu

Sign in
Sign up

feat(desktop): support provider-custodied agent keys - #7444

Draft
jrobotham-square wants to merge 2 commits into
block:main from
jrobotham-square:jrobotham/provider-custody
Draft

feat(desktop): support provider-custodied agent keys #7444
jrobotham-square wants to merge 2 commits into
block:main from
jrobotham-square:jrobotham/provider-custody

Conversation

@jrobotham-square

@jrobotham-square jrobotham-square commented Sep 7, 2026
edited
Loading

Copy link
Copy Markdown

Summary

Remote providers can now opt into owning an agent signing key. A provider advertises register and attest together, returns only the public key, and receives a NIP-OA authorization scoped to that identity.

Desktop records key custody explicitly and skips local keyring and spawn paths for provider-custodied agents. It persists incomplete attestation before the provider call, keeps Start available until acknowledgement, and retries attestation through Start after an error or interrupted response. Providers without both capabilities keep the existing deploy flow.

Registration cleanup and provider-side removal remain follow-up lifecycle work.

Related issue

None found.

Testing

Manually created a provider-custodied agent against a protocol-v1 provider. Confirmed Desktop retained no private key, the provider accepted the owner authorization, and a repeat attestation succeeded.

Generated with Codex

Signed-off-by: Joel Robotham <jrobotham@squareup.com>

github-actions Bot commented Sep 7, 2026
edited
Loading

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is 3c7f288c60d67df78577b237e27c3dfc8831aaa1...e29f4d416ba64462a1a0a68096377ac8943f53af.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review e29f4d416ba64462a1a0a68096377ac8943f53af to authorize a new review.
Any previous review applies only to its recorded range.

Signed-off-by: Joel Robotham <jrobotham@squareup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /