Skip to content
/ pwm Public

pwm - simple terminal password manager with gpg

License

Notifications You must be signed in to change notification settings

algrvvv/pwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

PWM - simple terminal password and something more manager

Preparation

gpg --full-generate-key

Install

go install github.com/algrvvv/pwm@latest
pwm init

Auto completion

pwm completion zsh > ~/tmp/pwm
# It's better to put this command in your shell configuration, for example ~/.zshrc
source ~/tmp/pwm

See usage

To see available commands use:

pwm help

Examples

Store new password or note:

pwm store remote_server_ip "127.0.0.1"
# or
pwm store github-token "my_github_token"

Get password or note:

pwm get remote_server_ip
# or (if you need see and copy)
pwm get github-token --clip

Only copy:

pwm copy github-token

Remove password or note:

pwm rm remote_server_ip

Get all passwords or notes:

pwm list

Generate new password:

pwm generate --len 32 --clip --save password_name

All flags for generate password:

Flags:
  -c, --clip               save to clipboard
  -h, --help               help for generate
  -l, --len int            password len. (default 12)
  -s, --save string        save note by name
  -D, --without-digits     dont use digits
  -S, --without-specials   dont use special symbols
  -U, --without-uppers     dont use upper case symbols

About

pwm - simple terminal password manager with gpg

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published