Skip to content

Commit

Permalink
fix former issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Dec 13, 2024
1 parent d679443 commit 8fb253f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions atoma-confidential/src/key_management.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ impl X25519KeyPairManager {
/// * `Err(KeyManagementError)` if the write failed
pub fn write_private_key_to_file(&self) -> Result<()> {
use std::fs::{self, create_dir_all};
#[cfg(unix)]
use std::os::unix::fs::PermissionsExt; // Unix-specific permissions

let path = Self::get_key_file_path();
Expand Down
2 changes: 1 addition & 1 deletion atoma-service/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ mod middleware {
let req = Request::builder()
.method("POST")
.uri("/")
.header(atoma_utils::constants::SALT, STANDARD.encode(&salt))
.header(atoma_utils::constants::SALT, STANDARD.encode(salt))
.header(
atoma_utils::constants::NONCE,
STANDARD.encode(nonce.as_slice()),
Expand Down

0 comments on commit 8fb253f

Please sign in to comment.