Verify signed starter packages for first enrollment in empty customer catalogs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user