password-manager

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: GPL-2.0, GPL-3.0 Imports: 1 Imported by: 0

README

Password Manager

Test Go Report Card

pm is another Unix-style password manager written in Go to save your data with OpenPGP encryption.

Example

[!WARNING] This project is under active development and may be unstable. Use at your own risk.

Features

  • Simple Unix-style command line interface
  • OpenPGP encryption
  • Save sensitive data and files
  • Password generation
  • 2FA/OTP/TOTP support
  • Clipboard integration
  • QR code generation

Install

Using Homebrew:

brew install nicola-strappazzon/tap/password-manager
pm completion bash > /usr/local/etc/bash_completion.d/pm

Using Go:

go install github.com/nicola-strappazzon/password-manager@latest

The binary will be placed in your GOBIN directory, which defaults to ~/go/bin. Depending on how Go is installed, this directory may or may not be in your PATH.

Setup

Before using it, you must configure the application. You need to create an OpenPGP key pair. If you already have your own keys, you can use them as well.

pm setup

Usage

Using it is very simple. Here are some examples. If you have questions, you can run pm help for more details.

# List all items
pm ls

# Add a new item
pm add personal/github -f username -v john
pm add personal/github -f password

# Show the password
pm show personal/github

# Show all fields
pm show personal/github -a

# Copy the password to clipboard
pm show personal/github -c

# Generate QR Code to share
pm show personal/github -q

# Generate an OTP code
pm otp personal/github

# Generate a random password
pm generate

# Remove an item
pm remove personal/github

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL