Verify signed starter packages for first enrollment in empty customer catalogs

This commit is contained in:
2026-11-17 22:07:14 +01:00
parent 312da6f39e
commit 2358ba1b66
3 changed files with 128 additions and 37 deletions
+10
View File
@@ -176,6 +176,16 @@ pub fn verify_envelope(
{
return Err(fail("AGENT_UPDATE_DEVELOPMENT_CHANNEL_REQUIRED"));
}
verify_signed_envelope(envelope, platform, binding)
}
// The public management process can copy an operator-selected release into an empty
// catalog. Network-supplied publications additionally go through the profile check above.
fn verify_signed_envelope(
envelope: &ReleaseEnvelope,
platform: Platform,
binding: Option<&rmm_domain::agent_update::UpdaterBinding>,
) -> Result<ReleaseManifest, Error> {
let raw = keyring_bytes(platform)?;
verify_envelope_with_keyring(
envelope,