Initialize repository snapshot

This commit is contained in:
Vault Sovereign
2025-12-27 00:10:32 +00:00
commit 110d644e10
281 changed files with 40331 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# Revocation Drill: Used after revoke (Sentinel v1 testvector)
Expected result: FAIL with E_REVOKED_CAPABILITY_USED.
Verify:
python3 ../../tools/vm_verify_sentinel_bundle.py --bundle . --strict

View File

@@ -0,0 +1 @@
{"files":[{"digest":"sha256:3dcb8554c22c6342667f50455b173fca610a202b8c7cacbaa1d9454464f72c49","path":"README.md","size_bytes":198},{"digest":"sha256:1b27f570e1386d5c2001fdaa26ed8b39c69c8c5020e2fffa6f64b32d073f6ea8","path":"receipts.jsonl","size_bytes":3480},{"digest":"sha256:af9a834c78e5fb8b00cd155218bd7c07d877741ceb0460164b913fa0f7e41b62","path":"roots.txt","size_bytes":460},{"digest":"sha256:2f0c087927bf0cdda31c8308559809aafea5c55ffb87bad5100ebbaf7f63f4b9","path":"seal.json","size_bytes":742},{"digest":"sha256:b68082e3fab021062c9084802c2438b74e8d3198caa8676e29af0b10be2baabd","path":"verifier_manifest.json","size_bytes":239}],"format":"vm-sentinel-integrity-v1","hash_algo":"sha256"}

View File

@@ -0,0 +1,5 @@
{"actor":"did:vm:sentinel:demo","cap_hash":"none","event_hash":"sha256:488ff4a060d14db4e268930b232c201692989d47cbdad33a80fb6a4ae721c771","event_id":"00000000-0000-4000-8000-000000000301","event_type":"boot_event","op":"sentinel.boot_event.v1","op_digest":"sha256:d5b3a96e7033a4d0dcf2b452826cbe950f80f354ee5166487312fba6fde10758","payload":{"params":{"canonicalization_version":"sentinel-event-jcs-v1","hash_algo":"sha256","schema_version":"1.0.0","sentinel_version":"0.1.0"}},"prev_event_hash":"0","result":"ok","seq":0,"trace_id":"12121212-1212-4121-8121-121212121212","ts":"2025-03-17T03:17:40Z"}
{"actor":"did:vm:authority:demo","cap_hash":"sha256:edae118e5b7d242976f087fe7d6c6ec95b85cc9da5dead4164083daeff9e7857","event_hash":"sha256:9ae139e5a8adcdc31bcaf1eea87ce98dd49628b24ed1b67818a326e9f97cc71c","event_id":"00000000-0000-4000-8000-000000000302","event_type":"cap_grant","op":"sentinel.cap_grant.v1","op_digest":"sha256:cf238b606b127aa0ac8809aa45218a9a23ae9842964d42638153ad98136ecc78","payload":{"params":{"cap_hash":"sha256:edae118e5b7d242976f087fe7d6c6ec95b85cc9da5dead4164083daeff9e7857","capability":{"aud":"did:vm:sentinel:demo","exp":"2026-01-01T00:00:00Z","jti":"cap-demo-1","nbf":"2025-01-01T00:00:00Z","scopes":["sentinel.demo.dangerous_op"],"sub":"did:vm:actor:demo"}}},"prev_event_hash":"sha256:488ff4a060d14db4e268930b232c201692989d47cbdad33a80fb6a4ae721c771","result":"ok","seq":1,"trace_id":"34343434-3434-4343-8343-343434343434","ts":"2025-03-17T03:17:41Z"}
{"actor":"did:vm:authority:demo","cap_hash":"none","event_hash":"sha256:9fbb5cb1f63c8b7a8459f4bc9b785857f11c937902732c4f46366b22f1c19e76","event_id":"00000000-0000-4000-8000-000000000303","event_type":"cap_revoke","op":"sentinel.cap_revoke.v1","op_digest":"sha256:9796668016c7a22c0fee3648769a09b97a02af9cda234c1e3cf7cb007ce3fcf5","payload":{"params":{"reason_code":"operator_revoked","revoked_cap_hash":"sha256:edae118e5b7d242976f087fe7d6c6ec95b85cc9da5dead4164083daeff9e7857"}},"prev_event_hash":"sha256:9ae139e5a8adcdc31bcaf1eea87ce98dd49628b24ed1b67818a326e9f97cc71c","result":"ok","seq":2,"trace_id":"34343434-3434-4343-8343-343434343434","ts":"2025-03-17T03:17:42Z"}
{"actor":"did:vm:actor:demo","cap_hash":"sha256:edae118e5b7d242976f087fe7d6c6ec95b85cc9da5dead4164083daeff9e7857","event_hash":"sha256:e1dfc490106b6ae2f8316c16b9c655c7e899fe96a9a78f86dae30ca2efb54152","event_id":"00000000-0000-4000-8000-000000000304","event_type":"action_intent","op":"sentinel.demo.dangerous_op.v1","op_digest":"sha256:0091cfd21b0717922d234b13278067aec65828e7dd0090b189e7ef72dec88f95","payload":{"params":{"action":"override","target":"demo-device"}},"prev_event_hash":"sha256:9fbb5cb1f63c8b7a8459f4bc9b785857f11c937902732c4f46366b22f1c19e76","result":"ok","seq":3,"trace_id":"56565656-5656-4565-8565-565656565656","ts":"2025-03-17T03:17:43Z"}
{"actor":"did:vm:actor:demo","cap_hash":"sha256:edae118e5b7d242976f087fe7d6c6ec95b85cc9da5dead4164083daeff9e7857","event_hash":"sha256:987ff91a4cbec21b112950efb645fd62ff9021121ab8d91e25a932c5d706e58e","event_id":"00000000-0000-4000-8000-000000000305","event_type":"action_executed","op":"sentinel.demo.dangerous_op.v1","op_digest":"sha256:0091cfd21b0717922d234b13278067aec65828e7dd0090b189e7ef72dec88f95","payload":{"params":{"action":"override","target":"demo-device"}},"prev_event_hash":"sha256:e1dfc490106b6ae2f8316c16b9c655c7e899fe96a9a78f86dae30ca2efb54152","result":"ok","seq":4,"trace_id":"56565656-5656-4565-8565-565656565656","ts":"2025-03-17T03:17:44Z"}

View File

@@ -0,0 +1,6 @@
# Sentinel root history (seq -> merkle root)
seq=0 root=sha256:488ff4a060d14db4e268930b232c201692989d47cbdad33a80fb6a4ae721c771
seq=1 root=sha256:dd1d833faf0dc4551432aa9ed62038f8d438fc580dbbad848cca4decd40fdaa1
seq=2 root=sha256:93af676f38d884cf894244d379b46a7bd840df1364b0badac33649f9c2f77143
seq=3 root=sha256:686f07fd9a782cee48adbef5b39ec2665c014624581bc00f78eddfae719074fd
seq=4 root=sha256:98a5bee2349e9cb97733697dfb008df2b9324a12812e323a3158dbdf8d3d95d6

View File

@@ -0,0 +1 @@
{"canonicalization_version":"sentinel-event-jcs-v1","created_at":"2025-03-17T03:17:42Z","files":{"integrity":"integrity.json","receipts":"receipts.jsonl","roots":"roots.txt","verifier_manifest":"verifier_manifest.json"},"format":"vm-sentinel-seal-v1","hash_algo":"sha256","instance_id":"did:vm:sentinel:demo","ledger_type":"jsonl","range":{"since_seq":0,"since_ts":"2025-03-17T03:17:40Z","until_seq":4,"until_ts":"2025-03-17T03:17:44Z"},"root":{"end":"sha256:98a5bee2349e9cb97733697dfb008df2b9324a12812e323a3158dbdf8d3d95d6","seq":4,"start":"sha256:2e1cfa82b035c26cbbbdae632cea070514eb8b773f616aaeaf668e2f0be8f10d"},"schema_version":"1.0.0","seal_id":"ouroboros_seal_20250317_031742Z_revocation_used_after_revoke","sentinel_version":"0.1.0"}

View File

@@ -0,0 +1 @@
{"canonicalization_version":"sentinel-event-jcs-v1","format":"vm-sentinel-verifier-manifest-v1","hash_algo":"sha256","schema_version":"1.0.0","sentinel_version":"0.1.0","verifier":{"name":"vm_verify_sentinel_bundle.py","version":"0.1.0"}}