all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: apg  ]

Package: apg (2.2.3.dfsg.1-6 and others)

Links for apg


Debian Resources:

Download Source Package apg:


Similar packages:

Automated Password Generator - Standalone version

APG (Automated Password Generator) is the tool set for random password generation. It generates some random words of required type and prints them to standard output. This binary package contains only the standalone version of apg. Advantages:

 * Built-in ANSI X9.17 RNG (Random Number Generator)(CAST/SHA1)
 * Built-in password quality checking system (now it has support for Bloom
   filter for faster access)
 * Two Password Generation Algorithms:
    1. Pronounceable Password Generation Algorithm (according to NIST
       FIPS 181)
    2. Random Character Password Generation Algorithm with 35
       configurable modes of operation
 * Configurable password length parameters
 * Configurable amount of generated passwords
 * Ability to initialize RNG with user string
 * Support for /dev/random
 * Ability to crypt() generated passwords and print them as additional output.
 * Special parameters to use APG in script
 * Ability to log password generation requests for network version
 * Ability to control APG service access using tcpd
 * Ability to use password generation service from any type of box (Mac,
   WinXX, etc.) that connected to network
 * Ability to enforce remote users to use only allowed type of password
The client/server version of apg has been deliberately omitted.

Please note that there are security flaws in pronounceable password generation schemes (see Ganesan / Davis "A New Attack on Random Pronounceable Password Generators", in "Proceedings of the 17th National Computer Security Conference (NCSC), Oct. 11-14, 1994 (Volume 1)", 1994-17th-NCSC-proceedings-vol-1.pdf, pages 203-216)

Also note that the FIPS 181 standard from 1993 has been withdrawn by NIST in 2015 with no superseding publication. This means that the document is considered by its publicher as obsolete and not been updated to reference current or revised voluntary industry standards, federal specifications, or federal data standards.

apg has not seen upstream attention since 2003, upstream is not answering e-mail, and the upstream web page ( has been gone for years. The Debian maintainer plans to discontinue apg maintenance as soon as an actually maintained software with a comparable feature set becomes available.

Tags: System Administration: User Management, User Interface: Command Line, Role: role::program, scope::utility, Security: Cryptography

Other Packages Related to apg

  • depends
  • recommends
  • suggests
  • enhances

Download apg

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 2.2.3.dfsg.1-6 54.1 kB243.0 kB [list of files]
amd64 2.2.3.dfsg.1-6 51.2 kB147.0 kB [list of files]
arm64 2.2.3.dfsg.1-6 50.4 kB178.0 kB [list of files]
armel 2.2.3.dfsg.1-6 49.4 kB121.0 kB [list of files]
armhf 2.2.3.dfsg.1-6 48.2 kB109.0 kB [list of files]
hppa (unofficial port) 2.2.3.dfsg.1-6 49.7 kB118.0 kB [list of files]
i386 2.2.3.dfsg.1-6 52.1 kB133.0 kB [list of files]
ia64 (unofficial port) 2.2.3.dfsg.1-5+b1 59.2 kB181.0 kB [list of files]
m68k (unofficial port) 2.2.3.dfsg.1-6 47.9 kB121.0 kB [list of files]
mips64el 2.2.3.dfsg.1-6 52.6 kB246.0 kB [list of files]
ppc64 (unofficial port) 2.2.3.dfsg.1-6 53.4 kB243.0 kB [list of files]
ppc64el 2.2.3.dfsg.1-6 53.5 kB242.0 kB [list of files]
riscv64 2.2.3.dfsg.1-6 54.0 kB134.0 kB [list of files]
s390x 2.2.3.dfsg.1-6 51.7 kB142.0 kB [list of files]
sh4 (unofficial port) 2.2.3.dfsg.1-6 52.2 kB177.0 kB [list of files]
sparc64 (unofficial port) 2.2.3.dfsg.1-6 50.2 kB2,101.0 kB [list of files]
x32 (unofficial port) 2.2.3.dfsg.1-6 50.5 kB133.0 kB [list of files]