stuartcryan / lastpass-alfred-workflow

Simple Lastpass Workflow for Alfred
GNU General Public License v2.0
224 stars 69 forks source link

Added generate password flow #39

Closed jgogstad closed 6 years ago

jgogstad commented 7 years ago

It's handy to have a shortcut for generating new passwords when the browser plugin doesn't play along. Added lpgenerate [password_length].

hawkins commented 7 years ago

Does this also support toggling special characters, or capitalization / number requirements?

jgogstad commented 7 years ago

It delegates generation to the lastpass cli util, that util has default everything on. There is currently a bug in this PR, the generated passworded is by default stored in lastpass under a random name, will commit a fix when I get back to this.

stuartcryan commented 6 years ago

Howdy @jgogstad, I finally have a bit of a breather and am looking through pull requests and the like over the Christmas break. How were you thinking of handling generating under a non-default name? Cheers, Stuart

jgogstad commented 6 years ago

Generate a new password under a random name and then do lpass rm <unique-name> after. I never got around to implement it, and now I've changed to 1password. The macOS integration is miles ahead of Lastpass.

Closing PR as it's not ready for merge