Skip to content

Releases

frogpwd — Pure FASM Secure Password Generator for Linux

Choose a tag to compare

@victormeloasm victormeloasm released this 15 Dec 02:07
ed4d012

Changelog

[1.0.0] – 2025-12-14

Initial stable release

Added

  • Cryptographically secure password generation using Linux getrandom()

  • Bias-free character selection via rejection sampling

  • Support for multiple character sets:

    • Default (alphanumeric + symbols)
    • --nosym (A–Z a–z 0–9)
    • --url (URL-safe: A–Z a–z 0–9 - _)
  • Clipboard support with --copy:

    • Wayland (wl-copy)
    • X11 (xclip)
  • Flexible argument parsing (options in any order)

  • Length validation with safe limits (1–4096)

  • Clean CLI help and usage output

  • Author and build information embedded in help output

  • Written entirely in FASM (x86-64 assembly)

Fixed

  • Argument parsing edge cases
  • Register clobbering issues related to Linux syscalls
  • Incorrect length handling during generation
  • Clipboard pipe handling and process management
  • Segmentation faults caused by register reuse
  • Option comparison reliability (streq fix)

Security

  • Uses kernel entropy source (getrandom())
  • Avoids modulo bias when mapping random bytes to charset
  • No external crypto libraries
  • No dynamic memory allocation

Build

  • Single-file FASM source
  • Produces a ~6.5 KB static ELF binary
  • Compresses to ~1.7 KB with maximum ZIP compression

Author: Víctor Duarte Melo
Year: 2025
Motto: Libertas Per Croack.