https://github.com/pinzolo/spwd
Secret file based password management tool.
https://github.com/pinzolo/spwd
command-line-tool golang password password-manager
Last synced: 7 months ago
JSON representation
Secret file based password management tool.
- Host: GitHub
- URL: https://github.com/pinzolo/spwd
- Owner: pinzolo
- License: mit
- Created: 2017-09-27T02:51:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-03T13:52:11.000Z (over 3 years ago)
- Last Synced: 2024-10-23T14:16:00.062Z (12 months ago)
- Topics: command-line-tool, golang, password, password-manager
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# spwd
[](https://github.com/pinzolo/spwd/actions/workflows/test.yml)
[](https://goreportcard.com/report/github.com/pinzolo/spwd)
[](https://godoc.org/github.com/pinzolo/spwd)
[](https://raw.githubusercontent.com/pinzolo/spwd/master/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 `.You can register master password with `spwd master` subcommand.
If master password is registered, spwd requires master password on executing each subcommands.## Screenshot
[Screenshot](https://pinzolo.github.io/assets/img/20170928_spwd-sample.gif)
## Configuration
If `~/.config/spwd/config.yml` exists, use it.
```yml
# 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.
```yml
key_file: ~/.ssh/id_rsa
data_file: ~/.local/share/spwd/data.dat
filtering_command: peco
unprotective_commands: []
```## Install
```bash
$ go get github.com/pinzolo/spwd
```## Contribution
1. Fork ([https://github.com/pinzolo/spwd/fork](https://github.com/pinzolo/spwd/fork))
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the `go test ./...` command and confirm that it passes
1. Run `gofmt -s`
1. Create a new Pull Request## Author
[pinzolo](https://github.com/pinzolo)