SecurePkt v2.0 🔒⚛️
Ultra-Secure, Post-Quantum Resilient Network Protocol & SOCKS5 Tunnel Gateway
بروتوكول شبكة فائق الأمان ومقاوم للحوسبة الكمومية مع بوابة نفق وتمرير بيانات
🌟 English Overview / نبذة عن المشروع
SecurePkt v2.0 is a production-ready, post-quantum resilient network protocol designed according to Zero-Trust Architecture principles. It wraps application network traffic (web browsers, SSH, APIs, database streams) into zero-metadata, quantum-safe UDP tunnels.
SecurePkt v2.0 هو بروتوكول اتصال شبكي عالي السرعة والأمان مصمم وفق معايير Zero-Trust. يتيح لك تشغيل خادم نفق (Tunnel Gateway) وتمرير كامل حركة الإنترنت من الأجهزة المتصلة عبر حزم UDP مشفرة خالية من أي تسريب للبيانات الوصفية ومقاومة لكسر التشفير بواسطة الحواسيب الكمومية المستقبلية.
🛡️ Core Security Architecture / المعمارية الأمنية
| Component / الميزة | Technology / التقنية | Security Goal / الفائدة الأمنية |
|---|---|---|
| Classical Key Exchange | Curve25519 / X25519 |
Ephemeral Key Exchange providing Perfect Forward Secrecy (PFS). |
| Post-Quantum KEM | ML-KEM-768 / Kyber768 |
NIST Post-Quantum Standard protecting session keys from future quantum decryption. |
| Digital Identity Auth | ML-DSA-65 / Dilithium |
Quantum-Resistant Digital Signatures preventing Man-in-the-Middle (MITM) attacks. |
| Symmetric Cipher | ChaCha20-Poly1305 AEAD |
High-speed authenticated encryption with 96-bit unique nonces. |
| Anti-Replay Window | 64-Bit Sliding Window |
Detects and drops duplicate or manipulated sequence numbers. |
| Traffic Padding | Randomized Block Padding |
Aligns packet lengths (128/256B) to thwart Traffic Analysis Attackers. |
🚀 Quick Start & Installation / الدليل السريع للتشغيل
1. Installation / التثبيت
Clone the repository and install securepkt locally:
cd SecurePkt
pip install .
To verify installation:
securepkt --help
2. Step-by-Step Server & Client Deployment / خطوات التشغيل والتنفيذ
Step 1: Generate Post-Quantum Identity Keys (إنشاء مفاتيح الهوية)
On your server or master node, generate server signature keypairs:
securepkt keygen --out-dir ./keys
This creates:
server_identity.pub(Public Key for pinning on clients)server_identity.key(Private Key kept secret on server)
Step 2: Start Remote SecurePkt Gateway Server (تشغيل خادم النفق)
On your cloud VPS / remote server:
securepkt server --bind 0.0.0.0 --port 8443 --pub-key ./keys/server_identity.pub --priv-key ./keys/server_identity.key
Step 3: Start Local SOCKS5 Client Proxy (تشغيل العميل المحلي)
On your personal computer or client device:
securepkt client --socks-bind 127.0.0.1 --socks-port 1080 --server YOUR_SERVER_IP --server-port 8443 --trusted-pub ./keys/server_identity.pub
Your local device now has a quantum-safe SOCKS5 proxy running on 127.0.0.1:1080!
3. Tunneling Real Internet Traffic / توجيه حركة المرور الحقيقية
Using curl via SecurePkt:
curl --socks5 127.0.0.1:1080 https://httpbin.org/ip
Configuring Web Browsers (Firefox / Chrome):
Set Network Proxy -> SOCKS Host: 127.0.0.1, Port: 1080, SOCKS v5.
🐳 Docker Deployment / التشغيل بواسطة Docker
Deploy both server and client using Docker Compose:
docker-compose up -d
⚡ Performance Benchmarking / اختبار الأداء
Run the built-in crypto and networking benchmark:
securepkt benchmark
Expected Output:
==================================================================
⚡ SecurePkt v2.0 Core Benchmark Suite
==================================================================
1. Hybrid PQ Handshake Rate : 1850.24 handshakes/sec (avg 0.540 ms/handshake)
2. AEAD ChaCha20 + Padding : 420.50 MB/s throughput
3. Packet Processing Rate : 21500.00 packets/sec
==================================================================
📄 License
MIT License - Open Source & Free for Commercial & Private Use.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file securepkt-2.0.0.tar.gz.
File metadata
- Download URL: securepkt-2.0.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c4ae436cb75c2d7219be81519df5e5e3f44f9666b2ec9e6c89b734e9b444fc9
|
|
| MD5 |
695928298216ad371959fc6db335f7be
|
|
| BLAKE2b-256 |
59961208d2abd8b907e9cb349df141e65e1eaaed83c9bae40b67163231ba531f
|
File details
Details for the file securepkt-2.0.0-py3-none-any.whl.
File metadata
- Download URL: securepkt-2.0.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a7e6ee8c2c16c5bf15e4185eede159034d997e2c520e19c9b13d9da12cd3afb
|
|
| MD5 |
8d9e1be0497340d6d533d61d2491c77d
|
|
| BLAKE2b-256 |
72733364a9f772b47cc00e11e25c194f9f528f675399063bae71020feb8b00d7
|