Skip to main content

Secure local terminal password manager

Project description

Secure MyPass

A lightweight, terminal-based password manager that stores credentials securely on your local machine.

Secure MyPass is designed for developers, system administrators, DevOps engineers, and power users who prefer local credential management without cloud synchronization or external services.

Features

  • Local-first password management
  • Master password protection
  • Encrypted sensitive fields
  • Dynamic credential fields
  • Organize credentials into sections
  • Fast terminal search
  • Cross-platform support
  • No cloud storage
  • No external dependencies beyond Python packages
  • Easy backup and migration

Installation

Recommended Installation

Install using pipx:

pipx install secure-mypass

If pipx is not installed:

Ubuntu / Debian

sudo apt update
sudo apt install pipx

pipx ensurepath

Restart your terminal and install:

pipx install secure-mypass

Alternative: Virtual Environment

python3 -m venv venv

source venv/bin/activate

pip install secure-mypass

Recommended GitHub Structure

secure-mypass/
│
├── docs/
│   └── images/
│       ├── workflow-overview.png
│       ├── init_setup_add_ss.png
│       ├── add_credential.png
│       └── search_show.png
│
├── mypass/
├── README.md
└── pyproject.toml

Workflow Overview

Figure 1: Complete Secure MyPass workflow — Initialize → Setup Master Password → Add Credentials → List → Search (masked) → Show (decrypted).

Initialize Vault

First Time Setup

Step 1: Initialize the Vault

mypass init

This creates:

~/.mypass

Step 2: Configure Master Password

mypass setup

Example:

Create Master Password:
Confirm Master Password:

The master password is required whenever you:

  • Add credentials
  • View decrypted credentials
  • Delete credentials
  • Change the master password

Daily Usage

Add a Credential

mypass add

Example:

Master Password:

Sections

1. Email Accounts
2. Cloud Accounts
0. New Section

Select: 0

Section Name: Email Accounts

System Name: Personal Mail

Field Name: Email
Email: user@example.com

Field Name: Password
Password:

Field Name:

Press Enter on an empty field name to finish.


Search Credentials

Search without revealing secrets:

mypass search personal

Example:

[Email Accounts]

Name: Personal Mail
Email: user@example.com
Password: ********

Show Credential

Reveal encrypted values:

mypass show personal

Example:

Master Password:

[Email Accounts]

Name: Personal Mail
Email: user@example.com
Password: MySecretPassword

List All Credentials

mypass list

Example:

[Email Accounts]
- Personal Mail

[Cloud Accounts]
- Development Account

Delete a Credential

mypass delete personal

Supported Dynamic Fields

You can store any field you want.

Examples:

Email
Username
Password
URL
Token
API Key
Recovery Codes
Access Key
Secret Key
Database Host
Database User
Database Password

No predefined schema is required.


Security

Secure MyPass uses a master password to protect sensitive data.

Sensitive fields are encrypted before being stored.

Examples:

Password
Token
API Key
Recovery Codes
Secret Key

When searching:

mypass search personal

Sensitive values are hidden:

Password: ********

When viewing:

mypass show personal

The master password is required before decryption.


Storage Location

Linux / macOS

~/.mypass
~/.mypass.key

Windows

C:\Users\<username>\.mypass
C:\Users\<username>\.mypass.key

Backup

Backup your vault:

cp ~/.mypass backup.mypass
cp ~/.mypass.key backup.key

To restore:

cp backup.mypass ~/.mypass
cp backup.key ~/.mypass.key

Important:

Both files are required.

Without .mypass.key, encrypted credentials cannot be decrypted.


Commands

Command Description
mypass init Create vault file
mypass setup Configure master password
mypass add Add a credential
mypass list List credentials
mypass search <keyword> Search credentials (masked output)
mypass show <keyword> Show decrypted credential
mypass delete <keyword> Delete credential

Supported Platforms

  • Ubuntu
  • Debian
  • Fedora
  • CentOS
  • macOS
  • Windows Command Prompt
  • Windows PowerShell

Why Secure MyPass?

Many password managers depend on cloud synchronization, browser extensions, or subscriptions.

Secure MyPass focuses on:

  • Local storage
  • Terminal workflow
  • Simplicity
  • Speed
  • Developer productivity

Your credentials remain under your control at all times.


License

MIT License


Author

Ravi K

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-1.0.1.tar.gz (9.4 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-1.0.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for secure_mypass-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f07df99569f62a18e5e95f031512749cbf54b2157aa1df05891e5899d7e71cde
MD5 48c7acabedcd0ec2b142e1432f84d096
BLAKE2b-256 c8c291b8134a917c1590e3dd72d6f8be0cd66dea1cff12f65051b8703ba0ebc1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secure_mypass-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b0224894fc3e0602993e487f92dee0f54854edafc854fdb55ed1cf02a097efe
MD5 77abc2f1262f2d263852b6244affac2b
BLAKE2b-256 2018bd2e25b446a28dd20a5caccea526f3a08723894a0942bc949547196ed93c

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