All Projects → ususdei → qute-keepassxc

ususdei / qute-keepassxc

Licence: MIT license
Qutebrowser userscript to fetch credentials from KeepassXC password database

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to qute-keepassxc

keepassxc-pwned
Check your keepassxc database against previously breached haveibeenpwned passwords
Stars: ✭ 25 (-43.18%)
Mutual labels:  password, keepass, keepassxc
Keepassxc
KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
Stars: ✭ 11,623 (+26315.91%)
Mutual labels:  password, keepass, keepassxc
Keeweb
Free cross-platform password manager compatible with KeePass
Stars: ✭ 10,587 (+23961.36%)
Mutual labels:  password, keepass
buttercup-importer
🎣 3rd-party archive importer for Buttercup
Stars: ✭ 39 (-11.36%)
Mutual labels:  password, keepass
Csvkeychain
Import/export between Apple Keychain.app and plain CSV file.
Stars: ✭ 281 (+538.64%)
Mutual labels:  password, keepass
Keepass4web
An application that serves KeePass database entries on a web frontend
Stars: ✭ 115 (+161.36%)
Mutual labels:  password, keepass
keevault
Kee Vault is a password manager for your web browser. Password databases (Vaults) are encrypted using the KeePass storage format before being sent to a remote server for synchronisation across any modern device/browser
Stars: ✭ 57 (+29.55%)
Mutual labels:  password, keepass
CryptoKnight
CryptoKnight is a general purpose cryptography desktop app
Stars: ✭ 18 (-59.09%)
Mutual labels:  password
WindowTextExtractor
WindowTextExtractor allows you to get a text from any window of an operating system including asterisk passwords
Stars: ✭ 128 (+190.91%)
Mutual labels:  password
bcrypt
BCrypt is a password hashing function
Stars: ✭ 138 (+213.64%)
Mutual labels:  password
obliviate
A password manager that forgets your passwords
Stars: ✭ 22 (-50%)
Mutual labels:  password
bookshelf-secure-password
A Bookshelf.js plugin for handling secure passwords
Stars: ✭ 24 (-45.45%)
Mutual labels:  password
input-password-bullet
How to replace the input password bullet in most browsers
Stars: ✭ 75 (+70.45%)
Mutual labels:  password
django-reset-password
This project is an implementation example for reset password of django
Stars: ✭ 21 (-52.27%)
Mutual labels:  password
omniauth-kerberos
OmniAuth strategy for kerberos authentication.
Stars: ✭ 13 (-70.45%)
Mutual labels:  password
DevBrute-A Password Brute Forcer
DevBrute is a Password Brute Forcer, It can Brute Force almost all Social Media Accounts or Any Web Application.
Stars: ✭ 91 (+106.82%)
Mutual labels:  password
niceware
🔒 Generate or convert random bytes into passphrases. A Rust port of niceware.
Stars: ✭ 20 (-54.55%)
Mutual labels:  password
pagecrypt
Password Protected Single Page Applications and HTML files
Stars: ✭ 124 (+181.82%)
Mutual labels:  password
Ob3vil1on
Another archive cracker created in python | cracking [zip/7z/rar] by bruteforcing [ NOT MAINTAINED ]
Stars: ✭ 17 (-61.36%)
Mutual labels:  password
pass-audit
A pass extension for auditing your password repository.
Stars: ✭ 71 (+61.36%)
Mutual labels:  password

Introduction

This is a qutebrowser userscript to fill website credentials from a KeepassXC password database.

Installation

First, you need to enable KeepassXC-Browser extensions in your KeepassXC config.

Second, you must make sure to have a working private-public-key-pair in your GPG keyring.

Then, simply check out this repository and, if you do not want to configure an explicit path, symlink the qute-keepassxc to your ~/.local/share/qutebrowser/userscripts/qute-keepassxc. Install the python module pynacl. Make sure qute-keepassxc is executable.

Finally, adapt your qutebrowser config. You can e.g. add the following lines to your ~/.config/qutebrowser/config.py Remember to replace ABC1234 with your actual GPG key.

config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key ABC1234', mode='insert')
config.bind('pw', 'spawn --userscript qute-keepassxc --key ABC1234', mode='normal')

If you did not symlink qute-keepassxc you need to provide the full path here.

N.B. To manage multiple accounts you need the rofi program.

Usage

If you are on a webpage with a login form, simply activate one of the configured key-bindings.

The first time you run this script, KeepassXC will ask you for authentication like with any other browser extension. Just provide a name of your choice and accept the request if nothing looks fishy.

How it works

This script will talk to KeepassXC using the native KeepassXC-Browser protocol.

This script needs to store the key used to associate with your KeepassXC instance somewhere. Unlike most browser extensions which only use plain local storage, this one attempts to do so in a safe way by storing the key in encrypted form using GPG. Therefore you need to have a public-key-pair readily set up.

GPG might then ask for your private-key passwort whenever you query the database for login credentials.

TOTP

This script recently received experimental TOTP support. To use it, you need to have working TOTP authentication within KeepassXC. Then call qute-keepassxc with the --totp flags.

For example, I have the following line in my config.py:

config.bind('pt', 'spawn --userscript qute-keepassxc --key ABC1234 --totp', mode='normal')

For now this script will simply insert the TOTP-token into the currently selected input field, since I have not yet found a reliable way to identify the correct field within all existing login forms. Thus you need to manually select the TOTP input field, press escape to leave input mode and then enter pt to fill in the token (or configure another key-binding for insert mode if you prefer that).

Compatiblity

Tested with:

  • KeepassXC 2.6.6
  • qutebrowser v2.4.0
  • python 3.9.7

Links

License

Copyright (c) 2018-2021, Markus Blöchl. Released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].