Commit graph

47 commits

Author SHA1 Message Date
Yishi Lin
d2ba620ae4 Move codes to an embed framework
- Move bundle/group identifiers to passKit/Global
- Fix Core Data
- Change Defaults to SharedDefaults
2017-06-13 11:43:46 +08:00
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
Yishi Lin
0542733f86 Polish the logic of clone
- pop the current view only after a successful clone so that editing the previous incorrect git setting is possible
2017-06-07 18:52:53 +08:00
Yishi Lin
6daa84df30 Provide info about the iTunes File Sharing
- only when key files are not existed (not downloaded/pasted/imported)
2017-06-07 16:54:54 +08:00
Yishi Lin
a31f5b797d No need to import SSH public key 2017-06-07 01:06:53 +08:00
Bob Sun
b2d93c8a70
Fix cannot removing PGP keys 2017-06-03 18:12:33 -07:00
Bob Sun
3921b89a12
Hide TouchID option if a device doesn't support 2017-05-26 09:25:36 -07:00
Yishi Lin
6fe3c00c9f Polish the logic about touch ID and passcode lock 2017-05-14 20:52:24 +08:00
Bob Sun
1311962dc1
Polish credential related logic 2017-04-28 20:33:41 -07:00
Bob Sun
eccfeb19b5
Change "save" to "clone" button, and clone the repo by default. 2017-04-26 22:04:44 -07:00
Bob Sun
d6c7b67fcc
Fix issue about remembering passphrase function (#74) 2017-04-25 20:13:59 -07:00
Bob Sun
b35d79031d
Refactor logic of requesting git/ssh password callback 2017-04-24 10:53:26 -07:00
Bob Sun
0851eb57fd
Fix typo #71 2017-04-23 10:23:54 -07:00
Bob Sun
97d66a8acc
Support ASCII-armored and iTunes uploaded SSH key 2017-04-02 11:21:24 -07:00
Yishi Lin
0197444e30 Polish the logic about updating last synced time.
- Update the date right after corresponding operations, and before reloading any "table view".
2017-03-29 00:56:07 +08:00
Yishi Lin
2b5c5cad97 Polish the code
- Move somethings from view controller to the model "PasswordStore"
- Simplify the logic of PasswordsViewController (especially about reloadTableView)
- Mark many variables/methods private
2017-03-24 21:53:07 +08:00
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)