You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,17 +26,17 @@ cargo build --release
26
26
cargo run -- -V
27
27
```
28
28
29
-
### (Optional) Aliasing
29
+
### (Optional) Local Cargo Install
30
30
Since `dotsec` currently has to be built from source, users will need to run the program in the following manner:
31
31
```bash
32
32
cargo run -- <command><args>
33
33
```
34
34
35
-
This is a lot to type. The project is planned to be published in the short-term, but in the meantime we can use an alias as a workaround:
35
+
This is a lot to type. The project is planned to be published in the short-term, but in the meantime we can use cargo to setup the binary:
36
36
```bash
37
-
alias ds="cargo run --"# `ds` is the name of the binary
37
+
# in the project root (`dotsec/`)
38
+
cargo install --path .
38
39
```
39
-
Run the above line, or add it to your `bashrc` (or the config for whichever shell you use) to make it persistent.
40
40
41
41
## 🔐 Security
42
42
`dotsec` uses [ChaCha20-Poly1305](https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305) to encrypt and decrypt secrets. Keys and values are stored locally on the user's machine using [sled](https://github.com/spacejam/sled).
0 commit comments