Package: apg
Version: 2.2.3.dfsg.1-2
Severity: wishlist
Tags: patch

Hi.

Just a suggestion:
You may replace the current /etc/apg.conf with the attached one, which provides some reasonable examples and another default.

The reason for replaceing -s by -c /dev/urandom:
I think without options, apg should be used "interactively",... but I doubt that any user really want's to enter some characters there...
At least I do always just press return ;)

Using more characters is also reasonable for security, IMHO. A user can still just copy&paste parts of the password.

-n 6 and -a 0 are default anyway (at least according to the manpage, so I've removed them.



Another idea would be to make apg.conf configurable via debconf, would be nice to see :)


Apart from that: The default listed in the manpage "apg -a 0 -M sncl -n 6 -x 10 -m 8 (new style)" seems to be neither what is in the current apg.conf, nor what apg does when that value is commented out (e.g. at least -t is also done in that case). So please clarify this what really happens (if the default is solely defined by apg.conf, or if there's another internal default).


Best wishes,
Chris.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apg depends on:
ii  libc6                         2.9-24     GNU C Library: Shared libraries

apg recommends no packages.

apg suggests no packages.

-- no debconf information


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

#APG_PARM sets the defaults if apg is executed without any command arguments
#
#
#Examples:
#
#Pronounceable passwords with special characters:
#APG_PARM="-c /dev/urandom  -m 8 -x 14  -M SNCL  -t"
#
#Pronounceable passwords without special characters:
#APG_PARM="-c /dev/urandom  -m 8 -x 14  -M NCL  -t"
#
#Random passwords:
#APG_PARM="-c /dev/urandom  -m 20 -x 20  -a 1 -M SNCL"

APG_PARM="-c /dev/urandom  -m 8 -x 14  -M SNCL  -t"

Reply via email to