Skip to content

bajaco/dpass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dpass

Quick and dirty password manager.

Usage

  1. Set the FILES_DIR in pass.py. Example: /home/myname/dpass
  2. Set the KEY_DIR in pass.py.
  3. Run the python script with the site name as an argument or without Example: python pass.py github or python pass.py
  4. If run without command line argument enter the site name now.
  5. The password will be copied to the system clipboard. If it does not exist it will be generated first.

The strings are encrypted, which serves no purpose as the key is in the same directory, but may be useful if the KEY_DIR is set to an external drive such as /mnt/usb. I made this simply because I have a bad habit of reusing passwords which I am trying to break, and this is marginally better than writing them down.

Suggestions

I find this tool very useful if aliased. This is how I set it up on my system:

  1. Create virtual environment: python -m venv venv
  2. Activate: source venv/bin/active
  3. Install requirements: pip install -r requirements.txt
  4. Add alias to your ~/.bashrc file. For instance, on my system: alias dpass='/home/user/dev/pass/venv/bin/python /home/user/dev/pass/pass.py'
  5. Load/generate passwords! Example: dpass github

Use at your own risk!

About

Quick and dirty password manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages