You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b7cddd7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cryptosctl): build for Windows by cutting the TPM import chain (#392)
The CLI reached the Linux-only TPM transport only because internal/config
needed the key algorithm type. That type now lives in internal/keyalg, so
cryptosctl links no go-tpm code on any OS. task ci cross-builds both Windows
targets so the build can't silently break again.
Refs #275
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Co-authored-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ Requires Go 1.26.8+ (the `go` line in `go.mod`; an older local Go downloads that
63
63
task ci # fmt + proto lint + generated-code check + lint + vet + test + build
64
64
task generate # regenerate gen/go from proto/ with the pinned plugins (task tools)
65
65
task build # produces bin/init, bin/cryptosctl and bin/cryptos-install, stamped with the build identity
66
+
task build:windows # cross-builds bin/cryptosctl-windows-amd64.exe and -arm64.exe
66
67
task license # re-inject Apache 2.0 headers via golic
67
68
task e2e:kind # Linux + docker: cert-manager in kind gets a certificate over ACME
68
69
```
@@ -81,7 +82,7 @@ The release assets are unsigned and carry no upgrade anchor. `cryptosctl image s
81
82
82
83
GitHub Actions:
83
84
84
-
-**`ci-go`** ([`ci-go.yml`](.github/workflows/ci-go.yml)) — `task ci` (format, proto lint, generated-code check, lint, vet, test, build) on every pull request + push to `main`, on a GitHub-hosted Linux runner, with `swtpm` installed for the TPM-held RSA CA test. Draft pull requests are skipped; CI runs when the PR is marked ready.
85
+
-**`ci-go`** ([`ci-go.yml`](.github/workflows/ci-go.yml)) — `task ci` (format, proto lint, generated-code check, lint, vet, test, build, Windows cross-build of `cryptosctl`) on every pull request + push to `main`, on a GitHub-hosted Linux runner, with `swtpm` installed for the TPM-held RSA CA test. Draft pull requests are skipped; CI runs when the PR is marked ready.
85
86
86
87
After a stacked pull request is retargeted onto `main`, CI starts on its next push, or when it is toggled to draft and back to ready.
87
88
@@ -123,7 +124,7 @@ Code signatures stay verifiable after the signing certificate expires when they
123
124
Most `config apply` changes report `requires_reboot=true`. Restart the node through its orderly shutdown rather than a hypervisor hard reset:
124
125
125
126
> [!NOTE]
126
-
> `cryptosctl` runs on Linux and macOS today. A Windows build is coming.
127
+
> `cryptosctl` runs on Linux, macOS and Windows (amd64 and arm64).
127
128
128
129
```sh
129
130
cryptosctl --endpoint pki-root.example:443 reboot --confirm "Example Root CA G1"
0 commit comments