Skip to content

pinzolo/spwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spwd

Test Go Report Card Godoc license

Description

Secret file based password management tool.

Save your password interactively with spwd new.
Input password is encrypted with AES-256 using your secret file.
Decrypt and copy password to clipboard with spwd copy <NAME>.

You can register master password with spwd master subcommand. If master password is registered, spwd requires master password on executing each subcommands.

Screenshot

Screenshot

Configuration

If ~/.config/spwd/config.yml exists, use it.

# using secret file path
key_file: /path/to/your/secret/file
# data file path
data_file: /path/to/your/data/file
# command used with `search` subcommand.
filtering_command: fzf
# subcommands that are not protected with master password.
# copy and search are always protected.
unprotective_commands: 
  - new
  - remove

If config file is not found, use below configuration as default.

key_file: ~/.ssh/id_rsa
data_file: ~/.local/share/spwd/data.dat
filtering_command: peco
unprotective_commands: []

Install

$ go get github.com/pinzolo/spwd

Contribution

  1. Fork (https://github.com/pinzolo/spwd/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

pinzolo