Repository navigation
chore(deps): update jdx/packslip to v1.11.2 - #96
Closed
sweepies-ops[bot] wants to merge 1 commit into
Closed
sweepies-ops[bot] wants to merge 1 commit into
sweepies-ops[bot] wants to merge 1 commit into
Conversation
Patchula: v1 Patchula-Branch: 0aa5404185b662c8f07377fad0d867be32444b1390ad5313de7bbb9ee36c3723 Patchula-Base: 13b4164 Patchula-Plan: d18ee76bf39b964c38e2379988b822e2f5644b1d727d35c4d76ed64cbd7168cf
43 tasks
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Rust | Oct 30, 2026 10:53p.m. | Review ↗ | |
| JavaScript | Oct 30, 2026 10:53p.m. | Review ↗ | |
| Shell | Oct 30, 2026 10:53p.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
24 tasks
Contributor
Author
|
Batched by the Count into #115. Tick this update's box there to bring it back. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
jdx/packslip
Source · Compare changes
Release notes: v1.10.1 → v1.11.2 (3 releases)
1.11.2
packslip installnow asks for approval when a key-signed project switches to a different public key that keeps the old key ID. This release also puts limits on how much work a hostile bundle can force the verifiers to do, and fixes two argument-handling gaps in the GitHub Actions. The format and specification are unchanged.Fixed
packslip installtreats a replacement public key with the same key ID as a trust change. A minisign key ID is eight bytes of text in the public key file. It is not derived from the key itself. Before this release, the continuity check compared only that ID, so a different key with the old ID was accepted through--pubkeyorpins.dwithout approval, and install then remembered the new key. Each key-signed record now also stores a fingerprint of the whole public key. A changed key is reported aspublic key changed from <old> to <new>and needs--accept-trust-change=<id>like any other trust change. That means one approval for the release list and one for the release, as the trust guide already described. Records for keyless projects are unchanged. (jdx/packslip#305, @jdx)verifier/packslip-verify.mjs) rejects inclusion proofs whoselogIndexortreeSizeis not a non-negative int64. Before, a very long digit string took time that grew quadratically with its length. It also rejects checkpoints with more than 16 signatures.Statement.Validatenow finds artifacts with the same selectors in linear time. Before, the check was quadratic in the number of artifacts.jdx/packslipaction now passes--before the artifact list. An artifact whose file name is exactly a packslip option, such as--no-pin-workflow, was previously read as that option. It is now treated as an artifact, andpackslip createrefuses it because it has no format.=.--release URL=PATHsplits at the first=, so a tag like that moved part of the URL into the path.Full Changelog: jdx/packslip@v1.11.1...v1.11.2
1.11.1
The Go module (
github.com/jdx/packslip/go) gets three helpers for Go release tools that publish packslips. Until now those tools had to reimplement packslip rules in their own code. The statement format staysrelease/v1, and nothing changes for existing callers.Added
GoTargetholds one build's Go settings:GOARCH,GOARM,GOAMD64,GO386,GOARM64,GOMIPS,GOPPC64,GORISCV64, andFloatABI.Arch()returns the packslip architecture andVariant()returns the variant, using whichever setting applies toGOARCH. Forarm,FloatABItakes Go'ssoftfloatorhardfloat, or a Rust or Zig target ABI such asgnueabiorgnueabihf, and overrides any float option inGOARM. (jdx/packslip#297, @jdx)BundleName(project, repo)returns the bundle asset name the spec assigns when several tools share one repository's release. For example,github.com/owner/repo/mytoolbecomespackslip.mytool.sigstore.json, and any/in a deeper subpath becomes-. The repository itself, or a project outside it, getspackslip.sigstore.json. The repository is matched without regard to case. (jdx/packslip#297, @jdx)CheckProjectSigner(project, token)checks, before anything is signed or written to the transparency log, that an OIDC token can sign for the project. Call it afterAmbientIDToken. Agithub.comproject must belong to the token'srepositoryclaim, and agitlab.comproject must equal itsproject_pathclaim. A reusable workflow from another repository passes. A domain project always passes, because its vendor pins the signer. (jdx/packslip#297, @jdx)Limitations:
github.comorgitlab.comproject fails if the token comes from a different issuer.SignKeylessdoes not callCheckProjectSigner, so existing signing code behaves as before.The Publish from Go guide and the module README now cover all three helpers.
Full Changelog: jdx/packslip@v1.11.0...v1.11.1
1.11.0
packslip 1.11.0 makes every verifier in the repository (the CLI, the npm package, and the committable verifier) require a github.com or gitlab.com project to be signed from its own repository. It also makes
packslip installfall back to older releases, warn about withdrawn installs, and stop raising some unnecessary trust-change prompts. The format stays atrelease/v1: the specification changes clarify existing rules, write down how the reference implementations already behave, and settle one conflict between icon rules. No change requires a new format version.Security
packslip verifyderives a signer policy from a GitHub or GitLab project's name. Before this release,--issuer,--identity, or--identity-prefixreplaced that policy. As a result, passing only GitHub Actions' OIDC issuer to--issueraccepted a bundle claiminggithub.com/owner/toolthat any GitHub repository had signed. Now the certificate must also tie the signer to the project's repository. A reusable workflow from another repository still passes when the project's own run called it. Projects on other hosts are unaffected: for them, the flags are still the whole policy.verify --allow-other-repositoryaccepts a document signed outside the project's repository on purpose, such as a repackager's. You must also pass--issuerand name the signer with--identity,--identity-prefix, or--source-repository. The option is refused with--pubkey.jdx/packslip/releasesaction gains anallow-other-repositoryinput (defaultfalse). It passes the flag automatically whenprojectnames a repository other than the one running the action, as with a registry's list.verifier/packslip-verify.mjs) applies the same repository rule to a github.com or gitlab.com--project(jdx/packslip#258, @jdx). It also checks the statement's ownidentityblock against the certificate. New failure codes areproject-signeranddeclared-identity, and it has the same--allow-other-repositoryopt-out (allowOtherRepositoryin the module). Projects that copied the file must copy the new version to get these checks.packslipnpm package now validates statements and declared signers (jdx/packslip#259, @jdx).verifyReleasevalidates the statement against therelease/v1rules, which previously let through 14 of 15 conformance reject cases. It checks thatpredicate.identitynames the actual signer and binds a github.com or gitlab.comprojectto its repository. It throws the newStatementError,DeclaredIdentityError, andProjectSignerError, and adds the optionalallowOtherRepository.packslip installnow holds a keyless domain project to the repository that first signed it (jdx/packslip#278, @jdx). Previously, a project named after its host, such aspackslip.dev, was matched only by the signer's workflow URL. That let a repository recreated under the old name, or another repository calling the workflow as a reusable workflow, continue as the signer without a prompt. Install now remembers the certificate's repository ID and treats a different or missing ID as a changed signer that needs--accept-trust-change.Added
packslip installfalls back to older releases when the latest release has no packslip for this tool or no artifact for this host or--variant(jdx/packslip#263, @jdx). This covers cases such as a monorepo sibling's release whose tag also names this tool's version. Each skipped release produces a warning, for examplewarning: skipped 3.0.0, GitHub's latest release: its release carries no packslip for github.com/owner/tool. Requests for a version, prefix, or range skip only releases without the tool's packslip. An exact tag tries only that release. Install never falls back after a verification or trust failure, and it stops after 32 fetched bundles and asks for--version. Library users get newdiscoveryAPIs:Github::candidates,candidates_with_latest,Candidates,Skipped, andno_packslip.The Count left some release notes out to keep this description short; read them all.