Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Sep 14, 2024
1 parent d1ed568 commit 278c40e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion src/cmd/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ impl Profile {
let storage = PathBuf::from(&self.settings.storage_dir_store);
fs::read_dir(storage)?.for_each(|entry| {
let entry = entry.expect("enter store, must success");
let path = entry.path();
let path = entry
.path()
.canonicalize()
.expect("file path initialize error");
let name = entry.file_name().to_string_lossy().to_string();
debug!("record secret name from store: {}", name);
let content = fs::read(path).expect("reading store, must success");
Expand Down
1 change: 1 addition & 0 deletions src/cmd/renc_sec_path.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::path::PathBuf;

use eyre::Context;
use sha2::{Digest, Sha256};
use spdlog::{debug, info};

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
age-encryption.org/v1
-> ssh-ed25519 IQ9o3A /fK+a1YKItRkkd4WKil476eX5A5CYhf7zwez/2owFQk
WiyBeL3Tovn7z0jy77CW9e53NyKg1niJ8WiZqBG1Rr8
-> --grease
N1X8Psrs1N+6BEJ3LsfarXQqApEepD0IS5N8c3mjY0hx0Jd6wPrgCw95o5UKW9vn
MobkL9cfpAOt2jtQlzCYfFtJdlQKk4idSlwMkO2BZL30IAx+VtICpfg/JNqGu9Vv
BO4
--- iYgSYgc6/WPLO5dOON56wvGX45L8H/DIqiUON1EMUXk
���$� ?r1.����K��زIU'�ä��E���4�9��T���Y��
-> ssh-ed25519 IQ9o3A PktT1MeKzc+5cZeJklbzyYqD9vXNJAfCbM194aVe8SE
EaCQNLZ1s5rI26d2RIfFPpwIO5mzl52sdygtCwBsBYE
-> "NR@-grease YajL jL;@DDO
8PP76vd5OraNzxuwB7YI/KNRKnLemkgZuIHwZT07el9FU96nXRIppPDmNh/u6D/W
4qNcvEDvNjq50g3LKyaN8USOtudlr9VFbFooEkXnsXw
--- MJshF7tp5AkiBJxx5cR+ldiAo0DCBZ3DMQCKjAGgXyc
8�i�;l�,M.��emR�h�7E���|�Rt�D����X�� �Wp

0 comments on commit 278c40e

Please sign in to comment.