Package: pwdmanager
Keep your passwords safe and closeThis is a command line tool to manage your passwords. Those are stored locally in an encrypted JSON formatted file. The
encryption and decryption is performed byGPG. Passwords unlocking is done using a master password.Benefits of using this program include :use difficult and different passwords to secure your accountsyou don’t have to trust third parties for storing your passwords : everything is stored locallyprovide high end and reliable encryption withGPGit is open source : anybody can check the codeinstallationWith pip or your favorite package manager:pip install pwdmanager
pipenv install pwdmanager
poetry add pwdmanagerThat’s it.If you want to build the wheel yourself you have to havepoetryinstalled. Then change directory to the root of the sources and issue:poetry buildThen you can install the wheel with your favorite package manager:pip install dist/pwdmanager-XXX-py3-none-any.whl
pipenv install dist/pwdmanager-XXX-py3-none-any.whl
poetry add pwdmanager --path=dist/pwdmanager-XXX-py3-none-any.whlrequirementsYou need to haveGPGinstalled.databaseThe database is a local JSON file. It is encrypted. At first usage it will be initialised. The default location is~/.pwddbbut you can provide you own location.conceptsAn entry in basically a container for an account information. The password database is a list of entries. An entry has
the following attributes:namethis is an id of the entry. Two entries cannot have the same name.loginaccount loginpasswordaccount passwordlogin aliasa second or alternative account loginaliasesone entry can have several aliases. Each alias is an id of the entry. Two entries cannot have the same alias.
Useful to provide easier to match or remember namestagsone entry can have several tags. Useful to categorize entries. You can search with tagscreation dateentry creation date. Immutable.last update dateobvioususageusage: pwdmanager [-h] [-d DATABASE] [-p MASTER_PASSWORD]
                    {add,show,list,rm,update} ...

positional arguments:
  {add,show,list,rm,update}

optional arguments:
  -h, --help            show this help message and exit
  -d DATABASE, --database DATABASE
                        specify where the database is located
  -p MASTER_PASSWORD, --master-password MASTER_PASSWORD
                        password to crypt and decrypt the databaseThere are 5 main commands:addto add a new entryshowto list all the attributes of a particular entry, you have to give the exact name or alias of an entrylistto look for entries. Can be used without any parameter, in that case all entries will be listed. You can also provide
a string, then all the entries with name or aliases containing this string will be listed. You can filter by tag also.rmto remove an entry. No confirmation asked, be careful.updateto modify an entryFor all those commands, use the-h/--helpflag to have details about parameters:pwdmanager add -hbe carefulChoose your master password wisely. Do not forget it or you won’t be able to recover your databaseWhen adding a password you specify it in the command. Thus it may be stored in the shell history. Therefore I strongly
recommend to clean your history after adding passwords. On linuxsed-i/^pwdmanager/d~/.bash_historywill do the trick
in most cases.When adding a password I recommend you surround it by single quotes because special characters may be interpreted
by the shellback your password database up