Velkey

A fast, native password manager for your KeePass files.

  • LinuxUbuntu, Fedora, Arch · Flatpak
  • macOSIntel & Apple silicon
Download sourceVelkey-v0.1.10-source.zip · 374 KB All 1 download & checksums
Version
v0.1.10
Updated
License
GPL-3.0
Built with
Python
Downloads
1
Mirror

What it does

Velkey opens the same .kdbx databases as KeePass, KeePassXC and the KeePass mobile apps — no conversion, no account, no cloud. It has global Auto-Type that only types into the site an entry belongs to, live TOTP codes, safe atomic saves and a clean dark GTK interface, in pure Python on what your desktop already ships.

  • Full KDBX 3.1 / 4.x — AES-256, ChaCha20, Argon2
  • Global Auto-Type, matched to the right site
  • Built-in TOTP / 2FA codes
  • No Electron, no background daemons

Supported systems

  • LinuxUbuntu, Fedora, Arch · Flatpak
  • macOSIntel & Apple silicon

Downloads v0.1.10

FilePlatformSizeSHA-256Download
Velkey-v0.1.10-source.zipSource Any 374 KB Get
How to verify a download

Every file is hashed as it is mirrored. Drop a file you downloaded here and your browser checks it locally — nothing is uploaded.

Or compare the checksum with the one your system computes:

# Linux
sha256sum Velkey-v0.1.10-source.zip
# macOS
shasum -a 256 Velkey-v0.1.10-source.zip
# Windows (PowerShell)
Get-FileHash Velkey-v0.1.10-source.zip -Algorithm SHA256

Changelog

v0.1.10Velkey 0.1.10Nov 28, 2026

Fixed

  • KDE Plasma on Wayland: Minimize to tray instead of taskbar left Velkey in the taskbar as well as the tray, and Lock on minimize did not lock. GTK is never told about minimizing on Wayland, so Velkey now has KWin report it: minimizing hides Velkey to the tray icon (and locks, if that option is on).

Update

  • Linux: git pull, then restart Velkey with ./run.sh (or ./install.sh if you installed Velkey).
  • macOS: git pull, then ./runmac.sh (or ./installmac.sh if you installed Velkey.app).

Full list of changes: CHANGELOG.md

  1. Release 0.1.10

    296da53 ·
  2. Release 0.1.9

    53310b3 ·
  3. Release 0.1.8

    790cd63 ·
  4. Clipboard countdown no longer sticks at 1s

    ba1f540 ·
  5. Release 0.1.7

    ff7caf1 ·
  6. Touch ID: never fail silently; File -> Set Up Touch ID any time

    ab5b71a ·
  7. Release 0.1.6

    ba150fd ·
  8. Auto-Type: don't crash without a session D-Bus; fixes the CI test run

    9861a44 ·
  9. Touch ID unlock on macOS; fix skipped auto-saves on synced folders

    1ad919f ·
  10. Release 0.1.5

    2a5a15f ·
  11. Password generator in an entry: show an example, never the real password

    cecdd1b ·
  12. Release 0.1.4

    31e45a3 ·

Documentation

Velkey logo

Velkey

A fast, native password manager for Linux and macOS that opens your KeePass databases.

Your existing .kdbx files · Global Auto-Type · TOTP codes · No account, no cloud

Velkey main window

Install · Quick start · TOTP · Auto-Type · Shortcuts · FAQ · What's new


✨ Why Velkey

Velkey reads and writes the same .kdbx files as KeePass, KeePassXC, KeeWeb and the KeePass mobile apps. Point it at the database you already have. You don't need to convert or import anything, and every other app can still open the file.

🔐 Full KDBX 3.1 / 4.x
AES-256 or ChaCha20 · AES-KDF / Argon2d / Argon2id · password, key file, or both

⌨️ Global Auto-Type
Press Ctrl+Alt+Shift+Z on a login page and Velkey types your login, but only into the site it belongs to

⏱ TOTP / 2FA
Live one-time codes in the list and details panel. Ctrl+T copies the code

🌑 Native & dark
GTK 3 with a clean dark theme and an adjustable accent color

🪶 Lightweight
Pure Python on what your desktop already ships (GTK 3, OpenSSL). No Electron, no daemons

🛡 Safe saves
Atomic writes, a .bak of the previous version, and a warning if a sync tool changed the file

Also included: entry history, attachments, custom fields and icons, recycle bin, tags, expiry dates, password generator, drag & drop, smart filters, tray icon, auto-lock and clipboard auto-clear.


📦 Install

git clone https://github.com/narl3yyy-svg/Velkey.git
cd Velkey

Try it without installing. Run it straight from the folder:

./run.sh

Install it (for your user only, no root) once you're happy with it:

./install.sh

Velkey then appears in your app menu and .kdbx files open in it on double-click.

Command What it does
./run.sh Run from the folder, nothing installed. Your taskbar still shows the Velkey icon
./install.sh Install to ~/.local with a menu entry and .kdbx file association
./install.sh --autostart Also start minimized at login so global Auto-Type is always ready
./install.sh --uninstall Remove Velkey. Your databases and settings stay untouched

Requirements: Python 3.8+, GTK 3 with PyGObject, and OpenSSL 3.2+. These are preinstalled on Ubuntu 24.04+, Fedora, Arch and most KDE / GNOME desktops. If anything is missing, the installer offers to install it.

🍎 macOS (Apple silicon M1 or newer, Intel too)

You need Homebrew. Then, in Terminal:

git clone https://github.com/narl3yyy-svg/Velkey.git
cd Velkey
./runmac.sh

The first time, runmac.sh lists the Homebrew packages Velkey needs (GTK 3, PyGObject, OpenSSL 3, icons) and installs them after you say yes. ./run.sh does the same on a Mac.

Install it as a Mac app once you're happy with it:

./installmac.sh

This creates Velkey.app in your own Applications folder (~/Applications, no admin password). Open it from Spotlight, Launchpad or Finder and keep it in the Dock like any other app. .kdbx files open in it via right-click → Open With → Velkey. The app has its own copy of Velkey, so you can delete the downloaded folder afterwards.

Command What it does
./runmac.sh Run from the folder, nothing installed
./installmac.sh Install or update ~/Applications/Velkey.app
./installmac.sh --uninstall Remove the app. Your databases and settings stay untouched
Works on macOS Linux-only for now
Open, create and edit databases, tabs, search, groups Tray icon
TOTP codes, copy with ⌘C / ⌘B / ⌘T, clipboard auto-clear Lock when the screen locks
Touch ID to unlock
Auto-Type and the global hot key Control+Option+Shift+Z
Export / import entries, password generator, all settings

Auto-Type on macOS needs one permission: the first time, macOS asks you to allow Velkey under System Settings → Privacy & Security → Accessibility (when you run ./runmac.sh, allow Terminal instead). Velkey reads the page address from Chrome, Brave, Edge, Helium, Vivaldi and Firefox like on Linux; for Safari macOS asks once whether Velkey may read Safari's address. The password-box check works in apps that report their fields (Safari and native apps); elsewhere Velkey types user name → Tab → password like KeePass.

Touch ID: after you unlock a database with its password, Velkey offers to remember it in your Mac's Keychain; from then on the unlock screen asks for your fingerprint. You can also turn it on any time with File → Set Up Touch ID for This Database…, which says exactly why if it can't (no sensor, no fingerprint enrolled…). Typing the password always works too, and File → Forget Touch ID for This Database turns it off. ./runmac.sh --check-touchid checks it from Terminal. (Needs Apple's command-line tools, which Homebrew already installs.)

Something not working? ./runmac.sh --check-autotype checks each step (permission, active window, page address, hot key) and says what's missing.

Shortcuts work with ⌘ as well as Ctrl. Velkey uses GTK, so it looks the same as on Linux rather than like a native Mac app.


🚀 Quick start

  1. Open Velkey and click Open Database…, or File → New Database to start fresh.
  2. Unlock it with your master password (and key file, if you use one), then press Enter.
  3. Find an entry: pick a group on the left, or just start typing to search everything.
  4. Use it:
You want to… Do this
Copy the user name / password Ctrl+B / Ctrl+C, or double-click the cell
Copy the 2FA code Ctrl+T, or double-click the OTP cell
Open the website Ctrl+U, or double-click the URL
Log in automatically Click into the site's login form, press Ctrl+Alt+Shift+Z
Add / edit an entry Ctrl+I / Enter
Save Ctrl+S

When Velkey saves

You… Saved?
Add an entry and press OK Yes, right away
Edit an entry and press OK Yes, right away (Cancel saves nothing)
Delete an entry, group or custom icon No. The tab shows *. Ctrl+Z brings it back, Ctrl+S saves the deletion. Closing or locking asks you first.

Deleting by accident never reaches the file on its own: automatic saves after adding or editing write everything except pending deletions. You can change this in Tools → Options → Files.

After you copy something, Velkey steps back: the window you were using (e.g. your browser) comes to the front, so you can paste right away. On KDE it picks the window on the same monitor; turn it off in Tools → Options → Security.

Anything you copy is wiped from the clipboard after 12 seconds (change it in Tools → Options). Velkey remembers the databases you had open and the group and entry you were on in each, but never your passwords.


🗂 Several databases at once

Open another database (Ctrl+O) and it gets its own tab. The databases you already have open stay open.

  • Switch tabs with a click, Ctrl+Tab, or Ctrl+Page Down / Page Up. Drag a tab to reorder it.
  • Close one with its × or Ctrl+W. Lock (Ctrl+L) locks all of them.
  • Global Auto-Type looks in every unlocked tab.
  • Next time you start Velkey, the same tabs come back (locked).

Move an entry to another database

Both databases on this computer Taking it to another computer or person
Open both, go to the tab with the entry, right-click it → Copy to Database → pick the other database Highlight one or more entries (Ctrl/Shift+click, or Ctrl+A), right-click → Export Selected Entries… Velkey saves them in one small encrypted .kdbx file with a password you choose
In the other database: right-click → Import Entries… (also in the Entry and File menus), pick that file and type its password. The entries land in the selected group

If the other database already has some of the entries (same title, user name, password and URL, or the same entry with an older or newer password), Velkey lists them and lets you skip the duplicates, import anyway, or cancel.

Copies keep everything: password, 2FA code, attachments, icon, Auto-Type rules and history. The original stays where it was. To move it instead, delete the original after copying. The exported file is a normal KeePass database, so KeePass and KeePassXC can open it too.


⏱ Two-factor codes (TOTP)

  1. On the website, start setting up an authenticator app. Next to the QR code there is usually a link like "Can't scan it?" that shows the setup key.
  2. In Velkey, edit the entry (Enter) and open the OTP tab.
  3. Paste the setup key (e.g. JBSW Y3DP EHPK 3PXP) or a full otpauth:// link. The live code appears under Current code.
  4. Click OK, then type the code from Velkey into the website to finish setup.

Tip

Paste the setup key, not the 6-digit code. Velkey warns you if you paste a code by mistake. If you copy a code with only a few seconds left, Velkey copies the next code instead, so it doesn't expire before you can paste it.

Codes are stored in the standard KeePass 2.47+ format, so they work in KeePass, KeePassXC and mobile apps too. Velkey also reads codes created by KeePassXC, KeeOtp and Steam Guard.


⌨️ Auto-Type

Auto-Type types your login into a website or app for you. It's faster than copy & paste, and it never touches the clipboard.

Global Auto-Type: Ctrl+Alt+Shift+Z

  1. Open the login page and click into the user name field.
  2. Press Ctrl+Alt+Shift+Z.
  3. Velkey looks at the active window, finds the matching entry and types user name → Tab → password → Enter. If several entries match, you get a short list to pick from.

Auto-Type the selected entry: toolbar ⌨ button or Ctrl+V

Velkey minimizes itself and types into the window you were in before. It types only if that window belongs to the entry. Otherwise it cancels and tells you why.

How Velkey knows it's the right site

In a browser, Velkey reads the page's real URL from the browser's own session file, so it knows the actual site even when the window just says "Example Mail - Helium". This works with Chrome, Chromium, Helium, Brave, Vivaldi, Edge, Opera, Firefox, LibreWolf and Zen (including Flatpak and Snap). Then an entry matches when:

  • its URL is on the same site: an entry for https://accounts.google.com ↔ a tab on mail.google.com
  • one of its window rules (Edit Entry → Auto-Type tab) fits. A rule that is a web address is checked against the page URL, e.g. https://login.example.com/users/* (KeePass's ??:URL:https://… form works too)

When the URL is known, a page that only looks right (same title, different domain) is not matched. In other apps, or if the URL can't be found, Velkey falls back to the window title:

  • its title or URL domain appears in the window title: an entry named GitHub ↔ "Sign in to GitHub — Brave"
  • a window rule fits the title. Rules support * wildcards and //regex//

Note

Browsers save their tab list about 2 seconds after a page loads. If you press the hot key the instant a page appears, Velkey waits a moment and checks again.

Accented letters and symbols your keyboard doesn't have

On Wayland Velkey types with the keys of your keyboard layout. Characters your layout has no key for (é, ß, ¼ on a US keyboard) are pasted instead: Velkey puts just those on the clipboard (marked secret, so clipboard history ignores them), presses Ctrl+V, and blanks the clipboard again. Turn it off in Tools → Options → Auto-Type if you prefer.

The password only goes into a password box

Velkey checks which field the cursor is in before it types your password:

Where you clicked What Velkey does
The password box Types only the password (and Enter). The user name part is skipped
The user name box Types the user name and Tab. It types the password only if the cursor then lands in a password box. Otherwise it stops and tells you
On two-step logins (Google, Microsoft…), press the shortcut once on the user name page, click Next, then click the password box and press it again.

Velkey reads the field type through the Linux accessibility system (AT-SPI), the same thing screen readers use. This works automatically in Firefox and in regular desktop apps. Chrome, Helium, Brave and other Chromium browsers don't report their fields unless their accessibility is turned on, so there Velkey types the usual user name → Tab → password, like KeePass does. The site check above still applies, so nothing is ever typed into the wrong site. There's nothing to set up either way.

If nothing matches, nothing is typed. You can relax this in Tools → Options → Auto-Type → "Only type into a window that matches the entry", but it's on by default for your safety.

Custom sequences (two-step logins, 2FA, special keys)

The default sequence is {USERNAME}{TAB}{PASSWORD}{ENTER}. Override it per group or per entry using standard KeePass syntax:

Code Types
{USERNAME} {PASSWORD} {TITLE} {URL} {NOTES} entry fields
{TOTP} the current one-time code
{S:Field Name} a custom field
{TAB} {ENTER} {SPACE} {BS} {DEL} {ESC} {UP} {F1}… special keys ({TAB 3} repeats)
{DELAY 500} / {DELAY=50} pause once / set delay between keys (ms)
{CLEARFIELD} select all and delete
+ ^ % ~ Shift, Ctrl, Alt, Enter (^a = Ctrl+A)

Example for a two-step login with 2FA:

{USERNAME}{ENTER}{DELAY 1500}{PASSWORD}{ENTER}{DELAY 2000}{TOTP}{ENTER}
Hot key setup per desktop
Desktop Setup
KDE Plasma (Wayland & X11) Automatic. Change it in Tools → Options → Auto-Type or System Settings → Shortcuts → Velkey
GNOME Added by install.sh as a custom keyboard shortcut
Other X11 desktops Grabbed directly by Velkey
Sway, Hyprland, … Bind velkey --auto-type in your compositor config

On Wayland, the first Auto-Type asks once for permission to send keyboard input. Choose Allow (and Remember if offered). Global Auto-Type works while Velkey is running, so use --autostart or close to tray to keep it ready.


⌨️ Keyboard shortcuts

Shortcut Action Shortcut Action
Ctrl+Alt+Shift+Z Global Auto-Type Ctrl+I Add entry
Ctrl+V Auto-Type selected entry Enter Edit entry
Ctrl+B Copy user name Ctrl+K Duplicate entry
Ctrl+C Copy password Delete Delete entry
Ctrl+T Copy TOTP code F2 Edit group
Ctrl+U Open URL Ctrl+F Search
Ctrl+Shift+U Copy URL Ctrl+G Password generator
Ctrl+S Save Ctrl+L Lock workspace
Ctrl+O / Ctrl+N Open / new database (new tab) Ctrl+Q Quit
Ctrl+Tab Next database tab Ctrl+W Close database tab

⚙️ Settings

Tools → Options

  • Security: clipboard clear time, lock after inactivity, lock with the screen or on minimize
  • Interface: tray icon, minimize / close to tray, start minimized, hide passwords or user names, OTP column, accent color
  • Auto-Type: hot key (click and press a new combo), typing speed, URL matching, strict window matching, always show the picker
  • Files: reopen last database, keep .bak backups, auto-save

File → Database Settings covers name, encryption, key derivation, recycle bin and history limits. File → Change Master Key changes your password or key file.


🔒 Security

  • All encryption runs through your system's OpenSSL. There is no hand-rolled crypto for the heavy lifting.
  • Your master password is never stored. Only the path of the last database and key file is remembered (~/.config/velkey/config.json).
  • Databases are saved as KDBX 4.1. KDBX 3.1 files are upgraded on first save. KeePass 2.35+, KeePassXC and current mobile apps all read KDBX 4.
  • Not supported: Twofish databases (a KeePass plugin cipher), KeePass 1.x .kdb files, KeePass plugins.
  • Copied passwords are marked as secret, so clipboard managers like Klipper don't save them in their history. When the timer runs out, the clipboard is left blank (not refilled from the clipboard history).
  • Found a security problem? Please report it privately. See SECURITY.md.

🛠 Development

python3 -m unittest discover -s tests -t .   # run the tests (no extra packages needed)
sh tools/install-hooks.sh                    # block pushes that contain personal data

The tests check the encryption against published test vectors (NIST, RFC 8439, RFC 9106, RFC 6238), round-trip real database files, and cover the Auto-Type safety rules. GitHub runs them on every push, together with a CodeQL security scan and a scan for personal data. Use demo data (alex@example.com, example.com) in tests, docs and screenshots.


🧩 Command line

velkey [FILE.kdbx]     open Velkey (optionally with a database)
velkey --auto-type     trigger global Auto-Type in the running instance
velkey --lock          lock the running instance
velkey --minimized     start minimized (to the tray if available)
velkey --version

(Use ./run.sh in place of velkey when running from the folder.)


❓ FAQ

The hot key does nothing
  • Velkey must be running (it can be minimized or in the tray).
  • The database must be unlocked. If it's locked, Velkey pops up and asks for your password first.
  • The window must match an entry (see How Velkey knows it's the right site). If none matches, you get a notification that nothing was typed.
  • On KDE, check that nothing else uses the shortcut: System Settings → Shortcuts → Velkey.
Can I get the password-box check in Chrome / Helium / Brave too?

Yes, optionally. Those browsers only report their fields when started with --force-renderer-accessibility (add it to the end of the Exec= line in the browser's .desktop file), or for one session via chrome://accessibility → Native accessibility API support. To see what Velkey sees, run VELKEY_DEBUG=1 ./run.sh and click a password box. A line like [velkey a11y] focus … role=password text should appear.

The website says my 2FA code is wrong
  • Make sure you pasted the setup key in the OTP tab, not a 6-digit code.
  • Check that your computer clock is correct (timedatectl should show System clock synchronized: yes).
  • Some sites use 8 digits or SHA-256. Paste the full otpauth:// link, which carries those settings.
Can I keep using KeePass / KeePassXC on the same file?

Yes. Velkey keeps everything in the standard format, including TOTP, history and attachments. If the file changes on disk while Velkey has it open (e.g. from Syncthing or Nextcloud), Velkey warns you before saving.


Free software under the GNU GPL v3.0.
Velkey is an independent project and is not affiliated with KeePass or Dominik Reichl.

↑↓ navigate↵ open