|
|
|
|
|
by repsilat
5031 days ago
|
|
> From TFA, the password generation is via pwgen. Seems strange to have the password generation "on the inside", though. That essentially means that `pwgen` is a strict dependency. Instead of writing something like pass generate Email/jasondonenfeld.com 15
the user should just type something like pwgen 15 1 | pass insert Email/jasondonenfeld.com
That way they don't need `pwgen` to install `pass`. It also means that all of the options to `pwgen` can be used without special effort or documentation.I'd say the same thing about `xclip`, but it's probably not worth having to write something like pass -c Email/zx2c4.com | xclip -selection clipboard -l 1
(or however xclip is supposed to work). |
|
With xclip, it's actually a bit more nuanced. You want this to be internal because I have some logic for removing the password from the clipboard after 45 seconds and putting the old clipboard contents back (if nothing else has replaced it in the meanwhile).