Remove Proto asymmetric miner auth#515
Conversation
c0b905f to
d31a274
Compare
🔐 Codex Security Review
Review SummaryOverall Risk: HIGH This PR removes asymmetric miner authentication across storage, token generation, plugin pairing, and SDK protobufs. The main risk is upgrade/rollback safety for existing Proto rigs that were paired under the old auth model. Findings[HIGH] Existing Proto Miners Can Lose Auth Material On Upgrade
[HIGH] Proto Unpair No Longer Revokes Legacy Device Auth Keys
[MEDIUM] SDK SecretBundle Removes APIKey Oneof Without Compatibility Window
NotesNo SQL injection, command injection, frontend XSS, pool hijack, or hardcoded wallet/pool redirection was evident in the reviewed diff. I reviewed Generated by Codex Security Review | |
Summary
Verification
bin/just gencd plugin/proto && ../../bin/go test ./internal/device ./internal/driver ./pkg/proto ./tests/unitcd server && ../bin/go test ./internal/domain/plugins ./internal/domain/token ./cmd/fleetnode ./cmd/fleetd ./internal/fleetnode/bootstrap ./internal/domain/auth ./internal/domain/command ./internal/handlers/authz ./internal/handlers/fleetnode/gateway ./internal/handlers/fleetnode/admin ./internal/domain/fleetnode/enrollment ./internal/domain/fleetnode/pairing ./internal/domain/authz ./internal/domain/stores/sqlstores ./internal/domain/ipscanner -run '^$'cd client && npm test -- --run src/protoFleet/features/fleetManagement/components/MinerActionsMenu/useMinerActions.test.tsxcd server/fake-proto-rig && GOWORK=off ../../bin/go test ./...Notes
user=fleetauthentication.use of closed network connection).