You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 months ago | |
|---|---|---|
| .gitignore | 5 months ago | |
| LICENSE | 5 months ago | |
| README | 5 months ago | |
| chaKey.go | 5 months ago | |
| cliVault.service | 5 months ago | |
| client.go | 5 months ago | |
| default.yaml | 5 months ago | |
| go.mod | 5 months ago | |
| go.sum | 5 months ago | |
| keygen.go | 5 months ago | |
| server.go | 5 months ago | |
README
```
go get github.com/mattn/go-sqlite3
go get golang.org/x/crypto/bcrypt
go mod download golang.org/x/term
go mod tidy
go run keygen.go
go run chaKey.go
nano default.yaml
cp default.yaml config.yaml
sudo apt install gcc
CGO_ENABLED=1 go build -o cliVault server.go
```
## Systemd Unit file:
```
sudo cp cliVault.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable cliVault
sudo systemctl start cliVault
```
## Client
```
go build -o vaultClient client.go
```