Skip to main content

Secure local terminal password manager

Project description

Secure MyPass

A lightweight and secure local password manager for Linux/macOS terminals.

Secure MyPass allows you to store and search credentials directly from your terminal using a simple text-based database located in your home directory.

No cloud storage. No external servers. No account required.

Features

  • Store credentials locally in ~/.mypass
  • Fast keyword search from the terminal
  • Organize credentials into sections
  • Simple and lightweight
  • No internet dependency
  • No vendor lock-in
  • Easy backup and migration
  • Linux and macOS friendly

Installation

Installation

Recommended (Linux/macOS/Windows)

Install using pipx:

pipx install secure-mypass

Ubuntu/Debian

If pipx is not installed:

sudo apt update
sudo apt install pipx

pipx ensurepath

Restart your terminal and install:

pipx install secure-mypass

Using Virtual Environment

python3 -m venv venv

source venv/bin/activate

pip install secure-mypass

Verify Installation

mypass init

Output:

Created: ~/.mypass

List entries:

mypass list

Create Password Store

Create a file named:

~/.mypass

Example:

[SSO Login]
Name: Portal SSO
Url: https://abc.com
UserName: ravi
Password: mypassword

Name: Terminal SSO
Command: aws configure sso

[Microsoft Email Services]
Name: xyz Mail
Email: ravi@example.com
Password: mysecretpassword

Name: xyz Mail
Email: ravi@example.com
Password: anotherpassword

Usage

Search by section name:

mypass xyz

Output:

[Microsoft Email Services]

Name: xyz Mail
Email: ravi@example.com
Password: ********

Search by email:

mypass ravi@example.com

Search by service name:

mypass xyz

File Location

Secure MyPass always reads credentials from:

~/.mypass

This ensures credentials remain under your control and can easily be backed up using Git, Dropbox, OneDrive, rsync, or any preferred method.

Security Notes

  • All data is stored locally on your machine.
  • No credentials are transmitted over the internet.
  • No external services are used.
  • Restrict file access:
chmod 600 ~/.mypass

Recommended permissions:

-rw------- ~/.mypass

Example Alias

Add to your .bashrc or .zshrc:

alias mypass="python3 ~/mypass_cli.py"

Or install from PyPI and use directly:

mypass xyz

Use Cases

  • AWS SSO accounts
  • Email credentials
  • Internal portals
  • Database logins
  • Development environments
  • Personal projects
  • Infrastructure credentials

Why Secure MyPass?

Many password managers require cloud synchronization, subscriptions, or browser integrations.

Secure MyPass follows a different philosophy:

  • Local-first
  • Terminal-first
  • Simple
  • Fast
  • Developer-friendly

Perfect for engineers, DevOps professionals, system administrators, and developers who prefer local credential management.

License

MIT License

Author

Ravi K

Lead Software Engineer

Python | Django | FastAPI | AWS | PostgreSQL

Commands

Command Description
mypass init Create password store
mypass add Add new credential
mypass list List all entries
mypass search <keyword> Search credentials
mypass delete <keyword> Delete credential

Quick Start

Create password store:

mypass init

Add a credential:

mypass add

Search credentials:

mypass search xyz

Delete a credential:

mypass delete xyz

Cross Platform

Secure MyPass works on:

  • Ubuntu
  • Debian
  • Fedora
  • CentOS
  • macOS
  • Windows CMD
  • Windows PowerShell

No aliases required.

Storage

Credentials are stored locally in:

Linux/macOS

~/.mypass

Windows

C:\Users\<username>\.mypass

No cloud synchronization.

No external servers.

No account required.

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

secure_mypass-0.2.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

secure_mypass-0.2.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file secure_mypass-0.2.2.tar.gz.

File metadata

  • Download URL: secure_mypass-0.2.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for secure_mypass-0.2.2.tar.gz
Algorithm Hash digest
SHA256 35e48deef8aeccb1bc670b23577d0d5be67036d8886da07652c2565776e2b40e
MD5 8258aa9d7d8682f82336f6c48f5acddc
BLAKE2b-256 b8ca5cc7cab8d5ea6d18ffcda077b60f43157f1aab563fe3bc9f8aebb1c9a917

See more details on using hashes here.

File details

Details for the file secure_mypass-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: secure_mypass-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for secure_mypass-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f4cf565bc30f2525139d048830ea83552b5213f77d9cd2fa9ee0834a999ef6a
MD5 b0ca9884e95053add2f391486914303b
BLAKE2b-256 750b67fe35e742b509e8024a42de6e0327eebc80f86b35254e1ed9073bad4d20

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