Adopt packslip 1.5 forge-identity API
Author: jdxCreated Sep 27, 2026Updated Sep 27, 2026
Tracking issue for adopting packslip 1.5's forge-identity API in mise. 1.5 is ready but intentionally unreleased: nothing needs it yet, and releasing it would restart action/CLI bump PRs across every repo that publishes packslips.
Pieces
- jdx/packslip#136: the 1.5 API. It fills gaps found while building jdx/mise#13702:
forge::same_workflowfor comparing two stored signersSourceRepositoryconstructors for tests- several pins per check (
PinSource::Local/Lockfile) IdentityError::OwnerChangedwith owner names;Transferredis deprecatedaccepted_owner_idsonForgePinpeek_unverified
- jdx/mise#13702: rename/transfer-safe packslip pins on packslip 1.4.
- #13710: draft, stacked on #13702. It replaces #13702's workarounds with the 1.5 API, gives clearer different-repository and transfer messages, and tells owner renames apart from transfers. It points at the #136 commit through a git dependency.
Fix in jdx/packslip#136 before releasing 1.5.0
These came from building #13710:
forge::same_workflowneeds a project name. It takesForgePins, which carry a project, but a lock entry stores only IDs next to its signer. mise fills in the requested project for both pins, so when owner IDs are missing the owner comparison is a no-op. It's harmless while certificates carry both IDs. The fix is to accept an ID-only pin, or add a variant that takes IDs.- No public helper for the owner-redirect check.
resolved_ownershould only be passed when the forge's answer is under the requested owner.ForgeNameis private, so consumers re-parse owners themselves. Add a helper that takes the forge's full name plus owner ID and returns the owner ID only when the owners match. Evidence::pin_source()can't tell a legacy pin fromResolved. It returnsNonefor bothEvidence::Pin(from.pinned()) andResolved. MapPinto a source, or document the trap.- Nit: the internal
forge_policyparses the statement withserde_json::Valueinstead of reusingpeek_unverified.
When we pick this up
- Fix the items above in jdx/packslip#136, update #13710's git rev, and rerun its tests. Fixes after 1.5.0 must be additive, since semver checks gate releases.
- Merge jdx/packslip#136, then merge and release the
chore: release v1.5.0PR. - Switch #13710 to
packslip = "1.5"from crates.io inCargo.tomlandcrates/mise-util/Cargo.toml, with a lock change to thepackslipentry only. - Merge #13702, then #13710 retargeted to
main. - Bump the
jdx/packslipaction pin in our release workflows. Renovate or Dependabot will likely open these.
Things to check
- Stricter name-only signer continuity. Without repository IDs, 1.5 requires the same certificate identity apart from the ref. 1.4 matched on the workflow path alone, which accepted the same workflow file from another repository. Make sure the packslip e2e tests (
test_packslip*,test_plugins_packslip*) still pass. - Accepting a transfer. mise currently tells users to rename the tool in their config. #13710 stores
repository_accepted_owner_idsinmise.lock, but nothing sets it yet because mise never accepts a transfer. Decide whether to add an explicit flow, such as a flag ormise packslip trust. - Owner renames with no pinned owner ID. These are only distinguishable from transfers when the forge lookup returns the owner's ID (
resolved_owner). A config that still names the old owner can't be told apart.
Related follow-ups
- The packslip backend has no armv7 → armv6 fallback. packslip 1.4.0 records goreleaser's plain
_linux_armarchives as armv6 (they were any-arch before), so armv7 hosts won't select them once vendors re-sign. - Registry switches to packslip for worktrunk, timoni, helmfile, kubeshark and dagu, once each ships a release signed with packslip ≥ 1.4.0:
- max-sixty/worktrunk#4301
- stefanprodan/timoni#659
- helmfile/helmfile#2809
- kubeshark/kubeshark#1971
- dagucloud/dagu#2891
AI-assisted — Tool: Claude Code; model: anthropic/claude-opus-5-5; version: unavailable.
Source: jdx/mise