Commit graph

31 commits

Author SHA1 Message Date
Yishi Lin
1f829fffcc Polish notification
- define notification names
- move "post notification" to PasswordStore (todo: move "search" and the one for "show folder switch")
- "erase" and "reset" also post the "passwordStoreUpdated" notification
2017-03-18 00:30:14 +08:00
Bob Sun
0ad9713fc0
Show error in alert instead of HUD 2017-03-16 23:12:31 -07:00
Bob Sun
d2cff20131 Put PasswordStore as instance in controllers 2017-03-16 22:39:03 -07:00
Bob Sun
d338e725d5 Polish logic on initializing PGP keys.
- simplify interfaces
- more robust
2017-03-16 22:06:39 -07:00
Radon Rosborough
af1ea3ee3e Fix typo: Passwrod => Password 2017-03-06 15:14:21 -08:00
Bob Sun
83fcfc8bb2
Change method name from exists to repositoryExisted 2017-03-02 17:26:46 +08:00
Bob Sun
2d50a40370
Use lazy var for touchIDSwitch to simplify code 2017-03-02 16:51:46 +08:00
Bob Sun
7a31c4db06
Make action title case consistent 2017-02-28 17:52:00 +08: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
88bf3a0d18
Clone if password store directory is not existed 2017-02-27 17:30:33 +08:00
Bob Sun
ea3c12f2e4
Polish code to make sure detail text in settings are correct 2017-02-26 20:59:27 +08:00
Evgeny Morozov
bb654849af Allow usage of uploaded PGP keys 2017-02-24 23:48:58 +08:00
Evgeny Morozov
4034050ce0 Fix a bug, that caused the app to crash if ssh passphrase is not set. 2017-02-23 18:39:43 +03:00
Evgeny Morozov
de6183764b Store ssh key passphrase in Keychain 2017-02-23 17:34:55 +03:00
Evgeny Morozov
04ceeb87dc Request ssh key password, if it is not set, but the key is encrypted 2017-02-23 16:43:13 +03:00
Bob Sun
c16ecc621d
set selected tableviewcell as srouceView and srouceRect, this resolve issue #24 2017-02-22 18:18:59 +08:00
Bob Sun
9f2a68b18d
fix a bug 2017-02-21 17:36:51 +08:00
Bob Sun
87dd4f96a3
simplify password repository setting 2017-02-21 13:07:14 +08:00
Bob Sun
fd8b9e4aac
make notification consistent 2017-02-20 22:02:49 +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
a5f13a1e8a
support ASCII armor encrypted PGP keys 2017-02-17 13:44:25 +08:00
Bob Sun
3ca2850a8b
alert user after fetching pgp keys 2017-02-16 11:52:36 +08:00
Bob Sun
3145ddacbe
add checks to avoid invalid inputs 2017-02-13 15:01:04 +08:00
Bob Sun
0b714ffec2
fix small bugs 2017-02-13 14:30:38 +08:00
Bob Sun
b954a4dcab
finish simple "add password function" 2017-02-10 22:15:01 +08:00
Bob Sun
cbd8b80cb0
change unowned self to weak self 2017-02-10 00:56:12 +08:00
Bob Sun
1c95b46252
re-organize settings 2017-02-09 21:45:31 +08:00
Bob Sun
cfbcdb6900
act on erase data on Settings controller 2017-02-09 11:31:49 +08:00
Bob Sun
8af39e61ee
change delay time 2017-02-09 11:17:36 +08:00
Bob Sun
910660ede3
restructure file organization 2017-02-08 19:57:07 +08:00
Renamed from pass/SettingsTableViewController.swift (Browse further)