Skip to main content

🦊 FoxKey — Secure TOTP Manager

Minimalist, secure terminal 2FA client with strong defaults and zero footguns.

More about me / other projects: abhrankan.netlify.app

Features

  • Encrypted vault (Argon2id + ChaCha20-Poly1305)
  • Plaintext label index (list without password)
  • otpauth:// URI support
  • Clipboard auto-clear + live countdown
  • Export / Import encrypted backups
  • Change master password
  • BusyBox-style single script

Installation

From PyPI

pip install foxkey

Single binary (recommended)

pip install pyinstaller
pyinstaller --onefile --name foxkey foxkey.py
# Move dist/foxkey to ~/bin or /usr/local/bin

Development

git clone https://github.com/foxhackerzdevs/foxkey.git && cd foxkey
pip install -e .

Usage

foxkey add github                          # prompts for the secret (recommended)
foxkey add github otpauth://totp/...       # also accepted, but exposes the secret
                                            # in shell history and `ps` -- scripting only
foxkey list
foxkey get github
foxkey export --file backup.enc
foxkey import backup.enc
foxkey change-password

Security Notes

  • Master password never touches CLI args
  • The service secret (add's second argument) is optional and prompted via getpass when omitted — same reasoning as the master password: passing it directly leaks it into shell history and ps. The positional form still works for scripted use.
  • import always re-encrypts the vault under its current live master password, even when restoring a backup that was encrypted under a different (e.g. older) password. Importing an old backup can never silently change your master password to match it.
  • Vault refuses weak operations
  • Clipboard cleared after token lifetime

Metadata

Release files for foxkey 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foxkey 0.2.1
File Size Uploaded Provenance Actions
foxkey-0.2.1.tar.gz 11.5 kB Without provenance Details for foxkey-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for foxkey 0.2.1
File Interpreter ABI Platform Actions
foxkey-0.2.1-py3-none-any.whl Python 3 none any Details for foxkey-0.2.1-py3-none-any.whl

Total release size: 21.7 kB

Release files / foxkey-0.2.1.tar.gz

Download URL foxkey-0.2.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
43383d73f102dc1813ef5f78fda15a38fdfa225f99a41c653ff38a037a4ffb58
BLAKE2b-256 checksum
How to use checksums
ae1376fb923d0aa3907bd514a52f2f43477438397528f4a6300bad11c67af377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / foxkey-0.2.1-py3-none-any.whl

Download URL foxkey-0.2.1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e2904efb2da435d31c3135ba55e6b936f9c9f112be11e046531c90b8e31f23a
BLAKE2b-256 checksum
How to use checksums
7832e0f139f812c4e91db2f11ec45185328ad1c571ad517b5c668cc228cd2b8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for foxkey 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page