• Stars
    star
    192
  • Rank 200,841 (Top 4 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A secure hole for your passwords (KeePass CLI)

Passhole

passhole is a commandline password manager for KeePass inspired by pass.

https://i.imgur.com/lWLgbo3.gif

Features

  • fill user/pass field in any application via keyboard shortcut
  • add, delete, move, edit, rename entries and groups
  • generate alphanumeric, symbolic, or correct horse battery staple style passwords
  • temporarily cache database password (by default for 10 minutes)
  • multiple databases
  • supports KeePass v3 and v4 databases
  • supports TOTP

See below for examples and the manual (or man passhole) for a complete list of commands and options.

Setup

pip install passhole
ph init

# optionally install zenity for graphical password prompt
sudo apt install zenity

Example Usage

# add a new entry with manually created password
$ ph add github
Username: Evidlo
Password:
Confirm:
URL: github.com

# add an entry with a generated alphanumeric password
$ ph add neopets -a
Username: Evidlo
URL: neopets.com

# add a new group
$ ph add social/

# add an entry to `social/` with a 32 character password (alphanumeric + symbols)
$ ph add social/facebook -s 32
Username: [email protected]
URL: facebook.com

# add an entry to `social/` with a correct-horse-battery-staple type password
$ ph add social/twitter -w
Username: [email protected]
URL: twitter.com

# list all entries
$ ph list
github
neopets
[social]
β”œβ”€β”€ facebook
└── twitter

# display contents of entry
$ ph show social/twitter
Title: twitter
Username: Evidlo
Password: inns.ambien.travelling.throw.force
URL: twitter.com

# retrieve contents of specific field for use in scripts
$ ph show social/twitter --field password
inns.ambien.travelling.throw.force

Example i3wm Keybindings

# select entry using dmenu, then send password to keyboard
bindsym $mod+p exec "ph type --prog dmenu"

# select entry using dmenu, then send username + password to keyboard
bindsym $mod+Shift+p exec "ph type --tabbed --prog dmenu"

Testing and Development

Running tests

# from repo root dir:
python test/tests.py

Isolated install in Docker

# debian
make docker_debian

Building manpage and packaging

make man
make dist

See also

Build Dependencies

Alpine

apk add gcc libffi-dev py3-lxml py3-pip python3-dev libc-dev

More Repositories

1

remarkable_mouse

use your reMarkable as a graphics tablet
Python
436
star
2

remarkable_news

Daily news/comics on your reMarkable's suspend screen
Go
266
star
3

remarkable_printer

Native printing to reMarkable.
Go
239
star
4

remarkable_entware

Entware installer modified for reMarkable Tablet
Shell
149
star
5

remarkable_syncthing

Self-hosting syncing solution for reMarkable
149
star
6

remarkable_pdflets

mini apps for reMarkable inside xochitl
Shell
71
star
7

picklecast

Share your screen to a projector with only a web-browser.
JavaScript
59
star
8

remarkable_keyboard

Use a reMarkable tablet as a wireless mouse and keyboard
Python
29
star
9

legoman

Minimal static website generator
Python
9
star
10

markdown_captions

Python-Markdown plugin for image captions
Python
8
star
11

redrum

Reddit wallpaper changer. Does math to rank images.
Python
8
star
12

shkype

VOIP calling for 2020
Shell
5
star
13

erandr

Simple xrandr wrapper for quick monitor configuration
Shell
5
star
14

examples

Reference code snippets
Python
5
star
15

remarkable_sim

reMarkable simulator
Python
5
star
16

nanpa_lookup

Look up NPA-NXX records
Python
3
star
17

remarkable_pdfstore

Testing PDFs as notebook storage backend for reMarkable
Python
3
star
18

rosen

Ground Software for SEAQUE Mission aboard the ISS
Python
3
star
19

scripts

Collection of some useful scripts
HTML
2
star
20

illinikey

Offline password generation for UIUC's two-factor login
Python
2
star
21

uiuc_ruler

UIUC PCB Ruler
1
star
22

navigation

HackIllinois Navigational Aid App
Java
1
star
23

postscript

PostScript
1
star
24

i3config

Contains all my personal settings for i3wm, including statuslines for i3bar
Shell
1
star
25

evidlo.github.io

My static Cereal website
HTML
1
star
26

plug

My Purdue LUG document and presentation archive
TeX
1
star
27

collar

Wifi Controlled LED Collar
HTML
1
star
28

xmlnative

Map XML elements to python types.
Python
1
star
29

cereal

A minimal static website generator.
Python
1
star
30

dotrm

Parsing reMarkable .rm format
Kaitai Struct
1
star
31

test

A test repository
1
star