@beratkan15/auth-xuth
v1.0.1
Published
Highly secure dual-mode CLI tool with 10-layer encryption
Maintainers
Readme
Auth/Xuth
🔐 Highly secure CLI tool with 10-layer encryption for password and data management
📦 Installation
npm install -g @beratkan15/auth-xuth🚀 Quick Start
1️⃣ Setup (First Time - Run as Administrator)
xuth data .SETUP =activeThis will:
- Create a hidden encrypted vault on your system
- Set up your master password
- Configure security settings
2️⃣ Generate Passwords
# Generate 5 passwords (16 characters)
auth gen nlsc 16 5
# With custom characters (emojis!)
auth gen nlsc(🔥💎) 20 3Flags:
n= Numbers (0-9)l= Letters (a-z, A-Z)s= Symbols (!@#$%...)sc= Special chars (~`/...)c(...)= Custom characters
3️⃣ Save Encrypted Data
auth data -s4️⃣ List Your Data
auth data -l5️⃣ Get Specific Entry
auth data -g6️⃣ Remove Entry
auth data -r📖 All Commands
User Commands (auth)
| Command | Description |
|---------|-------------|
| auth gen <flags> <length> [count] | Generate passwords |
| auth data -s | Save encrypted data |
| auth data -l | List all entries |
| auth data -g | Get entry by ID |
| auth data -r | Remove entry |
| auth -c | Check for updates |
| auth help | Show help |
Admin Commands (xuth)
⚠️ Requires Administrator/sudo privileges
| Command | Description |
|---------|-------------|
| xuth data .SETUP =active | Run setup wizard |
| xuth .SECURITY -set | Change master password |
| xuth .SECURITY =active | Enable security |
| xuth .SECURITY =deactive | Disable security |
🔒 Security Features
- 10-Layer Encryption: AES-256, ChaCha20, Twofish, Blowfish, Serpent, Salsa20, RSA-4096, Camellia, 3DES, IDEA
- Dynamic Sequencing: Each file uses a random encryption order
- Silent Storage: Hidden vault with OS-level stealth
- Master Password: PBKDF2 key derivation (100,000 iterations)
⚠️ Important
- Master password loss = permanent data loss (no recovery)
- Admin privileges required for
xuthcommands - Bun runtime required for optimal performance
📝 Examples
# Setup
xuth data .SETUP =active
# Generate passwords
auth gen nlsc 16 5
# Save data
auth data -s
# Enter name: GitHub Token
# Enter type: Password
# Enter content: ghp_xxxxx
# Master password: ********
# List entries
auth data -l
# Get entry
auth data -g
# Enter ID: lx9k2m
# Master password: ********🛠️ Requirements
- Bun >= 1.0.0 (recommended)
- Node.js >= 18.0.0 (alternative)
- Windows/Linux/macOS
📄 License
MIT
