Skip to content

Option to generate passwords #50

@JeffAbrahamson

Description

@JeffAbrahamson

With -e, insert a new password in the record's payload.
Must match a unique record (or no match pattern to create a new record).

Option -G. Argument indicates pattern, default is 1aA. I don't think it's worth it to support punctuation and other characters, there are just too many variations for too little gain.
Option -L indicates password length, default is 20. With a comma and second number, indicates number of new passwords to add, e.g., -L 20,3 generates three 20-character passwords. Passwords are inserted at the end of the record unless the length is negative, in which case the passwords are inserted at the beginning with length abs(length).

Alternatively, the environment variable SRD_INSERT_PASSWORDS_AT_BEGIN inverts the normal behavior (default at beginning, negative length inserts at the end).

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions