There are bugs in the sourceforge version of pwgen 2.08 that are fixed in https://github.com/tytso/pwgen . We should use that one. Especially concerning:
tytso/pwgen@54d6c1c
Test case on current pkgsrc pwgen:
count=0 ; while ! pwgen -c -B -n 16 1 | egrep -v '[A-Z]' ; do count=$((count + 1)) ; done ; echo $count
That'll get you a loop stop in <= 20 tries. On the one that's currently hardcoded in smartos-live, it never stops (i.e. it works).
There are bugs in the sourceforge version of pwgen 2.08 that are fixed in https://github.com/tytso/pwgen . We should use that one. Especially concerning:
tytso/pwgen@54d6c1c
Test case on current pkgsrc pwgen:
That'll get you a loop stop in <= 20 tries. On the one that's currently hardcoded in smartos-live, it never stops (i.e. it works).