Skip to content

Commit

Permalink
chore: add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ndavd committed Aug 28, 2024
1 parent 34ae604 commit 938f0f3
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# agevault

`agevault` is a directory encryption tool using [age](https://github.com/FiloSottile/age) file encryption.

It locks/unlocks a vault (directory) with a passphrase-protected identity file.

Like age, it features no config options, allowing for a straightforward secure flow.

## Disclaimer

**Use it at your own risk!** (see [LICENSE](https://github.com/ndavd/agevault/blob/main/LICENSE))

Also, this is a project in early-development and hasn't been thoroughly tested. So far, I've tested it on Linux.

## Usage

```
lock/unlock directory with passphrase-protected identity file
usage: agevault [vault-name] lock|unlock|keygen
```

Securing `my-vault/`:
1. Generate identity file
```
$ agevault my-vault keygen
create identity passphrase:
confirm identity passphrase:
.age14tpkpl6vexufah8eq5dgrd5zy4xqs4slynh26j5n7gvxs87xhguqwu9zqc.my-vault.key.age CREATED (do not change the filename)
```
2. Lock vault
```
$ agevault my-vault lock
my-vault SECURED with age14tpkpl6vexufah8eq5dgrd5zy4xqs4slynh26j5n7gvxs87xhguqwu9zqc
```
3. Unlock vault
```
$ agevault my-vault unlock
enter passphrase for identity file ".age14tpkpl6vexufah8eq5dgrd5zy4xqs4slynh26j5n7gvxs87xhguqwu9zqc.my-vault.key.age":
my-vault DECRYPTED
```
4. That's it. Do your changes, lock it again, etc.

0 comments on commit 938f0f3

Please sign in to comment.