Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8a21e88
Bump github.com/coreos/go-systemd/v22 from 22.6.0 to 22.7.0 (#759)
dependabot[bot] Feb 4, 2026
7654617
Bump golang.org/x/oauth2 from 0.34.0 to 0.35.0 (#761)
dependabot[bot] Feb 9, 2026
96681cd
Bump the actions group with 5 updates (#760)
dependabot[bot] Feb 9, 2026
f9b15e6
Bump github.com/go-git/go-git/v5 from 5.16.4 to 5.16.5 (#762)
dependabot[bot] Feb 10, 2026
63c5e09
Fix lint errors (#783)
wlynch Apr 4, 2026
771801d
Bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 (#782)
dependabot[bot] Apr 4, 2026
d2006ef
Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1 (#778)
dependabot[bot] Apr 7, 2026
8e3d25a
Bump the actions group across 1 directory with 3 updates (#776)
dependabot[bot] Apr 7, 2026
5a5e33b
Bump github.com/docker/cli (#772)
dependabot[bot] Apr 7, 2026
7118d3a
Bump actions/attest-build-provenance from 3.2.0 to 4.1.0 (#771)
dependabot[bot] Apr 7, 2026
e679f33
Bump github.com/cloudflare/circl from 1.6.2 to 1.6.3 (#768)
dependabot[bot] Apr 7, 2026
143134a
Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 (#765)
dependabot[bot] Apr 7, 2026
0839b90
Update README.md (#781)
coreydaley-cg Apr 7, 2026
666efd5
Bump the gomod group across 1 directory with 10 updates (#784)
dependabot[bot] Apr 8, 2026
df415a8
Support attesting tag signatures (#780)
puerco Apr 14, 2026
9dc706a
Bump github.com/in-toto/attestation from 1.1.2 to 1.2.0 (#790)
dependabot[bot] Apr 14, 2026
64a066c
Bump github.com/coreos/go-oidc/v3 from 3.17.0 to 3.18.0 (#789)
dependabot[bot] Apr 14, 2026
5c3a0b9
Bump golang.org/x/crypto from 0.49.0 to 0.50.0 (#788)
dependabot[bot] Apr 14, 2026
bf59fb0
Bump sigstore/cosign-installer from 3.10.0 to 4.1.1 (#785)
dependabot[bot] Apr 14, 2026
4638d83
Bump docker/login-action from 3.7.0 to 4.1.0 (#787)
dependabot[bot] Apr 14, 2026
a89dfb0
Bump github.com/go-git/go-git/v5 from 5.17.2 to 5.18.0 (#793)
dependabot[bot] Apr 22, 2026
1cc894f
Bump goreleaser/goreleaser-action from 6.4.0 to 7.1.0 (#795)
dependabot[bot] Apr 22, 2026
2851028
Bump the gomod group across 1 directory with 4 updates (#796)
dependabot[bot] Apr 22, 2026
41a7c1f
Bump github.com/sigstore/timestamp-authority/v2 from 2.0.5 to 2.0.6 (…
dependabot[bot] Apr 22, 2026
1474a07
Bump the actions group across 1 directory with 2 updates (#797)
dependabot[bot] May 1, 2026
c9c095d
Bump github.com/secure-systems-lab/go-securesystemslib (#798)
dependabot[bot] May 1, 2026
d7565c4
Return errors instead of panicking on empty cert / panic in Wrap (#799)
wlynch May 1, 2026
bf96ce6
Migrate release signing to cosign v3 bundle format (#800)
wlynch May 1, 2026
3c84d87
Verify against raw git object bytes (#802)
wlynch May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ jobs:
with:
fetch-depth: 0 # this is important, otherwise it won't checkout the full tree (i.e. no previous tags)

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
cache: 'false'

- uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4
- uses: imjasonh/setup-crane@6da1ae018866400525525ce74ff892880c099987 # v0.5

- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
- uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1

- uses: anchore/sbom-action/download-syft@0b82b0b1a22399a1c542d4d656f70cd903571b5c # v0.21.1
- uses: anchore/sbom-action/download-syft@e22c389904149dbc22b58101806040fa8d37a610 # v0.24.0

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> "$GITHUB_ENV"

- name: Login to GitHub Containers
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
- uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7.2.1
with:
version: latest
args: release --clean
Expand All @@ -67,7 +67,7 @@ jobs:
COSIGN_YES: true

- name: Generate build provenance attestation
uses: actions/attest-build-provenance@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # v3.1.0
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
with:
subject-name: ghcr.io/sigstore/gitsign
subject-digest: ${{ steps.digest.outputs.digest }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
cache: 'false'

- uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -43,9 +43,9 @@ jobs:
echo "Disk space after cleanup:"
df -h

- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
- uses: anchore/sbom-action/download-syft@0b82b0b1a22399a1c542d4d656f70cd903571b5c # v0.21.1
- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
- uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
- uses: anchore/sbom-action/download-syft@e22c389904149dbc22b58101806040fa8d37a610 # v0.24.0
- uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7.2.1
with:
version: latest
args: release --clean --snapshot --skip=sign
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
Expand All @@ -72,7 +72,7 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
check-latest: true
Expand Down
6 changes: 2 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,10 @@ signs:
- cmd: cosign
env:
- COSIGN_YES=true
certificate: '${artifact}.pem'
signature: '${artifact}.sig'
signature: '${artifact}.bundle'
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '--bundle=${signature}'
- '${artifact}'
artifacts: binary
output: true
Expand Down
13 changes: 9 additions & 4 deletions cmd/gitsign-credential-cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ also updated to match).

## Running it as a launchctl service on macOS

If you are a macOS user, you can run `gitsign-credential-cache` as a launchctl service by running the following commands in your terminal:
If you are a macOS user, you can run `gitsign-credential-cache` as a launchctl service using the following instructions:

Create the file `/tmp/gitsign-credential-cache.sh` with the following contents:

```sh
cat <<EOF > /tmp/gitsign-credential-cache.sh
#!/bin/bash
set -euo pipefail

Expand Down Expand Up @@ -204,7 +205,11 @@ if ! grep -qF -- "${export_line}" "${shell_config_file}"; then
else
echo "GITSIGN_CREDENTIAL_CACHE already exists in ${shell_config_file}!"
fi
EOF
```

Then run the following commands in your terminal:

```sh
chmod +x /tmp/gitsign-credential-cache.sh
echo "Running the script to create the launchctl service..."
/tmp/gitsign-credential-cache.sh
Expand All @@ -221,4 +226,4 @@ and of course if you would like to tail the logs of your service you can do so b

```sh
tail -f /opt/homebrew/var/log/gitsign-credential-cache.log
```
```
Loading