-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreset_sovereignty.py
More file actions
24 lines (18 loc) · 783 Bytes
/
Copy pathreset_sovereignty.py
File metadata and controls
24 lines (18 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import sys
import os
# Add project root to sys.path
project_root = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(project_root, "src"))
from core.integrity import IntegrityService
def reset_kali_sovereignty():
print("--- INITIATING EMERGENCY SOVEREIGNTY RE-ANCHORING ---")
integrity = IntegrityService(project_root)
# Force re-generation of the manifest with current file hashes
success = integrity.reset_sovereignty()
if success:
print("SUCCESS: BIOS Ledger updated. System Integrity Re-Anchored.")
print("KALI now recognizes your custom modifications as official Sovereign Code.")
else:
print("FAILED: Could not update the BIOS ledger.")
if __name__ == "__main__":
reset_kali_sovereignty()