Quickstart
Build and sign an Evidence Pack, then see epack verify catch a changed file and the wrong signer. Takes about 5 minutes.
Prerequisites
- macOS or Linux (Windows supports pack operations only)
- Homebrew, or Go 1.27 or later
zipandunzipfor step 6 (macOS includes both)- A browser on this machine and a Google, GitHub, or Microsoft account for steps 7 to 9
Install epack
brew install locktivity/tap/epack
Or with Go:
go install -tags components github.com/locktivity/epack/cmd/epack@v0.13.0
Check that your shell can find it:
epack version
epack version 0.10.3 (full)
A go install build prints dev instead of a version number. If you see command not found, add Go's bin directory to your PATH and try again:
export PATH="$(go env GOPATH)/bin:$PATH"
On Windows, download epack-core-windows-amd64.exe (or -arm64) from the releases page. The core build covers pack operations but not epack new, collectors, or tools, so start at step 5.
Create a project
epack new my-project cd my-project
my-project/ ├── epack.yaml Configuration (edit to add collectors) ├── sample.epack Example pack to explore ├── packs/ Output directory └── README.md Quick reference
The project includes a sample.epack you can explore immediately, plus a managed .gitignore that keeps runtime .epack/ state out of git while reserving .epack/hooks/ for committed customization.
Look inside the sample pack
epack inspect sample.epack
Evidence Pack: sample.epack ──────────────────────────────────── Stream: demo/sample/quickstart Pack Digest: sha256:7395a655ba21dfd8ebea8ed7cae1f9ec8bbcb9329890dd93edc0f9ab36b13d54 Generated At: 2026-02-24T03:16:46Z Spec Version: 1.0 Sources sample-generator v1.0.0 Artifacts (3) artifacts/compliance.json 623 B application/json artifacts/dependencies.json 394 B application/json artifacts/system-info.json 179 B application/json Attestations (0) none
The pack's manifest records each artifact's size and SHA-256 digest. The pack digest is computed from that list.
Check that nothing has changed
epack verify sample.epack
✓ Verification passed: sample.epack Stream: demo/sample/quickstart Pack Digest: sha256:7395a655ba21... Artifacts: 3 verified Attestations: none
Verify recomputes every artifact's digest and compares it with the manifest.
Build your own pack
Create an evidence file and build a pack from it:
echo '{"mfa_enabled": true}' > security.json
epack build my-evidence.epack security.json --stream myorg/security
✓ Pack created Created my-evidence.epack Stream: myorg/security Use 'epack inspect my-evidence.epack' to view contents
--stream names the series this pack belongs to, called a stream. Use the same stream each time you build evidence about the same thing, so later packs can be stored and compared with this one.
Change a file and verify again
An .epack file is a ZIP archive. Unpack a copy of your pack, replace security.json with a file of the same size, and pack it again:
mkdir tamper && cd tamper
unzip -q ../my-evidence.epack
echo '{"mfa_enabled":false}' > artifacts/security.json
zip -qr ../tampered.epack .
cd ..
epack verify tampered.epack
✗ Verification failed: tampered.epack
Artifact errors:
✗ "artifacts/security.json": artifact "artifacts/security.json" digest mismatch: manifest declares sha256:45f5b5c80a35c09e2d9807d24cd31f4fdb216d4901837a3e2e2147ce379c4ef6, computed sha256:3bbc8690b57b3ee3ee5e4f231274e0ea5271c36d1e457c4a1d717f62f6eaefdc
Hint: The pack may have been modified after creation.
Rebuild the pack with the current artifacts.
Error: verification failed
The manifest still holds the digest of the original security.json. The new file is the same size but has a different digest, so verification fails.
Sign the pack
epack sign my-evidence.epack
Press Enter, then sign in with Google, GitHub, or Microsoft in the browser window that opens.
Sign my-evidence.epack? This will open your browser for authentication. Press Enter to continue or Ctrl+C to cancel... ✓ Authenticated ✓ Pack signed Signed my-evidence.epack Use 'epack verify my-evidence.epack' to verify the signature
This is keyless signing. Sigstore issues a short-lived certificate for the account you sign in with, so there is no signing key to keep.
If no browser opens, you are probably connected over SSH or working in a container. Sign-in needs a browser on the same machine. See Browser did not open for signing.
Check who signed it
Pass the provider and email address you signed in with:
epack verify my-evidence.epack \ --issuer "https://accounts.google.com" \ --subject "you@example.com"
For a GitHub sign-in, the issuer is https://github.com/login/oauth. For Microsoft, it is https://login.microsoftonline.com.
✓ Verification passed: my-evidence.epack
Stream: myorg/security
Pack Digest: sha256:7c2218e7af64...
Artifacts: 1 verified
Attestations: 1 verified
Signers:
✓ you@example.com
Issuer: https://accounts.google.com
Signed: 2026-10-24T17:25:03Z
Log entry: 1234567890
The log entry is the public record from step 7. You can look it up by number at search.sigstore.dev.
Ask for a different signer
Run the same check with someone else's address:
epack verify my-evidence.epack \ --issuer "https://accounts.google.com" \ --subject "someone-else@example.com"
✗ Verification failed: my-evidence.epack Attestation errors: ✗ "attestations/….sigstore.json": verification failed: verification failed: failed to verify certificate identity: no matching CertificateIdentity found, last error: expected SAN value "someone-else@example.com", got "you@example.com" Error: verification failed
The signature is valid, but it was made by a different account than the one you named. Reviewers pass --issuer and --subject for this reason, and epack verify fails on a signed pack without them.
You did it!
You've built, signed, and verified your first Evidence Pack, and seen both kinds of failure.
What you learned
epack newcreates a project with a sample packepack inspectshows a pack's contents and digestepack verifyfails if any artifact has changed since the pack was builtepack signadds a Sigstore signature and records your identity in a public log--issuerand--subjectmake verification pass only for the signer you name
Try it on your own
Write a verify command for my-evidence.epack that accepts any signer at your email domain. Use --subject-regexp in place of --subject.
Show solution
epack verify my-evidence.epack \ --issuer "https://accounts.google.com" \ --subject-regexp '^[^@]+@example\.com$'
Keep the ^ and $. The pattern can match anywhere in the address, so without them @example\.com also matches you@example.com.attacker.net.
Clean up
cd .. && rm -rf my-project
This deletes everything the tutorial created on your machine. The transparency log entry from step 7 stays in the public log.