@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
$p=__DIR__.'/B-activation-installed-20261015.json';$v=json_decode(file_get_contents($p),true,512,JSON_THROW_ON_ERROR);$v['at']='2026-10-15T15:27:38+00:00';$v['path_enabled']=false;$s=json_encode($v,JSON_PRETTY_PRINT|JSON_THROW_ON_ERROR);$expected=json_decode(file_get_contents(__DIR__.'/B-activation-flag-20261015.json'),true)['installed_evidence_sha256'];if(hash('sha256',$s)!==$expected)throw new RuntimeException('Receipt reconstruction mismatch');file_put_contents(__DIR__.'/B-activation-installed-before-flag-20261015.json',$s);echo 'Pre-flag receipt preserved with original hash';
|
||||
Reference in New Issue
Block a user