Context
Deploy bootstrap must generate device identity on-device and only register public material with cloud.
Scope
Non-Goals
- Does not upload private keys.
- Does not require cloud for local-only dry run.
Technical Specification
Private key is generated and stored locally; public key is sent to cloud registration API only after explicit operator confirmation or noninteractive flag.
Acceptance Criteria
Tests Required
| Test |
Verifies |
TestDeployGeneratesKeypairLocally |
Local key generation. |
TestDeployNeverSendsPrivateKey |
Payload safety. |
TestDeployDryRun |
No network path. |
Additional Test Coverage / Edge Cases
Invariants — Do Not Violate
- Deploy keypairs are generated on-device; private key never leaves device.
Dependencies
Blocked by:
Unblocks:
Contract References
- CLI deploy reference
- Cloud device registration contract
Priority
post-poc
Suggested Labels
ready, post-poc, security-sensitive
Context
Deploy bootstrap must generate device identity on-device and only register public material with cloud.
Scope
ori deploycommand.Non-Goals
Technical Specification
Private key is generated and stored locally; public key is sent to cloud registration API only after explicit operator confirmation or noninteractive flag.
Acceptance Criteria
go test ./...passes.Tests Required
TestDeployGeneratesKeypairLocallyTestDeployNeverSendsPrivateKeyTestDeployDryRunAdditional Test Coverage / Edge Cases
Invariants — Do Not Violate
Dependencies
Blocked by:
Unblocks:
Contract References
Priority
post-pocSuggested Labels
ready,post-poc,security-sensitive