Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
+

+
  • Loading branch information
oluceps committed Nov 1, 2024
1 parent aff06ca commit 1c3cc7e
Show file tree
Hide file tree
Showing 7 changed files with 244 additions and 39 deletions.
177 changes: 177 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ serde = "1.0.210"
sha2 = "0.10.8"
spdlog-rs = "0.3.13"
subtle = "2.6.1"
sys-mount = "3.0.1"
tempdir = "0.3.7"
toml = "0.8.19"
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- [ ] vaultix.d in ramfs
- [ ] age plugin
- [ ] vaultix{,.d} permission
- [x] age plugin
- [ ] check command
- [x] should get entire `Secret` when deploy
- [x] [renc] calc hash and skip unchanged
Expand Down
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
in
(buildPackage {
src = craneLib.cleanCargoSource ./.;
nativeBuildInputs = [
pkgs.rustPlatform.bindgenHook
];
meta.mainProgram = "vaultix";
});

Expand All @@ -76,6 +79,8 @@
inputsFrom = [
pkgs.vaultix
];

RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
buildInputs = with pkgs; [
just
nushell
Expand Down
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ eval-json:

init-storage:
mkdir -p test/secrets/renced/tester
clean-exist-deploy:
#!/usr/bin/env nu
sudo umount /run/vaultix.d
sudo rm -r /run/vaultix.d
sudo rm -r /run/vaultix
Loading

0 comments on commit 1c3cc7e

Please sign in to comment.