aere-quantum/conformance/vectori/envelope/authorization.integrity.json

53 lines
1.3 KiB
JSON

{
"v": 1,
"kind": "aere-conformance-vector",
"id": "envelope/authorization.integrity",
"artifact": "envelope",
"title": "authorization: statement.policyHash changed after hashing",
"source": "derived from envelope/authorization.valid",
"requires": [],
"exercises": [
"envelope.form",
"envelope.integrity"
],
"base": "envelope/authorization.valid",
"mutation": {
"op": "set",
"path": [
"envelope",
"statement",
"policyHash"
],
"value": "0xf062025b73d9324b189fcec2b5c88338aa6fa9fb7877700681b2049b57e6aedd0"
},
"input": {
"envelope": {
"v": 1,
"kind": "aere-proof-of-authorization-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-authorization",
"policyHash": "0xf062025b73d9324b189fcec2b5c88338aa6fa9fb7877700681b2049b57e6aedd0",
"grantor": "org-x",
"grantee": "agent-7",
"scope": "payments:send<=100",
"expiresAt": "2026-12-31T00:00:00Z",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0xad70cb9db980eb04d739c7687fec8d3a3675c35105b3d3837c2012c81cd9d521"
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"envelope.integrity"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}