Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ class UserPreference : AppCompatActivity() {
val prefs = PreferenceManager.getDefaultSharedPreferences(applicationContext)

prefs.edit { putBoolean("use_generated_key", false) }
getEncryptedPrefs("git_operation").edit { remove("ssh_key_local_passphrase") }

// Delete the public key from generation
File("""$filesDir/.ssh_key.pub""").delete()
Expand Down