Skip to content

SilentPuck/passgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passgen — secure password generator for system administrators

passgen is a hardened command-line utility for generating secure passwords
in infrastructure, sysadmin, and automation environments.
It focuses on practicality, speed, and system-level reliability.


⚙️ Key Features

  • Offline password generation (no telemetry, no network calls)
  • Fully self-contained Linux x86_64 static binary
  • Customizable output: letters, digits, symbols
  • Generate one or multiple passwords at once
  • Output to terminal or file
  • Optional secure file deletion

🧩 Source Code

This is a fully open-source project.
All code is available under src/

You can build it with:

cd src
make

📥 Download

Get the latest binary from Releases:

wget https://github.com/SilentPuck/passgen/releases/download/v1.1/passgen
chmod +x passgen

🔧 Quick Example

./passgen -n 20 -l -d -s -c 3

Generates 3 passwords of 20 characters, using letters, digits, and symbols.


🧪 Basic CLI

  -n <number>      Password length (min: 8)
  -c <number>      Number of passwords to generate (default: 1)
  -l               Use letters (a-z, A-Z)
  -d               Use digits (0-9)
  -s               Use special characters (!@#$...)
  -o <filename>    Save passwords to file
  --auto-name      Auto-generate file name
  --remove         Securely delete file
  --silent         Do not print to terminal
  --version        Show version info
  --help           Show help

✅ Reliability

  • CI validates binary execution on every commit
  • Built and tested with:
    • -fsanitize=address
    • -fsanitize=undefined
    • valgrind --leak-check=full

📚 Documentation

See the Wiki for:

  • Real-world sysadmin usage
  • Password scripting examples
  • File handling and secure deletion
  • Project goals and philosophy

💸 Donate

Support development via the Wiki → Donate


🛠️ Built with clarity and intent by SilentPuck

"Forged in silence. Written in C. Tools for invisible people."