#password-generator #passphrase-generator #random #binary #character #character-set #length

bin+lib yapg

Yet another passphrase generator (library + binary)

1 unstable release

0.1.0 Mar 28, 2021

#15 in #passphrase-generator

MIT license

23KB
421 lines

Yet another password generator!

Not because the world needed it, but for me to learn about the rust ecosystem. I have some ideas to improve it in the future, but having learned something about rust tooling, it's already done its job for me.

Implemented functionality

  • generating random passwords from characters
    • configurable character set, length and amount of passwords

Possible future functionality (unlikely)

  • generating random passwords from syllables
    • allowed syllables read from file
    • configurable intercalation with special chars
    • configurable capitalization rules
  • generating random passphrases from words
    • basically the same as from syllables

Used tooling/crates (+ notes)

  • testing and documentation with cargo
    • test coverage with grcov
      • source-based coverage appears bugged (e.g. comments marked as missing coverage)
  • automation using cargo-make
    • seems a bit clunky when compared to GNU's make, ymmv.
  • source tracking with git and hub (obviously...)
  • publishing to crates.io with cargo (no shit, Sherlock!)

Possible future tooling (somewhat likely)

  • benchmarking with cargo
  • integration tests for the binary

Dependencies

~1MB
~13K SLoC