summaryrefslogtreecommitdiff
path: root/lib/trocla/formats/plain.rb
diff options
context:
space:
mode:
authorasq <asq@asq.art.pl>2014-04-03 17:15:37 +0200
committerasq <asq@asq.art.pl>2014-04-03 17:15:37 +0200
commit037efd0d0201d00fb9421382e32a635feae654b1 (patch)
treeb25e981ffaf04568d4861b40a790a5448a29d68d /lib/trocla/formats/plain.rb
parentc7521013ba8b2d14915624c7deebe0d659675cdd (diff)
add option to generate shell-safe passwords
basically excludes characters that might be dangerous if used in shell. many passwords generated by trocla may end up in some sort of bash scripts (initscripts, sourced shell variables, etc) which may yeld problems with default trocla random generator. this can be now changed either in troclarc (with "shellsafe: true") or on (ie. "trocla create foo plain '{ length: 32, shellsafe: true}'").
Diffstat (limited to 'lib/trocla/formats/plain.rb')
0 files changed, 0 insertions, 0 deletions