pwd

module
v0.0.0-...-ce9cd71 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT

README

Password manager

A simple passaword manager in golang.

Domain model

Each profile has:

  • Username
  • Secret (hashed value)
  • list of creentials (i.e logins):
    • Domain
    • Username
    • Password (encrypted password with a salt generated from both domain and username values)

Application (use cases)

  • Signup: to create a new profile with empty list of logins
  • Adding new credentials
  • Removing exisiting credentials
  • Fetch a specific credentials by domain name and username
  • Search for multiple credentials by domain name

Presentation

For simplicity, I'm only considering CLI for now :') But implementing a UI would be fairly simple because of the isolation of all layers and responsibilities.

Infrustructure

For the data storage implementation, I'm considering file storage (as json) and mysql one as well. Via environment variables you can choose either or both implementations ;)

Directories

Path Synopsis
cmd
app
internal

Jump to

Keyboard shortcuts

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