فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
fix(a02): restore complete DPAPI manifest validation and SHA-256 verification
davoodmehraban89 committed
Oct 30, 2026 at 20:33 UTC
92e1ef785997cccea2f8b41a9ce0038c5254e07b
1 file changed
+3
-1
scripts/a02-isolated-schema-inventory.ps1
+3
-1
@@ -338,7 +338,9 @@ function Read-EncryptedManifest([string]$path){
338
}
339
if($manifest.format -cne 'factor-easypro-a02-schema-manifest' -or
340
[int]$manifest.formatVersion -ne 1 -or
341
- [string]$manifest.schemaFingerprintSha256 -cnotmatch '^[0-9a-f]{64}
341
+ [string]$manifest.schemaFingerprintSha256 -cnotmatch '^[0-9a-f]{64}$' -or
342
+ [int]$manifest.tableCount -lt 1 -or
343
+ [int]$manifest.columnCount -lt 1 -or
344
$manifest.userRowsRead -ne $false -or
345
$manifest.databaseModified -ne $false -or
346
$manifest.canImport -ne $false){