Spaces:
Sleeping
Sleeping
Igor commited on
Docs: Simplify Security Architecture section (remove v2 references)
Browse files
README.md
CHANGED
|
@@ -176,12 +176,12 @@ When entering a new community, analyze the top 1000 most common words in that fo
|
|
| 176 |
* **Encryption:** Uses `cryptography` library (AES-GCM, X25519, HKDF). Mathematically secure.
|
| 177 |
* **Steganography:** The hiding mechanism relies on a 256-word dictionary. While "Stealth Mode" mimics grammar, sophisticated statistical analysis *could* potentially detect the anomaly (unusual word frequency). Use with awareness.
|
| 178 |
|
| 179 |
-
## Security Architecture
|
| 180 |
|
| 181 |
-
The
|
| 182 |
|
| 183 |
1. **HKDF Context Binding:**
|
| 184 |
-
The shared secret derivation
|
| 185 |
|
| 186 |
2. **Directional Session Keys:**
|
| 187 |
Instead of a single shared key, the protocol derives two separate 32-byte keys from the master secret:
|
|
|
|
| 176 |
* **Encryption:** Uses `cryptography` library (AES-GCM, X25519, HKDF). Mathematically secure.
|
| 177 |
* **Steganography:** The hiding mechanism relies on a 256-word dictionary. While "Stealth Mode" mimics grammar, sophisticated statistical analysis *could* potentially detect the anomaly (unusual word frequency). Use with awareness.
|
| 178 |
|
| 179 |
+
## Security Architecture
|
| 180 |
|
| 181 |
+
The protocol implements robust cryptographic hardening to ensure confidentiality and integrity:
|
| 182 |
|
| 183 |
1. **HKDF Context Binding:**
|
| 184 |
+
The shared secret derivation binds the **sorted public keys** of both parties into the HKDF `info` parameter (along with a protocol-specific salt). This ensures the derived key is mathematically unique to the specific pair of identities and prevents potential cross-context replay attacks.
|
| 185 |
|
| 186 |
2. **Directional Session Keys:**
|
| 187 |
Instead of a single shared key, the protocol derives two separate 32-byte keys from the master secret:
|