Client/Server Password Vault
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.
Robert 1440c48191 /etc... 5 months ago
.gitignore aes/chacha20 5 months ago
LICENSE first commit 5 months ago
README /etc... 5 months ago
chaKey.go aes/chacha20 5 months ago
cliVault.service /etc... 5 months ago
client.go Fixed bytes issue in enc... 5 months ago
default.yaml /etc... 5 months ago
go.mod aes/chacha20 5 months ago
go.sum aes/chacha20 5 months ago
keygen.go aes/chacha20 5 months ago
server.go /etc... 5 months ago

README

```
go get github.com/mattn/go-sqlite3
go get golang.org/x/crypto/bcrypt
go get gopkg.in/yaml.v2
go mod download golang.org/x/term
go mod tidy

go run keygen.go
go run chaKey.go
nano default.yaml

sudo mkdir /etc/cliVault
sudo mv encrypted_aes_key.pem /etc/cliVault/
sudo cp default.yaml /etc/cliVault/config.yaml

sudo apt install gcc
CGO_ENABLED=1 go build -o cliVault server.go
sudo cp cliVault /usr/local/bin/
```

## Systemd Unit file:
```
nano cliVault.service
<Edit USERNAME to be your user>

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
```