Basilisk 1.0.0

A local OpenPGP tool, encrypted key vault and authenticator in the Snake family. It runs on the machine in front of you. Private keys, recovery phrases, backup codes and authenticator secrets never leave the device. The only optional network use is public keys and signed recovery challenges sent to a local Snake Dex instance.
🔑

OpenPGP keys

Generate Ed25519 (EdDSA + Curve25519 subkey) or RSA 3072/4096 keys, passphrase-protected and stored in the vault. Encrypt, decrypt, sign and verify text and files, including sign-while-encrypting and clearsign, detached or inline signatures. Output is standard OpenPGP (RFC 4880 / 9580) and works with GnuPG.

🔐

Encrypted vault

Your master passphrase is stretched with Argon2id and seals the vault with AES-256-GCM. Auto-lock on idle. A recovery phrase (12 or 24 words) and backup codes sit in the same file. Vault location: %APPDATA%\Basilisk on Windows, ~/.basilisk elsewhere, or BASILISK_DATA_DIR.

⏱

Authenticator

RFC 6238 TOTP codes with SHA1, SHA256 or SHA512, 6 or 8 digits and 30 or 60 second periods. Add a secret by hand or from a local QR image. Entries can carry an optional SnakeDex handle. Quick add SnakeDex fills issuer and handle locally and never contacts Snake Dex.

Install and run

Basilisk is a local Python application. Install the pinned dependencies from requirements.txt, then run main.py. It is not a browser app.

Windows

py -3.12 -m venv .venv
.venv\Scripts\pip install -r requirements.txt
.venv\Scripts\python main.py

To build the Windows executable, run build_windows.bat. It writes dist\Basilisk\Basilisk.exe.

Linux and macOS

python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python main.py

On Python 3.13 install a current PyQt6 build (6.12 or later) if the pinned 6.7.1 wheel is not available, plus standard-imghdr.

Android packaging is documented in CROSS-PLATFORM.md (Briefcase bundle au.com.rohankells.basilisk).

Source

The download is the unmodified Basilisk 1.0.0 source: Python modules, docs, official assets, Android files, the example plugin, tests and application screenshots. It does not include keys, vaults, test secrets or a plugins.toml enabled state.
SHA-2561859bdd5252c02af09b3aa7aa9738fd77165c10af9670595e6ac86f90df35ff6

Plugins

Plugins are optional and off by default. Turn them on with --plugins, or put enabled = true in plugins.toml. A plugin is ordinary Python running inside Basilisk and is not sandboxed. Only load code you wrote or trust, and pin it with allow_sha256.
LocationPlugin folder: %APPDATA%\Basilisk\plugins on Windows, ~/.config/basilisk/plugins elsewhere. Override with BASILISK_PLUGIN_DIR. plugins.toml sits next to that folder.
Commands and eventsA plugin defines register(api) and can add a command or listen for on_startup, on_encrypt, on_decrypt, on_sign and on_verify. Handlers receive a read-only mapping of allow-listed, non-secret fields.
Pinningbasilisk plugins list shows each file and its SHA-256. When allow_sha256 is present, only files with those hashes are loaded. The hash is taken from the exact bytes that are then executed.
SafetyPlaintext, passphrases, private keys and authenticator seeds are never passed to a handler. A plugin that fails to load is skipped and Basilisk keeps running. A broken plugins.toml disables plugins rather than loading everything. See PLUGINS.md and examples/plugins/hello.py.

Inside Basilisk

Light and dark themes, one tab per job.
Basilisk keyring tab
Keyring: your keys and imported public keys with trust flags
Basilisk authenticator tab
Authenticator: TOTP codes with a live countdown
Basilisk encrypt tab
Encrypt: text or dropped files, optionally signed
Basilisk vault tab
Vault: recovery phrase, backup codes and idle lock
Basilisk generate tab
Generate: Ed25519 or RSA keys, passphrase protected
Basilisk sign tab
Sign: clearsign, detached or inline signatures

Built to stay local

The only optional network use is your own local Snake Dex.
Keys stay homePrivate keys are stored in the vault and are never sent anywhere. A single outbound function refuses any payload containing private key armor.
Snake Dex recoveryRegister a public key and sign recovery challenges against your local Snake Dex at http://127.0.0.1:5057 (configurable).
KeyringYour own keys and imported public keys, with search, trust flags and confirmed deletion.
Windows and AndroidOne Python codebase for desktop and mobile.
Snake finds itSnake Dex indexes itBasilisk guards it