feat(keygen): export SSH public key alongside signing key
Same Ed25519 key now serves dual purpose: - Release binary signing (developers/<name>.pub raw base64) - SSH access to debug LiveCD (~/.keys/<name>.key.pub OpenSSH format) build-debug.sh auto-collects ~/.keys/*.key.pub into authorized_keys. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,8 +18,13 @@ sh scripts/keygen.sh <your-name>
|
||||
```
|
||||
|
||||
This creates:
|
||||
- `~/.keys/<your-name>.key` — private key, keep secret
|
||||
- `developers/<your-name>.pub` — public key, commit to this repo
|
||||
- `~/.keys/<your-name>.key` — private key PEM, keep secret
|
||||
- `~/.keys/<your-name>.key.pub` — SSH public key (OpenSSH format)
|
||||
- `developers/<your-name>.pub` — raw base64 public key, commit to this repo
|
||||
|
||||
**One key, two uses:**
|
||||
- Release signing: `developers/<your-name>.pub` embedded in binaries via ldflags
|
||||
- SSH access to debug LiveCD: `~/.keys/<your-name>.key.pub` auto-loaded by `build-debug.sh`
|
||||
|
||||
Then commit and push the `.pub` file. Next project release will include your key.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user