conformance: 97 rules of 9 verifiers, 206 vectors; verify-layer and agents refuse a classical key under an ML-DSA-65 name; market-settlement reads the notarization time from the certified read; proof-of-ai README in English
This commit is contained in:
1 parent
c9f2932e04
commit
c9798a0013
111 files changed
+15871
-292
No files matched your search
@@ -15,12 +15,12 @@ const PLANTARI = [
|
||||
['consistenta nu mai cere radacina veche', M, [["return sn === 0 && hx(fr) === firstRoot && hx(sr) === secondRoot;", 'return sn === 0 && hx(sr) === secondRoot;']], 'ATAC: istoria rescrisa'],
|
||||
['consistenta fara radacina veche pusa in fata la o putere a lui 2', M, [["if ((firstSize & (firstSize - 1)) === 0) pc.unshift(dinHex(firstRoot, 'first root'));", '']], 'fiecare dovada de consistenta'],
|
||||
['marimi egale acceptate cu orice drum', M, [['if (firstSize === secondSize) return path.length === 0 && firstRoot === secondRoot;', 'if (firstSize === secondSize) return true;']], 'CONTROL: marimi egale'],
|
||||
['intrarea din dovada nu isi mai reface hash-ul', J, [["if (hashIntrare(e.seq, e.prev, e.proof) !== e.hash) return", 'if (false) return']], 'ATAC: intrarea din dovada schimbata'],
|
||||
['plicul intrarii nu mai trebuie sa fie intreg', J, [["if (!e.proof || !e.proof.statement || sha256(Buffer.from(JSON.stringify(e.proof.statement), 'utf8')) !== String(e.proof.statementHash).toLowerCase()) return", 'if (false) return']], 'ATAC: un plic stricat scris de gazda'],
|
||||
['marimea si radacina capului nu se mai compara cu dovada', J, [['if (cap.statement.treeSize !== d.treeSize || cap.statement.rootHash !== d.rootHash) return', 'if (false) return']], 'ATAC: dovada de includere pentru un arbore de alta marime'],
|
||||
['capul atins primit (statementHash nerefacut)', J, [["if (!H.test(String(cap.statementHash)) || sha256(Buffer.from(JSON.stringify(st), 'utf8')) !== cap.statementHash) return", 'if (false) return']], 'ATAC: capul de arbore atins'],
|
||||
['intrarea din dovada nu isi mai reface hash-ul', J, [["if (!(hashIntrare(e.seq, e.prev, e.proof) === e.hash /*PAZA:includere-intrare*/)) return", 'if (false) return']], 'ATAC: intrarea din dovada schimbata'],
|
||||
['plicul intrarii nu mai trebuie sa fie intreg', J, [["=== String(e.proof.statementHash).toLowerCase() /*PAZA:includere-plic*/)) return", "=== String(e.proof.statementHash).toLowerCase() /*PAZA:includere-plic*/) && Boolean(Number('0'))) return"]], 'ATAC: un plic stricat scris de gazda'],
|
||||
['marimea si radacina capului nu se mai compara cu dovada', J, [['if (!(cap.statement.treeSize === d.treeSize && cap.statement.rootHash === d.rootHash /*PAZA:includere-cap*/)) return', 'if (false) return']], 'ATAC: dovada de includere pentru un arbore de alta marime'],
|
||||
['capul atins primit (statementHash nerefacut)', J, [["=== cap.statementHash /*PAZA:arbore-hash*/)) return", "=== cap.statementHash /*PAZA:arbore-hash*/) && Boolean(Number('0'))) return"]], 'ATAC: capul de arbore atins'],
|
||||
['semnatarul cerut nu mai trece in verificare', J, [['const s = verificaSemnaturaCap(cap, semnatar);', 'const s = verificaSemnaturaCap(cap, null);']], 'includere: intrarea 7'],
|
||||
['dovada de consistenta nu mai trebuie sa porneasca de la capul vechi', J, [['if (vechi.statement.treeSize !== d.firstSize || vechi.statement.rootHash !== d.firstRoot) return', 'if (false) return']], 'ATAC: capetele inversate'],
|
||||
['dovada de consistenta nu mai trebuie sa porneasca de la capul vechi', J, [['if (!(vechi.statement.treeSize === d.firstSize && vechi.statement.rootHash === d.firstRoot /*PAZA:consistenta-inceput*/)) return', 'if (false) return']], 'ATAC: capetele inversate'],
|
||||
['un jurnal rupt primeste cap', J, [['if (!v.ok) throw new Error(`tree: the log is broken', 'if (false) throw new Error(`tree: the log is broken']], 'un jurnal rupt'],
|
||||
// B-25: forma publicata in 082b862 (iesirea tace despre semnatura capetelor)
|
||||
['verify-consistency tace despre semnatura capetelor', 'sidecar.mjs', [['the history up to the old head was not rewritten)${semn}', 'the history up to the old head was not rewritten)']], 'B-25'],
|
||||
|
||||
Reference in new issue
Block a user