You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: automation_tasks_rs/src/secrets_always_local_mod.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -367,7 +367,7 @@ pub(crate) mod github_mod {
367
367
github_client
368
368
}
369
369
370
-
let encrypted_string_file_path = camino::Utf8Path::new("~/.ssh/github_api_secret_token_encrypted.txt");
370
+
let encrypted_string_file_path = camino::Utf8Path::new("~/.ssh/github_api_secret_token_ssh_1.enc");
371
371
let encrypted_string_file_path_expanded = cargo_auto_encrypt_secret_lib::file_path_home_expand(encrypted_string_file_path);
372
372
373
373
let identity_private_file_path = camino::Utf8Path::new("~/.ssh/github_api_secret_token_ssh_1");
@@ -564,7 +564,7 @@ pub(crate) mod crates_io_mod {
564
564
eprintln!("{RED}Security vulnerability: Found the cargo file with plain-text secret_token: {file_auth_expanded}. It would be better to inspect and remove it. {RESET}")
565
565
}
566
566
567
-
let encrypted_string_file_path = camino::Utf8Path::new("~/.ssh/crates_io_secret_token_encrypted.txt");
567
+
let encrypted_string_file_path = camino::Utf8Path::new("~/.ssh/crates_io_secret_token_ssh_1.enc");
568
568
let encrypted_string_file_path_expanded = cargo_auto_encrypt_secret_lib::file_path_home_expand(encrypted_string_file_path);
569
569
570
570
let identity_private_file_path = camino::Utf8Path::new("~/.ssh/crates_io_secret_token_ssh_1");
@@ -705,7 +705,7 @@ pub(crate) mod docker_hub_mod {
705
705
// registry: docker.io -> replace dot into "--""
706
706
// username: bestiadev
707
707
let registry_escaped = registry.replace(".","--");
708
-
let encrypted_string_file_path = format!("~/.ssh/docker_hub_{registry_escaped}_{user_name}.txt");
708
+
let encrypted_string_file_path = format!("~/.ssh/docker_hub_{registry_escaped}_{user_name}.enc");
709
709
let encrypted_string_file_path = camino::Utf8Path::new(&encrypted_string_file_path);
710
710
let encrypted_string_file_path_expanded = cargo_auto_encrypt_secret_lib::file_path_home_expand(encrypted_string_file_path);
0 commit comments