#13708·mise

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_workflow for comparing two stored signers
    • SourceRepository constructors for tests
    • several pins per check (PinSource::Local / Lockfile)
    • IdentityError::OwnerChanged with owner names; Transferred is deprecated
    • accepted_owner_ids on ForgePin
    • peek_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:

  1. forge::same_workflow needs a project name. It takes ForgePins, 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.
  2. No public helper for the owner-redirect check. resolved_owner should only be passed when the forge's answer is under the requested owner. ForgeName is 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.
  3. Evidence::pin_source() can't tell a legacy pin from Resolved. It returns None for both Evidence::Pin (from .pinned()) and Resolved. Map Pin to a source, or document the trap.
  4. Nit: the internal forge_policy parses the statement with serde_json::Value instead of reusing peek_unverified.

When we pick this up

  1. 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.
  2. Merge jdx/packslip#136, then merge and release the chore: release v1.5.0 PR.
  3. Switch #13710 to packslip = "1.5" from crates.io in Cargo.toml and crates/mise-util/Cargo.toml, with a lock change to the packslip entry only.
  4. Merge #13702, then #13710 retargeted to main.
  5. Bump the jdx/packslip action 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_ids in mise.lock, but nothing sets it yet because mise never accepts a transfer. Decide whether to add an explicit flow, such as a flag or mise 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_arm archives 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.