Commit graph

114 commits

Author SHA1 Message Date
Mingshen Sun
955e50c3d3
Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
Danny Moesch
819371f55e
Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Danny Moesch
cdedff0d4d
Use SwiftFormat version 0.49.x and enable some new rules (#527) 2021-12-27 17:57:11 -08:00
Danny Mösch
32b7c9b635
Some cleanup especially regarding method references (#516)
* Remove superfluous method arguments in method references

* Use 'Self' for internal static access

* Convert static to instance field in singleton class

* Remove class name prefix in references to local methods

* Remove nested frameworks in all extensions and frameworks
2021-10-02 20:46:07 -07:00
Danny Mösch
a83acd096a
Remove availability checks for iOS 11.0 (#486) 2021-08-16 12:59:46 -07:00
Danny Moesch
ad4ed9419e Format code with SwiftFormat 2021-01-31 20:16:57 -08:00
Mingshen Sun
ac36985f57
Fix crash issue when in password detail and update setting 2020-12-30 16:26:13 -08:00
Danny Moesch
1a8692bde3 Run updated SwiftFormat 2020-12-23 19:59:26 -08:00
Danny Moesch
49c6b25611 Use SwiftFormat version 0.47.x 2020-11-09 10:13:05 -08:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 2020-09-20 17:25:50 -07:00
Danny Moesch
f9d5d794f0 Fix new warning caused by Swift 5.3 and bring SwiftLint rule in sync with it 2020-09-19 18:52:27 -07:00
Danny Moesch
5270c92b76 Enable SwiftLint rule 'overridden_super_call' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
fe380d4d65 Enable SwiftLint rule 'private_action' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
c87f4e9792 Enable SwiftLint rule 'multiline_arguments_brackets' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
fdca54a0ab Enable SwiftLint rule 'closure_parameter_position' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
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