The probably user-friendliest password generator out there, available as a web app or command line program. Generates random strings, gibberish (pronounceable passwords), or 'correct-horse-battery-staple' passphrases in English or German. https://pag.momar.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Moritz Marquardt 75a50a69c5 Fix syntax error & problem where passphrases always begin with a separator 8 months ago
iosevka Version 1.0.0 release 1 year ago
words Fix speed of command line passphrase generation, use plain text files for word lists instead of JSON 1 year ago
.gitignore Version 1.0.0 release 1 year ago
LICENSE Version 1.0.0 release 1 year ago
README.md Increase version to 1.1.0, update README and move to Codeberg 8 months ago
cli.js Add more intuitive shortcuts (r & g for random & gibberish) 8 months ago
favicon.ico Change favicon to RemixIcon 8 months ago
generate.js Fix syntax error & problem where passphrases always begin with a separator 8 months ago
index.html Change favicon to RemixIcon 8 months ago
package.json Fix syntax error & problem where passphrases always begin with a separator 8 months ago
script.js Grey out passphrase buttons if the server doesn't support range requests 8 months ago
style.css Grey out passphrase buttons if the server doesn't support range requests 8 months ago

README.md

pag - a password generator

Generates random strings, gibberish (pronounceable passwords), or “correct-horse-battery-staplepassphrases in English or German.

web app

The probably user-friendliest password generator out there - just enter the address, press enter and Ctrl+C the password to your clipboard.

There are no prerequisites - just put it into a directory served by any webserver (which should support range requests for the generators D and E). Or use my public instance:

https://pag.momar.io

Tip of the day decade: press the keys 1-4 to select a strength, and A-E to select a generator.

command line

A simple command-line interface for password generation. Requires node.js & npm.

$ npm install -g pag-cli
$ pag --help
$ pag        # medium gibberish
$ pag a3     # strong random
$ pag a3 -c  # copy to clipboard (linux only, requires xclip)

is it secure?

Quick answer: probably, and the default (medium gibberish) passwords are safe enough for everyday accounts.

Passwords are completely generated client-side using the window.crypto API, the connection to the public instance is secured using HTTPS, there are no requests to third-party servers, and I don’t collect any information about you (not even your IP address).

Entropy should be similar accross the generator types for the same strength, although it would be great if someone could do the math here - I just calculated it roughly.

There is one thing that might be an issue for you: when using the generators D and E, the word lists are requested from the server in chunks of 1024 KB (the full lists are a couple of Megabytes in size, I don’t want to make the page slow or consume lots of bandwidth), so the server could theoretically see how many passwords you generated and which words could be used in your passwords. I personally don’t collect or use any of that information from the public instance, but please at least make sure that you’re on an HTTPS connection.
If this is an issue for you, please use the command line app, or append #nochunks to the URL. This will require up to 30 MB to be downloaded though!

Fun fact: the German passphrases are more secure because there are more German words.


Thanks for the following content provided by other people: