Commit graph

117 commits

Author SHA1 Message Date
Yishi Lin
0dccd911fd Update OTP token generation and support HOTP
- Update logic: Only fields otp_secret and otp_type are required for TOTP. Only fields otp_secret, otp_type and otp_counter are required for HOTP. Other fields (i.e., otp_algorithm, otp_digits, otp_period) are optional.
- Support HOTP: (1) passwords are initially concealed; (2) "tap->next" generates a new password and commits the updated password file automatically
2017-03-07 01:33:44 +08:00
Yishi Lin
2f1721a7e7 Update time-based one time passwords automatically
- Improve how we differ between TOTP and HTOP
2017-03-05 02:54:36 +08:00
Yishi Lin
e48bc5a7a4 Allow discarding all local changes to the password store repo
- Settings > Advanced -> Discard All Local Changes
2017-03-04 01:15:28 +08:00
Yishi Lin
e2b1fec4bb Fix a bug. 2017-03-04 00:56:41 +08:00
Yishi Lin
16830b8b92 Improve the message. 2017-03-03 20:16:06 +08:00
Yishi Lin
f2edc2ffaa Support hiding one time password related fields.
- Add a switch to turn on/off one time password related fields.
- Improve how we show the additional information
2017-03-03 17:12:25 +08:00
Yishi Lin
3dac155d6c Provide basic support about one time password (totp only) 2017-03-03 14:45:16 +08:00
yishilin14
71cb9a02c0 Polish class Password 2017-03-03 10:49:32 +08:00
yishilin14
c1da27ae04 Merge remote-tracking branch 'origin/master' into otp_dev 2017-03-03 00:14:05 +08:00
yishilin14
7b46311d1c Update the clone call because of the change of libgi2
Merge pull request #459 from libgit2/checkout-options: c0e98a2790
2017-03-03 00:12:28 +08:00
Bob Sun
bdca2c0834
Fix a bug caused by removed PasswordCategoryEnetity in erase method 2017-03-02 20:46:57 +08:00
Bob Sun
83fcfc8bb2
Change method name from exists to repositoryExisted 2017-03-02 17:26:46 +08:00
Bob Sun
bdc2cfaaa8
Show error when adding password with same name 2017-03-02 17:26:12 +08:00
Bob Sun
43b71f2704
Set isDir to false in core data 2017-03-02 15:32:40 +08:00
Bob Sun
f3497cdc0f
Merge commits and resolve conflits 2017-03-02 15:32:11 +08:00
Bob Sun
050a960167
Support folder in password view
- change core data
  - change data struct to store table view entry
  - delete unnecessary functions
2017-03-02 14:51:40 +08:00
yishilin14
8798be65b5 Use relative time to present last updated time 2017-03-02 00:35:11 +08:00
Bob Sun
bde475a49f
Use UTF-8 instead of ASCII for encoding (#44) 2017-03-01 14:54:52 +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
yishilin14
55b7e4303b Update the logic of showing latest commit time 2017-02-27 15:21:25 +08:00
yishilin14
c2db4d4641 Show last commit time of each entry 2017-02-27 08:54:51 +08:00
Bob Sun
44f148c7ea
Show cancel button by default for password (instead of showing cancel after three wrong attempts) 2017-02-26 21:12:17 +08:00
Evgeny Morozov
c6db44ace7
Move repository to a private directory 2017-02-24 20:16:11 +03:00
Evgeny Morozov
bb654849af Allow usage of uploaded PGP keys 2017-02-24 23:48:58 +08:00
Bob Sun
af8cd536f1
add function to get recent commits 2017-02-24 00:42:06 +08:00
Bob Sun
2372466883
fix issue #26
empty PGP keys will make app crash at startup
2017-02-23 23:48:52 +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
e1f3a08666
check zero byte key (solve issue #26) 2017-02-23 16:53:50 +08:00
Bob Sun
2d0e076024
results is no longer needed 2017-02-22 14:51:01 +08:00
Bob Sun
87dd4f96a3
simplify password repository setting 2017-02-21 13:07:14 +08:00
Bob Sun
663ccd1a85
ignore empty lines in the password additional fields 2017-02-20 17:43:04 +08:00
Bob Sun
70166c9901
fix a bug caused by keychain modifications 2017-02-20 11:48:39 +08:00
Bob Sun
90709675a3
use keychain to store pgp passphrase and git password 2017-02-19 22:10:36 +08:00
Bob Sun
fc5c738c53
clean commented code 2017-02-18 21:55:56 +08:00
Bob Sun
046341af1f
remove debug message 2017-02-17 21:15:43 +08:00
Bob Sun
3bbd4c47df
use runtime password filling 2017-02-17 20:14:01 +08:00
Bob Sun
a5f13a1e8a
support ASCII armor encrypted PGP keys 2017-02-17 13:44:25 +08:00
Bob Sun
83b9762122
solve core data conflict caused by updating password entity image 2017-02-16 13:24:41 +08:00
Bob Sun
d9b931345a
remove store and temp store directory before clone 2017-02-15 22:51:26 +08:00
Bob Sun
0be04eac30
check if changes before save context 2017-02-15 21:48:06 +08:00
Bob Sun
ff83ed29d4
fix core data bugs 2017-02-15 21:37:02 +08:00
Bob Sun
869f06e00f
change update password related functions 2017-02-15 20:01:17 +08:00
Bob Sun
8d474677da
resolve issue in core data operations 2017-02-15 17:28:15 +08:00
Bob Sun
068f5be807
resolve core data merge conflicts error 2017-02-15 16:51:12 +08:00
Bob Sun
4e8381d77e
show additions plain text correctly 2017-02-15 16:20:20 +08:00
Bob Sun
9f4830dc2a
move database operations to the main thread to avoid async problems 2017-02-15 11:15:11 +08:00
Bob Sun
fe1c01c6dc
Hide unknown fields 2017-02-14 11:16:30 +08:00