Do not show PGP and SSH keys in ASCII-armor import views
This commit is contained in:
parent
8e8501abb0
commit
9997947f06
2 changed files with 0 additions and 8 deletions
|
|
@ -71,7 +71,6 @@ class GitSSHKeyArmorSettingTableViewController: AutoCellHeightUITableViewControl
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
armorPrivateKeyTextView.text = AppKeychain.get(for: SshKey.PRIVATE.getKeychainKey())
|
|
||||||
armorPrivateKeyTextView.delegate = self
|
armorPrivateKeyTextView.delegate = self
|
||||||
|
|
||||||
scanPrivateKeyCell?.textLabel?.text = "ScanPrivateKeyQrCodes".localize()
|
scanPrivateKeyCell?.textLabel?.text = "ScanPrivateKeyQrCodes".localize()
|
||||||
|
|
|
||||||
|
|
@ -91,13 +91,6 @@ class PGPKeyArmorSettingTableViewController: AutoCellHeightUITableViewController
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.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
|
pgpPassphrase = passwordStore.pgpKeyPassphrase
|
||||||
|
|
||||||
scanPublicKeyCell?.textLabel?.text = "ScanPublicKeyQrCodes".localize()
|
scanPublicKeyCell?.textLabel?.text = "ScanPublicKeyQrCodes".localize()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue