Commit graph

107 commits

Author SHA1 Message Date
Mingshen Sun
3edf8efbc5 Hide yubikey for unsupported devices 2023-03-12 16:10:29 -07:00
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
Mingshen Sun
ff6a1edf62 Add confirmation prompt for removing keys (fix #491) 2021-12-29 16:19:12 -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
3eea063d61
Fix issues with OTP notification (#517)
* Use "Beta" since this is what Apple uses too
* Actually copy the OTP if the option is set
* Shorten notification text to make it fit to smaller screens
* Set notification center delegate before app launches
* Fix SwiftFormat issue fixed with version 0.48.12
2021-10-03 17:20:22 -07: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 Moesch
1454693308 Remove redundant 'else' blocks 2021-01-31 20:16:57 -08:00
Danny Moesch
ad4ed9419e Format code with SwiftFormat 2021-01-31 20:16:57 -08:00
Mingshen Sun
05a3fa8d9f
Fix UI issues under large text mode 2021-01-05 23:27:35 -08:00
Danny Moesch
49c6b25611 Use SwiftFormat version 0.47.x 2020-11-09 10:13:05 -08: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
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -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
50dec23b02
Fix PGP key importing issue 2020-04-14 11:55:18 -07:00
Mingshen Sun
eb6e854d92 Change logic of passphrass for multikeys 2020-04-13 21:23:23 -07:00
Mingshen Sun
84b1c07f64 Update to gopengpg v2.0.0 2020-04-12 20:15:49 -07:00
Danny Moesch
94a5f8c501 Introduce KeyImporter protocol to reduce code duplications in SSH key importers 2020-02-16 10:17:58 -08:00
Danny Moesch
3cdf77347a Name classes consistently
* Settings are called *SettingsTableViewController
* Key importers are called *ImportTableViewController
* Classes in UserInterface folder are split into Controllers or Views
2020-02-12 18:20:39 -08:00
Danny Moesch
ea27c73b99 Check for readiness before doing any import actions 2020-02-10 22:28:36 -08:00
Danny Moesch
43bba1fb50 Set PGP key source once for all key importers 2020-02-10 22:28:36 -08:00
Danny Moesch
e0c9ceb4fd Add ability to import PGP keys from the Files app 2020-02-10 22:28:36 -08:00
Danny Moesch
5f6723246b Some cosmetic changes 2020-02-10 10:32:14 -08:00
Danny Moesch
e447b1d9d3 Introduce PGPKeyImporter protocol to reduce code duplications 2020-02-10 09:59:24 -08:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00
Mingshen Sun
cea1332b0d
Fix some UI issues introduced by refactoring 2019-12-01 00:25:24 -08:00
Mingshen Sun
258906fdbb
Refactor Git URL related code, fix #336 2019-11-30 15:11:28 -08:00
Mingshen Sun
24c9b9c526
Fix UI issue: font size not consistent 2019-11-18 18:13:48 -08:00
Mingshen Sun
70c887427a
Fix dynamic font size in settings vie 2019-11-17 20:29:22 -08:00
Mingshen Sun
bcf7f5fcca
Fix UI issue
Dynamic type in Settings view in storyboard does not work.
Enable dynamic font manually in source code.
2019-11-17 17:52:31 -08:00
Yishi Lin
e4630e950d Init PGPAgent while getting keyID 2019-10-02 11:04:10 +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
e967bb1f4c Add PGPAgent tests and minor updated 2019-07-20 00:41:45 +08:00
Yishi Lin
6ae4a02a01 Seperate PGPAgent from PasswordStore and add tests 2019-07-17 02:58:01 +08:00
Danny Moesch
8e8501abb0 Save app passcode in Keychain and migrate existing passcode from SharedDefaults 2019-07-10 21:47:40 -07:00
Danny Moesch
a66a79abc6 Store PGP keys in Keychain 2019-07-02 13:50:16 -07:00
Moritz Kuntze
96f7c1960d Changed PGP backend from ObjectivePGP to GopenPGP 2019-06-08 10:39:17 -07:00
Danny Moesch
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
Danny Moesch
116e258d05 Localize more strings in password view 2019-02-23 14:22:27 -08:00
Danny Moesch
804a0f06bf Add missing SSH private key localization string 2019-01-20 21:04:04 -08:00
Danny Moesch
07b4bf8e8c Fix wrong string 2019-01-20 21:04:04 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Bob Sun
2bfb36c527
Cleanup code of error handling 2018-11-17 21:41:28 -08:00
Danny Moesch
97368eb8a8 Fix #228: Trim URL strings before saving 2018-11-13 15:38:18 -08:00
Yishi Lin
15e90198fe Add hints about how to download keys (fix #215) 2018-09-30 23:31:01 +08:00
Yishi Lin
403fc5201e Fix warning about UI API called on background thread 2018-04-12 00:06:49 +08:00
Yishi Lin
433562584e Passcode lock 2018-04-10 05:18:16 +08:00