Skip to content

A lightweight, cross-platform command-line password manager built in Go. This tool allows you to securely store, retrieve, and manage your credentials locally using an encrypted SQLite database and a master password for protection.

License

Notifications You must be signed in to change notification settings

jayasurya261/Password-Manager-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Password Manager CLI

Go Build

A simple and secure command-line password manager written in Go.
It allows you to store, retrieve, and manage credentials locally in an encrypted SQLite database.


✨ Features

  • ✅ Add, list, and delete credentials securely
  • ✅ Master password protection
  • ✅ Encrypted password storage
  • ✅ Simple CLI commands using Cobra
  • ✅ Cross-platform (builds into a single binary)

📦 Installation

Prerequisites

  • Go 1.23+ (recommended 1.25)
  • Git

Clone & Build

git clone https://github.com/yourusername/password-manager-cli.git
cd password-manager-cli
go build -o pwm .
./pwm --help

Add a new credential

pwm add -s github -u myusername -p mypassword

List all credentials

pwm list

Delete a credential

pwm delete [ID]

Folder Structure

.
├── cmd/           # CLI commands (Cobra)
├── internal/
│   ├── crypto/      # Encryption & decryption
│   ├── db/          # Database logic (SQLite)
│   └── config/      # App configuration
├── go.mod
├── go.sum
└── main.go

About

A lightweight, cross-platform command-line password manager built in Go. This tool allows you to securely store, retrieve, and manage your credentials locally using an encrypted SQLite database and a master password for protection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages