Skip to main content

Password manager with Textual user interface

Reason this release was yanked:

accident

Project description

Texpass - Password Manager for the Terminal

PyPI

Texpass is a password manager written in Python with a text-based user interface. It uses the Textual framework for the UI.


https://github.com/user-attachments/assets/5cf6b56f-1e5c-4e2c-95e1-23c0d765631a

Security features

  • Uses Argon2 hashing to store master password in database.
  • Encryption keys are derived from the master password, and hence never stored in database.
  • Can generate securely random passwords

Installation

This is currently available as a CLI tool and as a TUI.

For the CLI version, please see the v1.x branch

The most up-to-date and actively maintained version is the TUI version. Available on PyPI:

python3 -m pip install -U texpass 

And run with:

texpass

The application can be quit by pressing the escape key.

Backup with Google Drive

The ability to backup your database has been added recently. There are a couple pitfalls at the moment so use with caution.

This only works with Google Drive at the moment. Follow the steps below to enable it:

  1. Create a new Google Cloud project by following the steps here.
  2. Enable Google Drive API
  3. Configure OAuth consent screen (steps)
    • If following above steps, you may not be able to select "Internal" audience. Select "External" audience if that is the case.
    • Go to Audience for your project and in test users section, add a test user with the email you want to use for Drive backups
  4. Authorize credentials for the application by following these steps
    • Set application type to "desktop app".
    • Select "Download JSON" and name it to creds.json
  5. Move this file to wherever you call texpass from in the command line
    • Let's say you call it from /home/username/Documents/texpass/ (Linux) (if you have already used the app before you would notice a passwords.db file there), move it to that folder
  6. Run the below command and follow the steps in there
python3 -m texpass --cloud
  1. Create a folder named "texpass" in your Google Drive

Now when entering the application, using Ctrl+S allows you to either upload your database file to Drive under texpass folder, or download it from there.

CAUTION: Since uploading/downloading overwrites the database file, make sure to upload after making changes, and download as soon as possible if changes were made on another device and uploaded to Drive, to avoid version conflicts/overwrites

CAUTION 2: creds.json and token.json files are secret files that should NEVER be shared and should be stored securely.

These were the pitfalls. Future updates will work on enhancing the security and making the process easier/more automatic.

Contributing

Feel free to report any bugs or additional features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

texpass-2.1.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

texpass-2.1.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file texpass-2.1.1.tar.gz.

File metadata

  • Download URL: texpass-2.1.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for texpass-2.1.1.tar.gz
Algorithm Hash digest
SHA256 1bd7532a8d6604716c20e32a987a229c6e89c9385ca32d2b9b2f7ae552a93c2c
MD5 9b448d3596412e65b816f8f88b36e224
BLAKE2b-256 e3f00729b12f94c1032c2d37be5916ba7fdb6ddf806e0d84b67e36ffc52092ad

See more details on using hashes here.

File details

Details for the file texpass-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: texpass-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for texpass-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2c98148dddcb73ff371d73696a05f4d35957d5ff3230ff9f35f28118bdef48
MD5 b8d4832100f5986da831a0038c841e19
BLAKE2b-256 5f40abe459d47a0797f0d6a290036a4a4d1edd33648cf20a3a9184a0a31dcb98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page