diff --git a/proxmox-subscription/src/files.rs b/proxmox-subscription/src/files.rs index 34951609..7767a3c6 100644 --- a/proxmox-subscription/src/files.rs +++ b/proxmox-subscription/src/files.rs @@ -91,10 +91,12 @@ pub fn read_subscription>( Some(raw) => { let mut info = parse_subscription_file(&raw)?; if let Some(info) = info.as_mut() { - // these will set `status` to INVALID if checks fail! info.check_signature(signature_keys); - info.check_server_id(); - info.check_age(false); + if info.status == SubscriptionStatus::Active { + // these will set `status` to INVALID if checks fail! + info.check_server_id(); + info.check_age(false); + } }; Ok(info)