Restructure compliance tools

This commit is contained in:
2026-03-27 15:22:07 +03:00
Unverified
parent f73c92c77c
commit 30ab4d9190
16 changed files with 14 additions and 11 deletions
+4 -4
View File
@@ -29,7 +29,7 @@ The application uses client-server encryption for direct messages (DMs). While r
### 3. Files Required
- `compliance_keypair.txt` - Contains compliance X25519 keypair
- `compliance_decryption.py` - Decryption script
- `scripts/compliance/decryption/main.py` — decryption tool entrypoint
- Message data extracted from the server
## Step-by-Step Instructions
@@ -70,11 +70,11 @@ The application uses client-server encryption for direct messages (DMs). While r
1. Ensure you have the required files:
- `compliance_keypair.txt` (compliance private key)
- `compliance_decryption.py` (decryption script)
- `scripts/compliance/decryption/main.py` (decryption tool)
- `compliance_MESSAGE_ID.json` (extracted message data)
2. Run the decryption:
```bash
python compliance_decryption.py decrypt --input-file compliance_MESSAGE_ID.json
python scripts/compliance/decryption/main.py decrypt --input-file compliance_MESSAGE_ID.json
```
3. The script will output the decrypted message:
```
@@ -177,7 +177,7 @@ Response: JSON with encrypted message data
### Decryption Script
```bash
python compliance_decryption.py decrypt --input-file <json_file>
python scripts/compliance/decryption/main.py decrypt --input-file <json_file>
```
**Requirements:**