Skip to content

First usable version with minimal configuration

Latest
Compare
Choose a tag to compare
@lpegoraro lpegoraro released this 26 Aug 16:44

Usage

$ password-manager
Password Manager in Go version 0.1.1
Usage: `password_manager {COMMANDS} {OPTIONS}`
 The command list is the below
	help | -h: Prints this message
	version | -v: Print the version of the app
	get | -g {DESCRIPTION} {USERNAME} {OPTIONS}: Copy the password to the clipboard, for more information use `password_manager get help
	add | -a {DESCRIPTION} {USERNAME} {OPTIONS}: Add a new password entry, for more information use `password_manager add help
	config | -c {METHOD} {SEED} {FACTOR} {STORAGE_TYPE}: Configure encryption or password generation method
	 | 	 "Method": Type of password, please choose from the following {uuid | cert | custom }
	 | 	 "Seed": Any passfrase you would like
	 | 	 "Factor": Given the Method uuid, you can choose between 4 and 5
	 | 	 	   Given the Method cert you can choose the algorithym for the password creation
	 | 	 "Storage Type": Only supporting "NOT_ENCRYPTED_FILE" storage at the moment, you can choose 
	 | 	 	   You can choose output also, but you will need to manually configure in the settings since this 
	 | 	 	is a development feature only.

Features

  1. Create a config file using the config argument, the options can be displayed in the general help or
password-manager config uuid myPersonalSeed 5 NOT_ENCRYPTED_FILE

this command above creates this configuration

{
    "Method": "uuid",
    "Seed": "myPersonalSeed",
    "Factor": 5,
    "Storage": "NOT_ENCRYPTED_FILE",
    "Output": false
}
  1. Generate a password and store it in a NOT_ENCRYPTED_FILE.
password-manager add github.com lpegoraro

this command above creates a password and stores it locally like this:

{
    "storedPasswords": {
        "github.comlpegoraro": {
            "tag": "github.com",
            "username": "lpegoraro",
            "password": "1c4ae01b-58eb-5a95-7beb-50d197c25fd0"
        },
        "githublpegoraro": {
            "tag": "github",
            "username": "lpegoraro",
            "password": "66934afb-6893-510c-546f-3cee346267fd"
        }
    }
}
  1. Gets the password given the tag and username and prints.
password-manager get github.com lpegoraro   
1c4ae01b-58eb-5a95-7beb-50d197c25fd0

Disclaimer

The only supported storage format is JSON and not encrypted.
There will be new ways of saving in the following versions.