We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bded5 commit 42b5442Copy full SHA for 42b5442
crates/atuin-desktop-runtime/src/ssh/session.rs
@@ -644,7 +644,7 @@ impl Session {
644
645
/// Find a companion certificate file for a given key path
646
/// OpenSSH convention: certificate for `id_ed25519` is `id_ed25519-cert.pub`
647
- async fn find_certificate_for_key(key_path: &PathBuf) -> Option<PathBuf> {
+ async fn find_certificate_for_key(key_path: &Path) -> Option<PathBuf> {
648
let key_name = key_path.file_name()?.to_str()?;
649
let cert_name = format!("{}-cert.pub", key_name);
650
let cert_path = key_path.parent()?.join(cert_name);
0 commit comments