Bind actual Windows pair and attest fixed profile controller transfer
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-15 16:28:12 +01:00
parent 0c970dc6c0
commit 1c1685bb40
3 changed files with 37 additions and 13 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ def fixture():
agent_sid = 'S-1-5-80-1-2-3-4-5';helper_sid = 'S-1-5-80-1-2-3-4-6' agent_sid = 'S-1-5-80-1-2-3-4-5';helper_sid = 'S-1-5-80-1-2-3-4-6'
result = {'id':'55555555-5555-4555-8555-555555555555','verified':True,'completed':True, result = {'id':'55555555-5555-4555-8555-555555555555','verified':True,'completed':True,
'no_jobs':True,'windows_jobs_enabled':False,'helper_effects_enabled':False, 'no_jobs':True,'windows_jobs_enabled':False,'helper_effects_enabled':False,
'clock_adapter_qualified':False,'private_key_read':False} 'clock_authority_not_proven':True,'private_key_read':False}
native = dict(agent_id=binding['agent_id'],asset_id=binding['asset_id'], native = dict(agent_id=binding['agent_id'],asset_id=binding['asset_id'],
binary_sha256=t.IMAGES['agent'],helper_sha256=t.IMAGES['system_helper'], binary_sha256=t.IMAGES['agent'],helper_sha256=t.IMAGES['system_helper'],
policy_sha256='a'*64,pin_sha256='b'*64,files={}) policy_sha256='a'*64,pin_sha256='b'*64,files={})
+18 -6
View File
@@ -24,9 +24,10 @@ CLOCK = ROOT.parent / 'rust-discovery-signed-clock'
MAIN = ROOT.parent / 'rust-discovery' MAIN = ROOT.parent / 'rust-discovery'
STATE = ROOT / 'devstate/windows-time-profile-config' STATE = ROOT / 'devstate/windows-time-profile-config'
PUBLIC = CLOCK / 'devstate/windows-time-profile-public-preparation/c3077acf-12da-410e-9f55-e75a1cd0a75f' PUBLIC = CLOCK / 'devstate/windows-time-profile-public-preparation/c3077acf-12da-410e-9f55-e75a1cd0a75f'
PAIR_ID = None # Root binds the actual new single passive pair case after qualification. PAIR_ID = '4887940a-4c9c-4807-aaf2-6fbc94faad46'
PAIR_RESULT_SHA = None PAIR_RESULT_SHA = '2898a72b4b0d84159cc11d80765cbfa4206faf7038d0e860429c8b1a57538ee2'
PAIR_INTENT_SHA = None PAIR_INTENT_SHA = '40e9cd557225504429b51dcecd4322b32d7f0973bcbb8e2a2e52516917907b85'
PAIR_READBACK_SHA = '63e453fb915cadee028407a6aeaa8c7d209ae88ed12a6d4d4307d4fd25e4c539'
PAIR_ROOT = CLOCK / 'devstate/windows-signed-clock/passive-pair-upgrade' PAIR_ROOT = CLOCK / 'devstate/windows-signed-clock/passive-pair-upgrade'
SOURCE_CASE = CLOCK / 'devstate/windows-signed-clock/trusted-os-qualification-c4679433-b632-4d6e-8668-f0f2fb54a542' SOURCE_CASE = CLOCK / 'devstate/windows-signed-clock/trusted-os-qualification-c4679433-b632-4d6e-8668-f0f2fb54a542'
LINK_CASE = MAIN / 'devstate/windows-client/operator-window-20261115/observed-agent-build' LINK_CASE = MAIN / 'devstate/windows-client/operator-window-20261115/observed-agent-build'
@@ -180,7 +181,7 @@ def raw_inputs():
def validate_pair(result, intent): def validate_pair(result, intent):
require(result.get('id') == PAIR_ID and result.get('verified') is True and result.get('completed') is True require(result.get('id') == PAIR_ID and result.get('verified') is True and result.get('completed') is True
and result.get('no_jobs') is True and result.get('windows_jobs_enabled') is False and result.get('no_jobs') is True and result.get('windows_jobs_enabled') is False
and result.get('helper_effects_enabled') is False and result.get('clock_adapter_qualified') is False and result.get('helper_effects_enabled') is False and result.get('clock_authority_not_proven') is True
and result.get('private_key_read') is False, 'actual completed passive pair required; no missing or dummy result') and result.get('private_key_read') is False, 'actual completed passive pair required; no missing or dummy result')
payload = intent.get('payload',intent) payload = intent.get('payload',intent)
require(payload['new_agent'] == IMAGES['agent'] and payload['new_helper'] == IMAGES['system_helper'] require(payload['new_agent'] == IMAGES['agent'] and payload['new_helper'] == IMAGES['system_helper']
@@ -219,7 +220,8 @@ def produce(public, pair_result, pair_intent, raw, result_sha, intent_sha):
'original_public_preparation_sha256':PUBLIC_SHAS['input-provenance.json'], 'original_public_preparation_sha256':PUBLIC_SHAS['input-provenance.json'],
'source_sha256':SOURCE_SHA,'source_receipt_sha256':SOURCE_RECEIPT, 'source_sha256':SOURCE_SHA,'source_receipt_sha256':SOURCE_RECEIPT,
'product_pair_receipt_sha256':LINK_RECEIPT,'pair_result_sha256':result_sha, 'product_pair_receipt_sha256':LINK_RECEIPT,'pair_result_sha256':result_sha,
'pair_intent_sha256':intent_sha,'independent_physical_calibration_claimed':False} 'pair_intent_sha256':intent_sha,'independent_pair_readback_sha256':PAIR_READBACK_SHA,
'independent_physical_calibration_claimed':False}
items={'platform-provenance.json':canonical(platform),'public-platform.json':canonical(public['public-platform.json'])} items={'platform-provenance.json':canonical(platform),'public-platform.json':canonical(public['public-platform.json'])}
# The original platform file is separately retained below using its actual # The original platform file is separately retained below using its actual
# bytes; this canonical descriptive copy is never mislabelled as its hash. # bytes; this canonical descriptive copy is never mislabelled as its hash.
@@ -227,6 +229,7 @@ def produce(public, pair_result, pair_intent, raw, result_sha, intent_sha):
for role in roles: for role in roles:
role.update(profile='rmm.windows.trusted-os.product-role-prerequisite.v1',pair_case_id=PAIR_ID, role.update(profile='rmm.windows.trusted-os.product-role-prerequisite.v1',pair_case_id=PAIR_ID,
pair_result_sha256=result_sha,pair_intent_sha256=intent_sha, pair_result_sha256=result_sha,pair_intent_sha256=intent_sha,
independent_pair_readback_sha256=PAIR_READBACK_SHA,
source_sha256=SOURCE_SHA if role['role']=='agent' else ORIGINAL_SOURCE_SHA, source_sha256=SOURCE_SHA if role['role']=='agent' else ORIGINAL_SOURCE_SHA,
original_source_receipt_sha256=SOURCE_RECEIPT,product_pair_receipt_sha256=LINK_RECEIPT, original_source_receipt_sha256=SOURCE_RECEIPT,product_pair_receipt_sha256=LINK_RECEIPT,
platform_provenance_sha256=sha(items['platform-provenance.json']), platform_provenance_sha256=sha(items['platform-provenance.json']),
@@ -433,7 +436,7 @@ def prepare():
# Source/link/role constants deliberately remain unset until actual evidence. # Source/link/role constants deliberately remain unset until actual evidence.
require(PAIR_ID is not None and str(uuid.UUID(PAIR_ID)) == PAIR_ID require(PAIR_ID is not None and str(uuid.UUID(PAIR_ID)) == PAIR_ID
and all(isinstance(value,str) and re.fullmatch('[a-f0-9]{64}',value) and all(isinstance(value,str) and re.fullmatch('[a-f0-9]{64}',value)
for value in (PAIR_RESULT_SHA,PAIR_INTENT_SHA)), for value in (PAIR_RESULT_SHA,PAIR_INTENT_SHA,PAIR_READBACK_SHA)),
'actual completed new pair and independently pinned role readback required') 'actual completed new pair and independently pinned role readback required')
public=public_inputs(); source_inputs(); raw=raw_inputs() public=public_inputs(); source_inputs(); raw=raw_inputs()
pair=PAIR_ROOT/PAIR_ID pair=PAIR_ROOT/PAIR_ID
@@ -441,6 +444,15 @@ def prepare():
intent_path=pair/'intent.json' intent_path=pair/'intent.json'
if not intent_path.exists(): intent_path=pair/'bound-payload.json' if not intent_path.exists(): intent_path=pair/'bound-payload.json'
intent_raw,intent=read(intent_path,PAIR_INTENT_SHA) intent_raw,intent=read(intent_path,PAIR_INTENT_SHA)
_, independent=read(pair/'independent-readback.json',PAIR_READBACK_SHA)
require(independent.get('id') == PAIR_ID and independent.get('completed') is True
and independent.get('read_only') is True and independent.get('no_job') is True
and independent.get('no_service_action') is True
and result['independent_readback_sha256'] == PAIR_READBACK_SHA
and result['intent_sha256'] == PAIR_INTENT_SHA
and all(independent['native'][key] == result['native'][key]
for key in ('files','service','helper_service','agent_kernel','helper_kernel')),
'original independent same-generation role and file readback')
items,native,payload=produce(public,result,intent,raw,sha(result_raw),sha(intent_raw)) items,native,payload=produce(public,result,intent,raw,sha(result_raw),sha(intent_raw))
items['original-public-platform.json']=read(PUBLIC/'public-platform.json',PUBLIC_SHAS['public-platform.json'])[0] items['original-public-platform.json']=read(PUBLIC/'public-platform.json',PUBLIC_SHAS['public-platform.json'])[0]
for name in ('qualified-time-public-key.json','public-binding.json'): for name in ('qualified-time-public-key.json','public-binding.json'):
+18 -6
View File
@@ -1,11 +1,11 @@
# Erste öffentliche Windows-Zeitkonfiguration V2 # Erste öffentliche Windows-Zeitkonfiguration V2
Stand 2026-11-15: `deploy/windows/time_profile_config.py` bereitet den eng Stand 2026-11-15: Der reale Paarfall `4887940a-4c9c-4807-aaf2-6fbc94faad46`
begrenzten Bootstrap einer ersten `time-attestation.json` vor. Die tatsächliche ist nach abgeschlossener unabhängiger Nachlese gebunden (Result `2898a72b…`,
Paarwartung und neue Rollenbelege fehlen noch. Deshalb sind `PAIR_ID`, Originalintent `40e9cd55…`, separater Read `63e453fb…`). Die vorherige
`PAIR_RESULT_SHA` und `PAIR_INTENT_SHA` absichtlich nicht gesetzt. `prepare` Verweigerung mit fehlenden Rollenbelegen bleibt als historischer lokaler Test
verweigert **vor** dem Anlegen eines lokalen Falls. Es wurde keine Konfiguration nachgewiesen. Ein Zeitvertrauen oder durchgehende Heartbeats sind durch den
auf der VM angelegt, kein Dienst geändert und kein Job erzeugt. Paarabschluss ausdrücklich nicht bewiesen.
Der Operator prüft die unveränderten öffentlichen Vorbereitungsbelege Der Operator prüft die unveränderten öffentlichen Vorbereitungsbelege
`c3077acf-12da-410e-9f55-e75a1cd0a75f`, deren getrennten Ed25519-Zeitschlüssel, `c3077acf-12da-410e-9f55-e75a1cd0a75f`, deren getrennten Ed25519-Zeitschlüssel,
@@ -131,3 +131,15 @@ Produktdienst-Laden/Reopen auf der VM, signierte passive Laufzeitabnahme,
WebUI-Genehmigung oder RMM-Job. Nach Notebook-Suspend fehlt aktuell der WebUI-Genehmigung oder RMM-Job. Nach Notebook-Suspend fehlt aktuell der
antwortende SSH-Transport; der vorbereitete Paarfall `570c7a86…` hat keine antwortende SSH-Transport; der vorbereitete Paarfall `570c7a86…` hat keine
neuen Rollenbelege und darf nicht als abgeschlossener Wechsel verwendet werden. neuen Rollenbelege und darf nicht als abgeschlossener Wechsel verwendet werden.
## Tatsächlicher gebundener Vorbereitungsschritt und Transfer
Lokale Vorbereitung `ad9fd154-b2be-4f5d-9e17-65abb721ceaf` bestanden;
Config-SHA256 `2b4a8a7080770304b80e2a665fa5f5ee1ebbd9182e7c80b184e75b114575b42b`,
Manifest `0c9a3ffeed490757f7bd8c63d7e2ec28156212945094621f511e20679ce0b3b0`.
Der getrennte Bindungsreview des Operators `a8d55b60…` hat bestanden.
Erste tatsächliche Transferphase begann nach `2026-11-15T15:27:41Z`.
Der fixierte Controller wurde einmalig übertragen und separat hashgeprüft;
Originalantwort `stage-reply.json` im genannten privaten lokalen Fall,
SHA256 `29f7654f766ebb53045832bb8c5ed6c83d2cbd96e0a5e1ce6df494cef0c026e6`.
Noch kein Konfigurationsinstallations- oder Laufzeitnachweis aus diesem Schritt.