Changeset 10 in code


Ignore:
Timestamp:
Oct 13, 2022, 10:50:49 PM (3 years ago)
Author:
koizumi.aoi
Message:

Replace pwgen with busybox plus *nix utilities

Signed-off-by: Aoi K <koizumi.aoi@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.md

    r9 r10  
    1010* Any of the above, depending how you configured it
    1111* `ls(1)` or `tree(1)` for printing a list
     12* busybox `tr(1)` for password generation
    1213* `mandoc(1)` for documentation
    1314
  • trunk/kanako

    r9 r10  
    3232}
    3333fn_generate() {
    34     pwgen -s "${1:-80}"
     34        busybox tr -dc '[A-Z][a-z][0-9]' </dev/urandom | dd bs=1 count=${1:-80} 2>/dev/null; echo
    3535}
    3636fn_list() {
Note: See TracChangeset for help on using the changeset viewer.