abondis / passhole

KeePass CLI + dmenu interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passhole

Passhole is a CLI interface for KeePass 1.x (v3) and 2.x (v4) databases with support for dmenu.

Passhole allows you to edit and generate passwords much in the same way as the popular pass utility.

Passhole can also generate correct horse battery staple style passwords, which have plenty of entropy (when using 5 or more words) and are easier to type out manually than random alphanumeric passwords.

Dependencies

  • PyUserInput
  • pykeepass
  • gnupg

Installation

Install through pip

Or latest

Example Usage

Note: This program uses GPG to store temporary files, you need to have a GPG key available

Troubleshooting

GPG key doesn't exist or is not loaded in GPG agent

If you are not using a keyfile, it can be your password cache that is incorrect. You can try some of the following options:

  • --nocache : it should prompt for the password
  • --nokeyfile : it should skip trying to open the db with a keyfile
  • delete ~/.cache/passhole_cache : it's an encrypted file containing the db password

About

KeePass CLI + dmenu interface


Languages

Language:Python 100.0%