mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 15:08:33 +08:00
feat(mobile): 补充密钥类型
This commit is contained in:
@@ -28,6 +28,7 @@ async function getConnectionOptions(hostId) {
|
||||
authInfo.passphrase = sshRecord.openSSHKeyPassword
|
||||
}
|
||||
} else {
|
||||
authInfo.authType = authType
|
||||
authInfo[authType] = await AESDecryptAsync(hostInfo[authType])
|
||||
}
|
||||
return { authInfo, name }
|
||||
|
||||
Reference in New Issue
Block a user