3 ms·
There would be ways to plug it into emacs, but I don't bother since it's only 1 of 2 or more destinations for the password. Browser usually being the second. p
by doesnt_know 13y ago
There would be ways to plug it into emacs, but I don't bother since it's only 1 of 2 or more destinations for the password. Browser usually being the second.
pwgen has a bunch of options. They are fairly easy to learn, but you can always alias them out to something descriptive. Usually I have to specify some arbitrary length based on the "recommendation" of the site in question. Eg:
pwgen 10
Will poop out a bunch of passwords to the console in columns that are 10 characters long. Probably less then ideal. I usually like to use the secure option and make them as long as the site will allow. To make things easier, you can just make it generate a single password and pipe it to the clipboard.
pwgen -s 20 1 | xclip -i
LSm4BfnGADLG0WAxStUW
Middle click (paste) into emacs and the web browser. Save the file in emacs and submit the browser registration form. Run the pwgen/xclip command again to put a different unused password in your clipboard just in case.