Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
legion β€” Legion is a Zero-Knowledge Authentication Fabric built for privacy | Kitploit
Tools/GitHubGitHub/deadends/legion
Web SecurityCryptographyPrivacyHardware SecurityIdentity & Access Management (IAM)Authentication
GitHubdeadends/legion

legion

Legion is a Zero-Knowledge Authentication Fabric built for privacy

View Repository
10520 years agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools β†’
Share

Legion ZK Auth πŸ›‘οΈ

True Zero-Knowledge Authentication with Hardware-Bound Device Ring Signatures

License: MIT Rust Security Version

🎯 What is Legion?

Legion is a zero-knowledge authentication system that proves you're authorized without revealing who you are. You prove something based on public data without linking your current action back to your public address.

Key Features

  • βœ… True Zero-Knowledge: Server never learns your identity (1 of 1M users)
  • βœ… Device Anonymity: Hardware-bound with ring signatures (1 of 1K devices)
  • βœ… No Trusted Setup: Halo2 PLONK (transparent setup)
  • βœ… Hardware Security: WebAuthn TPM/Secure Enclave binding
  • βœ… Replay Protection: Nullifiers + timestamps
  • βœ… Session Security: Linkability tags prevent theft
  • βœ… Rate Limiting: 5 attempts/hour (generic errors prevent enumeration)
  • βœ… Device Revocation: Block stolen devices instantly
  • βœ… Works: Docker, systemd, monitoring included

πŸ”’ Security Guarantees (v1.1.0)

PropertyGuarantee
User Anonymity1 of 2^20 (1,048,576)
Device Anonymity1 of 2^10 (1,024)
Soundness Error2^-128
Proof SystemHalo2 PLONK
Password HashingArgon2id
Hardware BindingWebAuthn Level 2
Rate Limiting5 attempts/hour
Device RevocationInstant blacklist

πŸš€ Quick Start (One Command!)

Prerequisites

  • Docker (includes Docker Compose)

Install & Run

# Clone and run
git clone https://github.com/deadends/legion.git
cd legion

# Linux/macOS
chmod +x install.sh && ./install.sh

# Windows
install.bat

That's it! Open http://localhost in your browser.

What Gets Installed

  • βœ… Redis (session storage)
  • βœ… Legion Server (ZK proof verifier)
  • βœ… Frontend (WASM client)
  • βœ… Nginx (reverse proxy)

Performance: Registration ~10s, Authentication ~4min (k=16 proof generation)


Manual Setup (Without Docker)

Click to expand manual installation
# 1. Install Redis
# macOS: brew install redis && redis-server
# Ubuntu: sudo apt install redis && redis-server
# Windows: https://redis.io/docs/install/install-redis/install-redis-on-windows/

# 2. Run server (terminal 1)
cd legion-server
cargo run --release --features redis

# 3. Build frontend (terminal 2)
cd wasm-client
wasm-pack build --target web --release
python3 -m http.server 8000

# 4. Open http://localhost:8000

For production deployment, see DEPLOYMENT.md

πŸ“Š Performance

Security LevelkProof TimeProof SizeUse Case
Testing12~10s2.5 KBDevelopment
Standard14~60s3.0 KBStaging
Production16~4min3.5 KBRecommended
High Security18~15min4.0 KBEnterprise

πŸ—οΈ Architecture

πŸ“– For detailed step-by-step authentication flow with cryptographic details, see ARCHITECTURE_FLOW.md

System Components

Download Tool