mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix fingerprint return
This commit is contained in:
committed by
Aiden McClelland
parent
25cf20dee3
commit
1fa97164ea
@@ -140,7 +140,7 @@ pub async fn list(
|
||||
.map(|r| {
|
||||
let k = PubKey(r.openssh_pubkey.parse().unwrap()).0;
|
||||
let alg = k.keytype().to_owned();
|
||||
let fingerprint = k.fingerprint();
|
||||
let fingerprint = k.fingerprint_md5();
|
||||
let hostname = k.comment.unwrap_or("".to_owned());
|
||||
let created_at = r.created_at;
|
||||
SshKeyResponse {
|
||||
|
||||
Reference in New Issue
Block a user