Skip to content

Commit cfc53c7

Browse files
author
Jean-Baptiste Pin
committed
Update to master resolve conflict
2 parents bb96f2b + e4cbb96 commit cfc53c7

45 files changed

Lines changed: 960 additions & 658 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/actionci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Action CI
2+
3+
on:
4+
push:
5+
tags-ignore:
6+
- 'v*'
7+
branches:
8+
- "master"
9+
pull_request:
10+
workflow_call:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
actionci:
18+
permissions:
19+
contents: read
20+
security-events: write
21+
uses: smallstep/workflows/.github/workflows/actionci.yml@main
22+
with:
23+
zizmor-advanced-security: true
24+
secrets: inherit

.github/workflows/actionlint.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,15 @@ concurrency:
1616
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1717
cancel-in-progress: true
1818

19+
permissions:
20+
contents: read
21+
1922
jobs:
2023
ci:
24+
permissions:
25+
actions: read
26+
contents: read
27+
security-events: write
2128
uses: smallstep/workflows/.github/workflows/goCI.yml@main
2229
with:
2330
only-latest-golang: false

.github/workflows/code-scan-cron.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ on:
22
schedule:
33
- cron: '0 0 * * *'
44

5+
permissions:
6+
actions: read
7+
contents: read
8+
security-events: write
9+
510
jobs:
611
code-scan:
712
uses: smallstep/workflows/.github/workflows/code-scan.yml@main

.github/workflows/publish-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
contents: read
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
with:
2828
ref: ${{ inputs.tag }}
2929
fetch-depth: 0

.github/workflows/release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ on:
66
tags:
77
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
ci:
14+
permissions:
15+
contents: read
16+
actions: read
17+
security-events: write
1118
uses: smallstep/certificates/.github/workflows/ci.yml@master
1219
secrets: inherit
1320

1421
create_release:
1522
name: Create Release
23+
permissions:
24+
contents: write
1625
needs: ci
1726
runs-on: ubuntu-latest
1827
env:
@@ -25,9 +34,11 @@ jobs:
2534
steps:
2635
- name: Is Pre-release
2736
id: is_prerelease
37+
env:
38+
REF: ${{ github.ref }}
2839
run: |
2940
set +e
30-
echo ${{ github.ref }} | grep "\-rc.*"
41+
echo "${REF}" | grep "\-rc.*"
3142
OUT=$?
3243
if [ $OUT -eq 0 ]; then IS_PRERELEASE=true; else IS_PRERELEASE=false; fi
3344
echo "IS_PRERELEASE=${IS_PRERELEASE}" >> "${GITHUB_OUTPUT}"
@@ -45,7 +56,7 @@ jobs:
4556
echo "DOCKER_TAGS_HSM=${{ env.DOCKER_TAGS_HSM }},${{ env.DOCKER_IMAGE }}:hsm" >> "${GITHUB_ENV}"
4657
- name: Create Release
4758
id: create_release
48-
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
59+
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
4960
env:
5061
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5162
with:

.github/workflows/triage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- opened
1111
- reopened
1212

13+
permissions:
14+
pull-requests: write
15+
issues: write
16+
1317
jobs:
1418
triage:
1519
uses: smallstep/workflows/.github/workflows/triage.yml@main

.github/zizmor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
"smallstep/*": ref-pin
6+
secrets-inherit:
7+
disable: true
8+
ref-confusion:
9+
disable: true
10+
dangerous-triggers:
11+
ignore:
12+
- triage.yml

.goreleaser.yml

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,12 @@ checksum:
120120

121121
signs:
122122
- cmd: cosign
123-
signature: "${artifact}.sig"
124-
certificate: "${artifact}.pem"
125-
args: ["sign-blob", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}", "--yes"]
123+
signature: "${artifact}.sigstore.json"
124+
args:
125+
- "sign-blob"
126+
- "--bundle=${signature}"
127+
- "${artifact}"
128+
- "--yes"
126129
artifacts: all
127130

128131
publishers:
@@ -197,8 +200,7 @@ release:
197200
198201
```
199202
cosign verify-blob \
200-
--certificate step-ca_darwin_{{ .Version }}_amd64.tar.gz.pem \
201-
--signature step-ca_darwin_{{ .Version }}_amd64.tar.gz.sig \
203+
--bundle step-ca_darwin_{{ .Version }}_amd64.tar.gz.sigstore.json \
202204
--certificate-identity-regexp "https://github\.com/smallstep/workflows/.*" \
203205
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
204206
step-ca_darwin_{{ .Version }}_amd64.tar.gz
@@ -253,6 +255,12 @@ winget:
253255
# Required.
254256
short_description: "A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management."
255257

258+
# Package identifier.
259+
#
260+
# Default: Publisher.ProjectName
261+
# Templates: allowed
262+
package_identifier: Smallstep.step-ca
263+
256264
# License name.
257265
#
258266
# Templates: allowed
@@ -269,6 +277,11 @@ winget:
269277
# Templates: allowed
270278
publisher_support_url: "https://github.com/smallstep/certificates/discussions"
271279

280+
# Privacy URL.
281+
#
282+
# Templates: allowed
283+
privacy_url: "https://smallstep.com/privacy-policy/"
284+
272285
# URL which is determined by the given Token (github, gitlab or gitea).
273286
#
274287
# Default depends on the client.
@@ -291,18 +304,28 @@ winget:
291304
# Your app's long description.
292305
#
293306
# Templates: allowed
294-
description: ""
307+
description: "step-ca is an online certificate authority for secure, automated certificate management. It issues X.509 and SSH certificates using protocols like ACME, OIDC, and SCEP."
295308

296309
# License URL.
297310
#
298311
# Templates: allowed
299312
license_url: "https://github.com/smallstep/certificates/blob/master/LICENSE"
300313

314+
# Release notes.
315+
#
316+
# Templates: allowed
317+
release_notes: "{{.Changelog}}"
318+
301319
# Release notes URL.
302320
#
303321
# Templates: allowed
304322
release_notes_url: "https://github.com/smallstep/certificates/releases/tag/{{ .Tag }}"
305323

324+
# Installation notes.
325+
#
326+
# Templates: allowed
327+
installation_notes: "After installation, run 'step-ca --help' to get started. Documentation: https://smallstep.com/docs/step-ca"
328+
306329
# Create the PR - for testing
307330
skip_upload: auto
308331

CHANGELOG.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2525

2626
---
2727

28-
### [x.y.z] - unreleased
28+
## [0.30.2] - 2026-03-22
29+
30+
- Update golang.org/grpc to patch security advisory
31+
32+
33+
### [0.30.1] - 2026-03-18
34+
35+
- Fix release issue
36+
37+
38+
### [0.30.0] - 2026-03-18
39+
40+
### Added
41+
42+
- Warn when ACME provisioner is configured without a database (smallstep/certificates#2526)
43+
- Validate webhooks configured on the ca.json (smallstep/certificates#2570)
44+
- Add HTTP transport decorator (smallstep/certificates#2533)
2945

3046
### Changed
3147

@@ -36,6 +52,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3652
ensuring consistent command execution. Commands can still be overridden via
3753
Kubernetes or Docker configuration when needed (smallstep/certificates#2493)
3854

55+
### Fixed
56+
57+
- Fix CRL IssuingDistributionPoint marshaling to correctly unset `OnlyContainsUserCerts` and `OnlyContainsCACerts` flags (smallstep/certificates#2511)
58+
- Fix CRL DER download content-disposition filename extension from `.der` to `.crl` (smallstep/certificates#2537)
59+
- Fix SSH agent KMS when CA is configured with Prometheus instrumented signer (smallstep/certificates#2379)
60+
- Return helpful error message when root certificate is not found (smallstep/certificates#1893)
61+
- Fix missing version number when building step-ca from source archive (smallstep/certificates#2513)
62+
- Fix potential panic if a certificate had an empty tcg-kp-AIKCertificate extended key usage (smallstep/certificates#2569)
63+
- Fix CA startup when configured with SCEP and Google Cloud CAS (smallstep/certificates#2517)
64+
- Close idle connections on client certificate renew (smallstep/certificates#2515)
65+
66+
3967
## [0.29.0] - 2025-12-03
4068

4169
### Added
@@ -50,10 +78,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5078

5179
- Use errgroup to shutdown services concurrently (smallstep/certificates#2343)
5280

53-
### Deprecated
54-
55-
### Removed
56-
5781
### Fixed
5882

5983
- Fix process hanging after SIGTERM (smallstep/certificates#2338)
@@ -62,6 +86,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6286

6387
### Security
6488

89+
- Authorization Bypass in ACME and SCEP Provisioners (smallstep/certificates#2491)
90+
- Improper Authorization Check for SSH Certificate Revocation (smallstep/certificates#2491)
91+
6592

6693
## [0.28.4] - 2025-07-13
6794

0 commit comments

Comments
 (0)