bug fixing and deploy and build diagnostics
This commit is contained in:
@@ -38,7 +38,7 @@ pub struct ExpiringSecret {
|
||||
pub struct SecretsManager {
|
||||
secrets_dir: PathBuf,
|
||||
cipher: Aes256Gcm,
|
||||
raw_key: zeroize::Zeroizing<[u8; 32]>,
|
||||
_raw_key: zeroize::Zeroizing<[u8; 32]>,
|
||||
}
|
||||
|
||||
impl SecretsManager {
|
||||
@@ -57,7 +57,7 @@ impl SecretsManager {
|
||||
Ok(Self {
|
||||
secrets_dir,
|
||||
cipher,
|
||||
raw_key: zeroize::Zeroizing::new(key_array),
|
||||
_raw_key: zeroize::Zeroizing::new(key_array),
|
||||
})
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ impl SecretsManager {
|
||||
if !app_path.is_dir() {
|
||||
continue;
|
||||
}
|
||||
let app_id = app_path
|
||||
let _app_id = app_path
|
||||
.file_name()
|
||||
.and_then(|s| s.to_str())
|
||||
.unwrap_or("")
|
||||
|
||||
Reference in New Issue
Block a user