jdx/mise · error

signed mise release checksum manifest is empty

Error message

signed mise release checksum manifest is empty

What it means

When verifying the local mise binary against official signed releases, mise downloads the release SHA-256 checksums file and its signature, verifies the signature, and parses the manifest. If the verified manifest parses to zero checksum entries, it cannot serve as a trust anchor, so this error is thrown rather than proceeding with an empty verification basis.

Solutions

  1. Re-run the operation to re-download the checksum manifest
  2. Check the mise release assets on GitHub for the pinned version to confirm SHA256SUMS is published and non-empty
  3. Clear or bypass any HTTP proxy/cache that may serve a truncated manifest
  4. Set mise_bin or remote_mise explicitly to skip official-release verification

Example fix

// before
let manifest = ReleaseManifest::verified(&contents, &signature)?;
// operational fix: pin an explicit binary instead of trusting a broken release manifest
config.mise_bin("/usr/local/bin/mise");
Defensive patterns

Strategy: fallback

Validate before calling

curl -fsSL "$RELEASE_URL/SHA256SUMS" | grep -c .   # ensure manifest is non-empty before use

Type guard

fn manifest_non_empty(contents: &str) -> bool { !contents.trim().is_empty() }

Try / catch

match res { Err(e) if e.message.contains("manifest is empty") => { purge_cache(); retry_once(); } other => other? }

Prevention

When it happens

Trigger: Calling the official-release verification path (ensure_official_local / ReleaseManifest::verified) when the downloaded SHA256SUMS file is empty or contains no parseable "<checksum> <filename>" lines despite having a valid signature — e.g. an upstream release published with an empty checksums asset or a mirror serving a zero-byte manifest.

Common situations: Broken or partially published mise GitHub release; corrupted CDN/proxy cache serving an empty manifest; redirect to an HTML error page that happens to pass signature lookup; network middleware stripping the manifest body.

Understand the failure class

Background: Checksum mismatch errors: "checksum verification failed", "digest mismatch", "expected vs actual checksum" — what they mean and how to fix them — this error's family across 41 libraries.

Related errors


AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17). Data as JSON: /api/errors/962dc48d408e1519. Report an issue: GitHub.

Appendix: source

Thrown at src/system/remote.rs:1478

    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        match self {
            Self::Glibc => f.write_str("glibc"),
            Self::Musl => f.write_str("musl"),
        }
    }
}

impl ReleaseManifest {
    fn verified(contents: &str, signature: &str) -> Result<Self> {
        crate::minisign::verify(
            &crate::minisign::MISE_PUB_KEY,
            contents.as_bytes(),
            signature,
        )
        .wrap_err("mise release checksum signature is invalid")?;
        let checksums = crate::hash::parse_shasums(contents);
        if checksums.is_empty() {
            bail!("signed mise release checksum manifest is empty");
        }
        if checksums.values().any(|checksum| {
            checksum.len() != 64 || !checksum.bytes().all(|byte| byte.is_ascii_hexdigit())
        }) {
            bail!("signed mise release checksum manifest contains an invalid SHA-256 checksum");
        }
        Ok(Self { checksums })
    }

    fn checksum(&self, asset: &str) -> Result<&str> {
        self.checksums
            .get(asset)
            .or_else(|| self.checksums.get(&format!("./{asset}")))
            .map(String::as_str)
            .ok_or_else(|| eyre!("signed mise release manifest does not contain {asset}"))
    }
}

View on GitHub (pinned to 533346cc37)