Simple command-line password generator written in Go
Go to file
2023-02-07 08:21:16 -06:00
bin Add new release binaries for 1.3.0 2023-02-07 08:21:16 -06:00
.gitignore Remove .exe file extension, it false flags on Windows 10 antivirus 2022-10-21 10:05:31 -05:00
go.mod Switch to the latest Go version 2022-10-09 15:28:28 -05:00
LICENSE Initial commit, version 1.0 2022-08-02 17:40:58 -05:00
main.go Full refactor, remove dead code, remove math/rand, add version arg, remove symbol arg, help arg, and improve remove disallowed character argument 2023-02-07 08:06:22 -06:00
makefile Preemptively add building support (for version 1.3.0) for freebsd (386, amd64, and arm), plan9 (386, amd64, and arm), and Linux/Windows arm 2023-02-03 17:55:43 -06:00
README.md Update README.md 2023-02-07 08:16:09 -06:00

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!