Do not show PGP and SSH keys in ASCII-armor import views

This commit is contained in:
Danny Moesch 2019-07-10 21:00:58 +02:00 committed by Mingshen Sun
parent 8e8501abb0
commit 9997947f06
2 changed files with 0 additions and 8 deletions

View file

@ -91,13 +91,6 @@ class PGPKeyArmorSettingTableViewController: AutoCellHeightUITableViewController
override func viewDidLoad() {
super.viewDidLoad()
if let publicKey: Data = AppKeychain.get(for: PgpKey.PUBLIC.getKeychainKey()) {
armorPublicKeyTextView.text = String(data: publicKey, encoding: .ascii)
}
if let privateKey: Data = AppKeychain.get(for: PgpKey.PRIVATE.getKeychainKey()) {
armorPrivateKeyTextView.text = String(data: privateKey, encoding: .ascii)
}
pgpPassphrase = passwordStore.pgpKeyPassphrase
scanPublicKeyCell?.textLabel?.text = "ScanPublicKeyQrCodes".localize()