passpass

command module
v0.0.0-...-b4ee726 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: MIT Imports: 8 Imported by: 0

README

passpass

PassPass is a simple command-line Password Manager built in Golang. It prompts the user for a master password every time and hence does not store the master password.

Every password is encrypted using the master password and stored in a file p.psdb in JSON format. The JSON is also encrypted using the master password. The default directory is $HOME/.passpass/p.psdb

The password file is portable and user just needs to remember the master password as it is not stored anywhere.

Usage:

go run passpass.go --help
Generating the build:
go build passpass.go
Options:
Usage: passpass [-p] [-g value] [--help] [-s value] [parameters ...]
 -d, --delete=value value must be {keyname}. Deletes the key.
 -f, --password-file=value Provide the path of password file
 -g, --get=value    value must be {keyname}. Get password for the corresponding key
 --help             Help
 -p, --get-keys     Print all keys
 -s, --set=value    value must be {keyname:password}. Sets key & password.
Examples:
Set a password
go run passpass.go -s 'keyname'
Retrieve password
go run passpass.go -g keyname
Delete password
go run passpass.go -d keyname
Retrieve all keys
go run passpass.go -p
Change password
go run passpass.go -c
Copy to Clipboard Dependencies:
OSX - No Dependencies
Windows 7 (probably work on other Windows) - No Dependencies
Linux, Unix (requires 'xclip' or 'xsel' command to be installed)
Change Log:
  1. Added strong password constraint.
  2. Users can change password
  3. Password for a key shall be received using prompt so that it does not get logged into history

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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