Standalone versions of the SS64.com password generators
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HTML+JS HTML version w/o templates and with verif. code Apr 27, 2015
Powershell Corrected typo in Read-Host in the PS Module Apr 19, 2018
bash Fix typo May 12, 2018
zsh Update zsh version to handle xclip under GNU/Linux Nov 17, 2018
.gitignore Initial version Oct 31, 2013
LICENSE Initial version Oct 31, 2013
README.markdown Update README to include the zsh version May 11, 2018

README.markdown

These are standalone versions of the password generators from ss64.com.

There are two password generators:

Here there are three versions of each of these generators:

  • Bash
  • zsh
  • Powershell
  • Standalone HTML + Javascript

Using the bash version

  • copy passwdgen.bash from the bash subdirectory into your home directory

  • add the following line to your .bashrc:

    source passwdgen.bash
    

Next time you start bash, you can use the following commands:

strongpw site1 [site2...]
stdpw    site1 [site2...]

You will be prompted for the master key. Then, if there is only one site specified, you will get the password into the clipboard, else passwords will be echoed in your terminal.

An additional verification code will appear, that will be always the same (depends only on the typed-in master key). It can help you detect whether you mistyped your key.

Using the zsh version

  • copy passwdgen.zsh from the zsh subdirectory into your home directory

  • add the following line to your .zshrc:

    source passwdgen.zsh
    

Next time you start zsh, you can use the following commands:

strongpw site1 [site2...]
stdpw    site1 [site2...]

You will be prompted for the master key. Then, if there is only one site specified, you will get the password into the clipboard, else passwords will be echoed in your terminal.

An additional verification code will appear, that will be always the same (depends only on the typed-in master key). It can help you detect whether you mistyped your key.

Using the Powershell version

  • Make a Documents\WindowsPowerShell\Modules\PasswdGen subfolder in your user profile folder

  • Copy the .psd1 and .psm1 files into that folder

  • In your user profile, create the file Microsoft.PowerShell_profile.ps1 in the subfolder Documents\WindowsPowerShell if it does not exist, and then add the following line:

    Import-Module PasswdGen
    
  • If your Powershell execution policy does not allow scripts, duplicate a powershell shortcut and add -ExecutionPolicy Unrestricted to the command line; use that shortcut to start Powershell when using the scripts

Next time you start Powershell (with the appropriate execution policy), you can use the following commands:

Get-StrongPw site1 [site2...]
Get-StdPw    site1 [site2...]

They work exactly like the bash counterparts.