Commit graph

98 commits

Author SHA1 Message Date
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios 2020-04-18 22:42:25 -07:00
Mingshen Sun
3e114daca1
Implement fail-safe mechanism if key id is not found 2020-04-17 23:56:14 -07:00
Mingshen Sun
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00
Yishi Lin
e332b1f3be Do not forget pgp passphrase on decryption error #296 2019-09-30 02:05:01 +08:00
Danny Moesch
730542d5bb Separate encryption/decryption logic for different frameworks used 2019-09-15 00:32:18 -07:00
Danny Moesch
ea37b40e2f Mark field 'gpgAgent' as never-nil 2019-07-20 22:59:22 +02:00
Yishi Lin
6ae4a02a01 Seperate PGPAgent from PasswordStore and add tests 2019-07-17 02:58:01 +08:00
Yishi Lin
d627149948 Show encryption error while saving edition 2019-07-15 01:37:20 +08:00
Yishi Lin
715b8c892f Fix 259: update edited entries properly 2019-05-15 02:14:05 +08:00
Danny Moesch
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
David Beitey
1e5022e404 Hide placeholder with Hide Password Images on
This hides the password image placeholder when `Hide Password Images` is
enabled. Auto-layout constraints are toggled on and off depending on the
setting's value to ensure correct alignment.

Extends #248
2019-03-08 00:30:36 +10:00
David Beitey
f98d56753b Add ability to hide password images
This disables loading of favicon images associated with password entries
and hides any images that are already loaded, using the generic icon
instead.

The key benefit to this option is to prevent passforios revealing that a
given device has a password in its store, which could be gleaned from
the fact that favicons are being loaded in this manner.
2019-03-03 10:54:30 -08:00
Danny Moesch
116e258d05 Localize more strings in password view 2019-02-23 14:22:27 -08:00
Danny Moesch
08c91599b6 Use | operator to concatenate multiline strings 2019-01-20 21:04:04 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Danny Moesch
9e027b878a Replace TableCell struct with AdditionField 2018-12-18 10:06:45 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Danny Moesch
5780a439db Show number of hidden fields in password view 2018-12-08 21:15:51 -08:00
Danny Moesch
7f330fbeed Use HTTPS for URLs by default 2018-12-08 21:11:58 -08:00
Danny Moesch
f8f858f15e Pass content of URL field to 'openLink' method
Previously, 'openLink' has chosen the first URL field contained in the
password file. Since the action "Copy & Open" is performed on a specific
field, only its content should be considered.
2018-12-08 21:11:58 -08:00
Bob Sun
9a3131943f
Cleanup unneccessary error handling in the updatePasswordImage function 2018-11-17 21:27:06 -08:00
Bob Sun
2abbceb2e9
Set name and url in Password non-optional
Name and url in Password class shouldn't be optional because we store
them in core data as non-optional. This change also help us to avoid
man unneccessary unwrap.
2018-11-10 22:38:12 -08:00
Danny Moesch
904d04d71c Use computed properties instead of separate getter methods 2018-08-13 23:12:30 -07:00
Danny Moesch
b7a0cbaef6 Animate "AdditionField" struct to avoid usage of tuple "(String, String)" 2018-08-13 23:12:30 -07:00
Bob Sun
ced3142291 Open URL without http or https prefix 2017-10-10 23:24:44 -07:00
Yishi Lin
fad95208cc Merge branch 'develop' of https://github.com/mssun/passforios into develop 2017-10-08 21:38:53 +08:00
Yishi Lin
d0bad8660b Provide the 'remember git credential passphrases' option 2017-10-08 21:37:58 +08:00
Bob Sun
e0c0606852 Remove the indicator in loading password details 2017-10-08 00:02:45 -07:00
Bob Sun
5c7ccc5b37 Never use large titles in password details 2017-10-07 10:42:09 -07:00
Yishi Lin
a4efe57db9 Fix the "clearing passwords in 45s" function
- Copied passwords in the extension are not cleaned.
2017-07-27 23:56:24 +08:00
Yishi Lin
39820a4108 Look for "login" as a username field in auto fill
- Will look for "username" first
2017-06-28 00:32:50 +08:00
Yishi Lin
69b58e686d Polish the Password class
- About "additions", remove "additionKeys"
2017-06-28 00:18:06 +08:00
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
7bfc3cc7d4 Fix deleting entries 2017-06-07 01:05:53 +08:00
Bob Sun
e549db0714
Change notification observer from "showPassword" to "decryptThenShowPassword"
- avoid crash when password has been deleted
2017-06-03 17:50:33 -07:00
Yishi Lin
20f2e22076 Fix a bug about remembering pgp passphrase
- Do not keep the wrong passphrase
2017-05-08 21:12:48 +08:00
Bob Sun
055ea243a3
Improve edit password to make it consistent with Pass 2017-04-25 13:01:17 -07:00
Bob Sun
d8ecd1e889
Support folder operations
Example:
  - add: a/b/c/d
  - delete: a/b/c/d
  - move: a/b/c/d -> a/b/c/d/e
2017-04-23 10:03:09 -07:00
Bob Sun
b1ef8a343f
Fix some issues may cause crash 2017-04-10 22:09:39 -07:00
Yishi Lin
4eba8f7800 Fix bugs about getting next HOTP
- correctly increase the otpauth counter now
- fix bugs about re-initializing password
2017-04-09 02:54:05 +08:00
Yishi Lin
2519472ba2 Polish the label table view cell 2017-04-05 23:15:03 +08:00
Bob Sun
6f1571fefa
Fix a bug of otp cell introduced by polishing table view data structure 2017-04-01 08:59:22 -07:00
Bob Sun
8ea7da91d4
Fix conflicts of tab gesture and button 2017-04-01 08:36:47 -07:00
Bob Sun
729ad0d10b
Support show raw password 2017-03-31 23:03:06 -07:00
Bob Sun
36edc613be
Polish PasswordDetailTableViewController and add a show raw button (no function right now) 2017-03-31 00:28:37 -07:00
Bob Sun
05a551781c
Fix an issue of tableView content inset in password detail view 2017-03-29 22:16:57 -07:00
Yishi Lin
0f9b95eaa9 Polish codes about OTP 2017-03-24 23:14:44 +08:00
Yishi Lin
95b3a7fcd3 Update views after setting updates 2017-03-24 20:40:24 +08:00