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
- Re-run the operation to re-download the checksum manifest
- Check the mise release assets on GitHub for the pinned version to confirm SHA256SUMS is published and non-empty
- Clear or bypass any HTTP proxy/cache that may serve a truncated manifest
- 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
- Pin and verify release manifest URLs before deployment
- Avoid caching layers that can serve empty bodies silently
- Fall back to mise_bin pinning when release assets look broken upstream
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
- automatic cross-platform provisioning refuses to replace a…
- : API metadata has no formula checksum
- brew-cask: : cask metadata has no sha256
- brew-cask: : cask metadata has no sha256
- Checksum mismatch for file
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)