Simple command-line password generator written in Go
Go to file
Maximilian 43b8d3b618 Update binaries to 1.3.1 2023-02-14 16:33:07 -06:00
bin Update binaries to 1.3.1 2023-02-14 16:33:07 -06:00
.gitignore Remove .exe file extension, it false flags on Windows 10 antivirus 2022-10-21 10:05:31 -05:00
LICENSE Initial commit, version 1.0 2022-08-02 17:40:58 -05:00
README.md Update README.md 2023-02-07 08:16:09 -06:00
go.mod Update Go version to 1.20 2023-02-14 15:27:24 -06:00
go.sum Add go.sum 2023-02-14 15:27:38 -06:00
main.go Use switch statements for argument matching, use a map for removing disallowedCharacters, and set up worker pool for concurrent "chunk" generation of the password 2023-02-14 16:12:02 -06:00
makefile Update version 2023-02-14 16:12:15 -06:00

README.md

GoPass

An easy to use command-line password generator that creates secure passwords

Usage:

./gopass [number of characters]
or
./gopass [number of characters] -r=[excluded characters] [-s to remove all symbols]


eg: ./gopass 32
output: E$bGOiiPASS*,ISl{!MJ&<\[COOL0eVw
eg: (with excluded characters): ./gopass 32 -r=$,!
output: EYbGOiiPASS*2ISl{?MJ&<\[COOL0eVw <- note the excluded characters are not present in the output
eg: ./gopass 32 -s
output: LEYbGOiiPASS2ISlMJCOOL0eRt3KPOVw <- note the symbols are not present in the output
eg: ./gopass 32 -r=$,! -s the -r and -s flags can be combined

How to install/use for Windows:

  1. Download Windows binary, it may be helpful to simply rename it to "gopass.exe" (make sure to add .exe, this won't need to be typed to execute the file from the CLI, but it is required for Windows to recognize the binary) to keep commands shorter.
  2. Move the file to your C:\Users\[Username] directory
  3. Opening the console without Administrator privileges will put you in the directory mentioned above by default
  4. Now type gopass [number of characters] (Ex. gopass 64) to generate a new password!

How to install/use for Linux:

  1. Download Linux binary, it may be helpful to simply rename it to "gopass" to keep commands shorter.
  2. Move the file to your home directory.
  3. chmod +x gopass if necessary
  4. Opening your terminal should put you in your home directory by default, if not, just type cd to get sent back to home.
  5. Now type ./gopass [number of characters] (Ex. ./gopass 64) to generate a new password!