snapkitty
compilers
python
File size: 3,896 Bytes
011f73b
 
 
 
 
 
92175fc
 
011f73b
 
 
 
34a9b26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
011f73b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
license: other
license_name: snapkitty-tri-license
license_link: https://huggingface.co/Snapkitty/sovereign-temporal-root/blob/main/LICENSE
tags:
- snapkitty
- compilers
- python
---

> Source: [github.com/SNAPKITTYWEST/sovereign-temporal-root](https://github.com/SNAPKITTYWEST/sovereign-temporal-root)

# Sovereign Temporal Root

[![License: BSL-1.1](https://img.shields.io/badge/license-BSL--1.1-orange?style=flat-square)](LICENSE)
[![License: AGPL-3.0](https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square)](LICENSE)
[![Patent Pending](https://img.shields.io/badge/patent-pending-red?style=flat-square)]()
[![GitHub Pages](https://img.shields.io/badge/demo-live-brightgreen?style=flat-square)](https://snapkittywest.github.io/sovereign-temporal-root/)

**Author:** Ahmad Ali Parr  
**Trust:** Bel Esprit D'Accord Irrevocable Trust Β· EIN 42-697643

> A cryptographically gated wormhole that only exists for a specific machine, at a specific time, with a specific key.

---

## What It Is

**Sovereign Temporal Root** is a zero-coordination cryptographic protocol:

- **Hardware-bound** β€” key derived from motherboard UUID + CPU ID + machine ID composite
- **Temporal-bound** β€” key rotates every epoch (`floor(unix / window_seconds)`)
- **Stealth** β€” no handshake, no SNI, no certificates; ghost port effect
- **Orthogonal nonces** β€” TX/RX streams use separate nonces, no two-time pad

```python
key = SHA-512(salt || hardware_composite || epoch)[:32]  # 256-bit ChaCha20
```

Client and server derive identical keys via NTP-synced epoch. No exchange. No coordination.

---

## Core Mathematics

```
composite = MB_UUID | CPU_ID | MACHINE_ID
epoch     = floor(time.time() / window_seconds)
digest    = SHA-512(SOVEREIGN_SALT || composite || epoch)
key       = digest[:32]               # 256-bit
nonce_tx  = 0 || packet_counter       # orthogonal TX
nonce_rx  = 1 || packet_counter       # orthogonal RX
```

---

## Killer Feature: Ghost Port Effect

Captured keys are dead assets. An attacker who captures today's key holds a corpse β€” the server has already rotated. No revocation needed. Time kills it.

```
Epoch N-3  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ EXPIRED β€” USELESS
Epoch N-2  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ EXPIRED β€” USELESS  
Epoch N-1  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ EXPIRED β€” USELESS
Epoch N    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ ACTIVE  β€” VALID NOW
Epoch N+1  Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β· FUTURE  β€” UNKNOWN
```

---

## Live Demo

[snapkittywest.github.io/sovereign-temporal-root](https://snapkittywest.github.io/sovereign-temporal-root/)

Runs real `crypto.subtle.digest('SHA-512')` in the browser. Same output as Python `hashlib.sha512`. No mock.

---

## Architecture

| Property | Value |
|----------|-------|
| Cipher | ChaCha20 |
| KDF | SHA-512, 256-bit output |
| Key rotation | Every epoch (default: 86400s) |
| Binding | Hardware-composite (non-exportable) |
| Coordination | Zero (NTP sync only) |
| Port | 0.0.0.0:4433, no SNI, no certs |
| Drift buffer | Optional (check epoch & epoch-1) |

---

## Build

The live demo is a self-contained `index.html`. No dependencies, no build step.

```bash
open index.html
# or serve locally:
python -m http.server 8000
```

---

Β© 2026 Bel Esprit D'Accord Irrevocable Trust Β· Patent Pending Β· Built for contested environments

---

## License

Licensed under **SnapKitty Tri-License**. Full text: [LICENSE](LICENSE).

### πŸ’Ό Commercial License

Snapkitty code is free and open under **AGPL-3.0** for open-source use. Building a commercial product or service? A **proprietary commercial license** from Snapkitty Collective LLC lets you ship this code without the AGPL's source-sharing and network-use obligations.

**[β†’ Get a commercial license](mailto:A.parr@belespritdaccord.uk?subject=Commercial%20license:%20sovereign-temporal-root)** Β· A.parr@belespritdaccord.uk