aboutsummaryrefslogtreecommitdiff
path: root/ssh/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/src/main')
-rw-r--r--ssh/src/main/kotlin/app/passwordstore/ssh/provider/KeystoreNativeKeyProvider.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh/src/main/kotlin/app/passwordstore/ssh/provider/KeystoreNativeKeyProvider.kt b/ssh/src/main/kotlin/app/passwordstore/ssh/provider/KeystoreNativeKeyProvider.kt
index 68505b8b..bc556e71 100644
--- a/ssh/src/main/kotlin/app/passwordstore/ssh/provider/KeystoreNativeKeyProvider.kt
+++ b/ssh/src/main/kotlin/app/passwordstore/ssh/provider/KeystoreNativeKeyProvider.kt
@@ -3,6 +3,8 @@ package app.passwordstore.ssh.provider
import app.passwordstore.ssh.utils.Constants.KEYSTORE_ALIAS
import app.passwordstore.ssh.utils.sshPrivateKey
import app.passwordstore.ssh.utils.sshPublicKey
+import com.github.michaelbull.result.getOrElse
+import com.github.michaelbull.result.runCatching
import java.io.IOException
import java.security.KeyStore
import java.security.PrivateKey