Password Manager

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

[!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
xattr -d com.apple.quarantine /opt/homebrew/bin/pm
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