diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-09-18 18:14:52 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-18 18:14:52 +0530 |
| commit | bad8e2b4043b1239c17aafc1cc6779a347b3680e (patch) | |
| tree | f963f4cc93bcf0409a972a2620a7cb4c8431c479 /app/src/main/java/com/zeapo/pwdstore/git/sshj | |
| parent | 9d63b113912e0d9ecd1237501c6fc6a9689d7620 (diff) | |
| download | HardenedPass-bad8e2b4043b1239c17aafc1cc6779a347b3680e.tar.gz HardenedPass-bad8e2b4043b1239c17aafc1cc6779a347b3680e.zip | |
Misc cleanups to build and extension functions (#1108)
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/git/sshj')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/git/sshj/SshKey.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/sshj/SshKey.kt b/app/src/main/java/com/zeapo/pwdstore/git/sshj/SshKey.kt index ce09f1a9..73072f7d 100644 --- a/app/src/main/java/com/zeapo/pwdstore/git/sshj/SshKey.kt +++ b/app/src/main/java/com/zeapo/pwdstore/git/sshj/SshKey.kt @@ -23,7 +23,7 @@ import com.github.michaelbull.result.runCatching import com.zeapo.pwdstore.Application import com.zeapo.pwdstore.R import com.zeapo.pwdstore.utils.PreferenceKeys -import com.zeapo.pwdstore.utils.getEncryptedPrefs +import com.zeapo.pwdstore.utils.getEncryptedGitPrefs import com.zeapo.pwdstore.utils.getString import com.zeapo.pwdstore.utils.sharedPrefs import java.io.File @@ -169,7 +169,7 @@ object SshKey { if (publicKeyFile.isFile) { publicKeyFile.delete() } - context.getEncryptedPrefs("git_operation").edit { + context.getEncryptedGitPrefs().edit { remove(PreferenceKeys.SSH_KEY_LOCAL_PASSPHRASE) } type = null |
