Skip to content

salsifis/ss64-password-generators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Standalone versions of the SS64.com password generators

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published