Skip to content

Commit

Permalink
+ correct
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Sep 13, 2024
1 parent 3c2129b commit df524b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/cmd/renc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,13 @@ impl Secret {

impl Profile {
pub fn renc(self, all: bool) -> Result<()> {
let secret_paths: Vec<PathBuf> = {
let secret_list: Vec<PathBuf> = self
.secrets
.into_values()
.map(|i| i.to_pathbuf(&self.settings).get())
.collect();
secret_list
};
let secret_paths: Vec<PathBuf> = self
.secrets
.into_values()
.map(|i| i.to_pathbuf(&self.settings).get())
.collect();
debug!("{:?}", secret_paths);
// TODO: IMPL
// TODO: IMPL, renc need more element. host, masterIdent, pubhostkey, extraEncPubkey
Ok(())
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit df524b2

Please sign in to comment.