Commit graph

13 commits

Author SHA1 Message Date
Yishi Lin
2388edccfb Polish logics about PGP passphrase
- Ask passphrase only when users want to save them for later usage
- Provide a second change to enter passphrase during the decryption
2017-06-07 21:11:01 +08:00
Bob Sun
d1393c6d36
Polish validation logic of importing pgp key via url 2017-05-11 22:55:55 -07:00
Yishi Lin
bef9e0251c Ask to save passphrase while setting PGP keys through URLs 2017-04-08 23:51:43 +08:00
Bob Sun
972062935c
Polish code of PGPKeySettingTableViewController 2017-03-21 23:03:28 -07:00
Bob Sun
d2cff20131 Put PasswordStore as instance in controllers 2017-03-16 22:39:03 -07:00
Bob Sun
fa512e6c86
Add switch to turn on/off remembering passphrase
If the switch is on, users need  to type passphrase of secret key once. The key will be stored in the Keychain.

If the switch is off, users have to fill in passphrase for each decryption including show password detail and long press to copy.
2017-02-28 12:25:52 +08:00
Bob Sun
90709675a3
use keychain to store pgp passphrase and git password 2017-02-19 22:10:36 +08:00
Bob Sun
a3a09beebf
remove passphrase cell and add passphrase alert dialog 2017-02-17 14:58:27 +08:00
Bob Sun
edfd8c97a7
simplify alert code 2017-02-16 00:54:42 +08:00
Bob Sun
545a5b11bb
show alert if key url is empty 2017-02-15 22:34:16 +08:00
Bob Sun
3145ddacbe
add checks to avoid invalid inputs 2017-02-13 15:01:04 +08:00
Bob Sun
b954a4dcab
finish simple "add password function" 2017-02-10 22:15:01 +08:00
Bob Sun
910660ede3
restructure file organization 2017-02-08 19:57:07 +08:00
Renamed from pass/PGPKeySettingTableViewController.swift (Browse further)