slackbuilds_ponce/system/apg/README
B. Watson 612faf06f3
system/apg: Updated for version 2.3.0b+20240821_dcddc65.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2024-09-14 23:36:52 +07:00

25 lines
1.1 KiB
Text

apg (automated password generator)
apg generates random passwords according to several algorithms. The
default algorithm is pronounceable password generation algorithm
designed by Morrie Gasser and described in 'A Random Word Generator
For Pronounceable Passwords (National Technical Information Service
(NTIS) AD-A-017676)'.
This SlackBuild by default patches apg to use /dev/urandom rather than
/dev/random for generating random seeds, to avoid apg blocking while
waiting for the kernel to gather more entropy. If you're worried about
this being possibly insecure, first read:
http://web.archive.org/web/20201109034537/https://www.2uo.de/myths-about-urandom/
Then, if you remain unconvinced, you can run this script with
URANDOM=no in the environment to use /dev/random. Remember, apg is
only using this to generate *seeds* for its own built-in PRNG!
The package includes apgd. I'm not sure why anyone needs a password
generation daemon (especially one that doesn't use an encrypted
connection), but if you want to run it via inetd, add this to your
/etc/inetd.conf, then "killall -HUP inetd":
pwdgen stream tcp nowait root /usr/sbin/apgd apgd