Deploy reviewed Windows sync alignment with schema 20 server
Rust development slice / linux (push) Failing after 7s
Rust development slice / linux (push) Failing after 7s
Bind the administrative connection-205 review to original signed history and preserve closed readiness. Include the qualified server dependency closure, UI review, native ARM64 build provenance, and guarded deployment evidence. Migration, API/gateway replacement and TLS checks passed with unchanged job authority, protected mounts and time/database services; native Windows receipt application remains separate.
This commit is contained in:
@@ -492,7 +492,7 @@ impl UpdateInflightProof {
|
||||
|| !self.delegation.validate()
|
||||
|| !digest(&self.head_sha256)
|
||||
|| self.events.is_empty()
|
||||
|| self.events.len() > 16
|
||||
|| self.events.len() > rmm_updater_handoff::MAX_V2_EVENTS
|
||||
|| self.handoff_record.len() > 21846
|
||||
{
|
||||
return Err("UPDATE_INFLIGHT_LIMIT");
|
||||
@@ -509,8 +509,30 @@ impl UpdateInflightProof {
|
||||
}
|
||||
Ok(raw)
|
||||
}
|
||||
let handoff_record = bounded(&self.handoff_record)?;
|
||||
if self.events.len() > rmm_updater_handoff::MAX_EVENTS {
|
||||
let handoff: rmm_updater_handoff::Handoff = serde_json::from_slice(&handoff_record)
|
||||
.map_err(|_| "UPDATE_INFLIGHT_WINDOWS_CLOCK_RECORD")?;
|
||||
let limit = if handoff.schema_version == 2 {
|
||||
rmm_updater_handoff::MAX_V2_EVENTS
|
||||
} else if handoff.pin_transition
|
||||
== rmm_updater_handoff::PinTransition::WindowsCodePairClockV1
|
||||
{
|
||||
rmm_updater_handoff::MAX_WINDOWS_CLOCK_EVENTS
|
||||
} else {
|
||||
rmm_updater_handoff::MAX_EVENTS
|
||||
};
|
||||
if self.events.len() > limit
|
||||
|| handoff
|
||||
.bytes()
|
||||
.map_err(|_| "UPDATE_INFLIGHT_WINDOWS_CLOCK_RECORD")?
|
||||
!= handoff_record
|
||||
{
|
||||
return Err("UPDATE_INFLIGHT_PROFILE_LIMIT");
|
||||
}
|
||||
}
|
||||
Ok(DecodedInflightProof {
|
||||
handoff_record: bounded(&self.handoff_record)?,
|
||||
handoff_record,
|
||||
events: self
|
||||
.events
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user