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.2

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.2
File Size Uploaded Provenance Actions
foxkey-0.2.2.tar.gz 11.8 kB Without provenance Details for foxkey-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 22.1 kB

Release files / foxkey-0.2.2.tar.gz

Download URL foxkey-0.2.2.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f78b3577847d22c5a37663e5bc8af0025e712dad01b056e7a0f9379c2373fd1
BLAKE2b-256 checksum
How to use checksums
5fed7908cfb6faa4db71546e41a0fdba64727715f5b647f6be372ac074aaa527
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.2-py3-none-any.whl

Download URL foxkey-0.2.2-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c713c536b3000c3dfb335fc30c7b79c1642e5618ca0c603b8ebdd830f3977b8
BLAKE2b-256 checksum
How to use checksums
3b79251b8039ad07e4b8f0a50e87364a75ddb5a7238ec73c07dd7d3b723a4043
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.2

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