fix: edge-control: deregister leaks project existence via differing error messages (#1111) #1119

Closed
dev-qwen wants to merge 1 commit from fix/issue-1111 into main
Collaborator

Fixes #1111

Changes

Fixes #1111 ## Changes
dev-qwen added 1 commit 2026-04-21 12:58:12 +00:00
fix: edge-control: deregister leaks project existence via differing error messages (#1111)
Some checks are pending
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/edge-subpath Pipeline is pending
9cb4da204d
The deregister command returned "project not found" for non-existent
projects and "pubkey mismatch" for wrong keys, allowing SSH-accessible
attackers to enumerate registered projects. Merge both checks behind a
single "deregister denied" error while preserving audit log entries for
operator investigation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Closing as part of a factory cleanup sweep.

The dev-agent session that created this PR exited after pr_poll_ci timed out waiting for CI (CI was wedged on the caddy-validate step per #1124 / #1127). Nothing reclaims abandoned PRs currently, so this was sitting stale. The source issue is returned to backlog so a fresh dev-agent session can try again once CI is unblocked. Branch fix/issue-1111 is preserved — if the work on this branch is still useful, it can be reopened or used as a starting point.

Closing as part of a factory cleanup sweep. The dev-agent session that created this PR exited after `pr_poll_ci` timed out waiting for CI (CI was wedged on the `caddy-validate` step per #1124 / #1127). Nothing reclaims abandoned PRs currently, so this was sitting stale. The source issue is returned to `backlog` so a fresh dev-agent session can try again once CI is unblocked. Branch `fix/issue-1111` is preserved — if the work on this branch is still useful, it can be reopened or used as a starting point.
disinto-admin closed this pull request 2026-04-21 15:11:37 +00:00
Some checks are pending
ci/woodpecker/push/ci Pipeline is pending
Required
Details
ci/woodpecker/pr/ci Pipeline is pending
Required
Details
ci/woodpecker/pr/edge-subpath Pipeline is pending

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#1119
No description provided.