fix(ssh): remove usage of kotlin.runCatching

This commit is contained in:
Harsh Shandilya 2023-07-22 15:47:41 +05:30
parent eb55a32e8d
commit bed8ec76e3

View file

@ -3,6 +3,8 @@ package app.passwordstore.ssh.provider
import app.passwordstore.ssh.utils.Constants.KEYSTORE_ALIAS import app.passwordstore.ssh.utils.Constants.KEYSTORE_ALIAS
import app.passwordstore.ssh.utils.sshPrivateKey import app.passwordstore.ssh.utils.sshPrivateKey
import app.passwordstore.ssh.utils.sshPublicKey import app.passwordstore.ssh.utils.sshPublicKey
import com.github.michaelbull.result.getOrElse
import com.github.michaelbull.result.runCatching
import java.io.IOException import java.io.IOException
import java.security.KeyStore import java.security.KeyStore
import java.security.PrivateKey import java.security.PrivateKey