Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.65 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.65 KB

passwordmanager

minimalist commandline passwordmanager using Keyring

Generate passwords, store it in the system Keyring. By default, when looking up a password, it is copied to the clipboard (and removed from clipboard after 15seconds.)

Passwords are generated/derived using a 24 character masterkey . Store the masterkey in a save place, so passwords can be re-generated if needed.

    Usage: pwman.py <url> <loginname> [-g] | [-hvdt]

    Options:

      -g, --generate          Generate and store new password.
      -d, --dump-masterkey    Show masterkey.
      -p, --print             Display password, do not copy to clipboard
      -h, --help              Show this screen.
      -v, --version           Show version.
install
  • pip install -r requirements.txt
Examples:

Generate and lookup

  $ python pwman.py google.com  [email protected] -g     
  $ python pwman.py google.com  [email protected]
    Password has been copied to the clipboard.

  $ python pwman.py twitter.com testname  -g     
  $ python pwman.py twitter.com testname -p
    ZS5eSceE1fRuhE/RRkoqzrw9xvbbjyPYcKtthXQr1w=
Keyring

The system Keyring is used for storage. See keyring --help for more info.

Roadmap:
  • Create tests.
  • Use Keyring
  • Have a decent working commandline application.
  • Create a browser-plugin to request the login credentials.
  • Use some USB device to unlock data
Contribute.

Yes, build whatever you want. Start with creating a ticket that describes the problem.

Check issues for improvements, ideas, etc.