@@ -35,11 +35,10 @@ auths init
3535From the repo you want to sign artifacts in :
3636
3737` ` ` bash
38- just ci-setup
39- # or: bash scripts/ci-setup.sh
38+ auths ci setup
4039` ` `
4140
42- This creates a limited-capability CI device key and sets the required GitHub secrets automatically.
41+ This creates a limited-capability CI device key and sets a single `AUTHS_CI_TOKEN` GitHub secret automatically.
4342
4443# ## 4. Add the action to your release workflow
4544
8887| `note` | No | | Note to include in the attestation |
8988| `auths-version` | No | latest | Pin a specific Auths CLI version |
9089
91- *Either `token` or the individual credential inputs (`passphrase`, `keychain`, `identity-repo`) are required.
92-
93- # ## Individual credential inputs (fallback)
94-
95- If you're not using `AUTHS_CI_TOKEN`, provide these instead :
96-
97- | Input | Description |
98- |-------|-------------|
99- | `passphrase` | Device key passphrase (`AUTHS_CI_PASSPHRASE` secret) |
100- | `keychain` | Base64-encoded encrypted keychain (`AUTHS_CI_KEYCHAIN` secret) |
101- | `identity-repo` | Base64-encoded tar.gz of identity repo (`AUTHS_CI_IDENTITY_BUNDLE` secret) |
102- | `verify-bundle` | Identity bundle JSON for verification (`AUTHS_CI_IDENTITY_BUNDLE_JSON` secret) |
103-
104- ` ` ` yaml
105- - uses: auths-dev/sign@v1
106- with:
107- passphrase: ${{ secrets.AUTHS_CI_PASSPHRASE }}
108- keychain: ${{ secrets.AUTHS_CI_KEYCHAIN }}
109- identity-repo: ${{ secrets.AUTHS_CI_IDENTITY_BUNDLE }}
110- verify-bundle: ${{ secrets.AUTHS_CI_IDENTITY_BUNDLE_JSON }}
111- files: 'dist/index.js'
112- verify: true
113- ` ` `
90+ *`token` is the `AUTHS_CI_TOKEN` secret generated by `auths ci setup`.
11491
11592# # Outputs
11693
@@ -159,12 +136,12 @@ Consumers can verify your artifacts independently:
159136auths artifact verify dist/index.js --identity-bundle bundle.json
160137` ` `
161138
162- Or using the [auths-dev/auths- verify-github-action ](https://github.com/auths-dev/auths- verify-github-action) :
139+ Or using the [auths-dev/verify](https://github.com/auths-dev/verify) action :
163140
164141` ` ` yaml
165- - uses: auths-dev/auths- verify-github-action @v1
142+ - uses: auths-dev/verify@v1
166143 with:
167- identity-bundle-json : ${{ secrets.AUTHS_CI_IDENTITY_BUNDLE_JSON }}
144+ identity: ${{ secrets.AUTHS_CI_TOKEN }}
168145 artifact-paths: 'dist/index.js'
169146` ` `
170147
@@ -184,7 +161,7 @@ If the CI device key is compromised:
184161auths device revoke --device-did <DEVICE_DID> --key <KEY_ALIAS>
185162` ` `
186163
187- The device DID and key alias are printed by `just ci- setup` during initial setup. After revocation, existing attestations remain valid (they were legitimate when signed), but the device can no longer produce new ones.
164+ The device DID and key alias are printed by `auths ci setup` during initial setup. After revocation, existing attestations remain valid (they were legitimate when signed), but the device can no longer produce new ones.
188165
189166# # License
190167
0 commit comments