Commit graph

228 commits

Author SHA1 Message Date
Danny Moesch
6044098278 Refactor GitCredential to simplify it and to add tests 2020-09-06 20:12:36 -07:00
Danny Moesch
56b7b24fce Move Crypto functionality back to passKit 2020-09-06 17:59:55 -07:00
Danny Moesch
8a4136b7ce Enable SwiftLint rule 'computed_accessors_order' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
d3a11c9d29 Enable SwiftLint rule 'function_default_parameter_at_end' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
ab80e5297e Enable SwiftLint rule 'unneeded_parentheses_in_closure_argument' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
0317f5a83b Enable SwiftLint rule 'trailing_closure' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
b032ed2df3 Enable SwiftLint rule 'nslocalizedstring_require_bundle' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
92123448a4 Enable SwiftLint rule 'nslocalizedstring_key' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
8828298afb Enable SwiftLint rule 'multiline_parameters_brackets' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
776c813f94 Enable SwiftLint rule 'multiline_function_chains' 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
c290ebe427 Enable SwiftLint rule 'legacy_multiple' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
37bcbdeef2 Keep SwiftLint rule 'discouraged_optional_collection' disabled 2020-08-28 16:42:30 -07:00
Danny Moesch
2e6cf69b03 Enable SwiftLint rule 'convenience_type' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
08473f8f05 Enable SwiftLint rule 'conditional_returns_on_newline' 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
Danny Moesch
b503e5f613 Inform the user about a failed push
In case there are uncommitted changes in the remote repository the push ran through successfully but there were still unpushed changes in the app. This change notfies the user about this situation. Strangely, the push method from Objective-Git does not inform about this, although the command line Git does. Thus, the check for the number of local changes is used after the push operation, which can actually have several reasons. Important is that there is at least some hint, though.
2020-07-26 16:16:57 -07:00
Mingshen Sun
a92940e610
Add beta distrubution channel 2020-07-19 18:25:21 -07:00
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -07:00
Mingshen Sun
072f824158
No need to select key for encryption if there only one imported key 2020-04-18 23:21:50 -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
0cae6af60d
Check existence of PGP keys before encrypt/decrypt 2020-04-14 20:20:16 -07:00
Mingshen Sun
eb6e854d92 Change logic of passphrass for multikeys 2020-04-13 21:23:23 -07:00
Mingshen Sun
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Mingshen Sun
e62f4714e8 Encryption support for multi keys 2020-04-13 21:23:23 -07:00
Mingshen Sun
b7ee00815c Partially implement multikeys support (decryption) 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
b3bde9e0e0 Implement Siri shortcut to sync repository per automation task 2020-03-16 10:13:49 -07:00
Danny Moesch
2c65173c71 Use limited length for password generation 2020-03-08 10:40:38 -07:00
Danny Moesch
b84f2dce13 Update UI to support more customizable password generator 2020-03-03 15:38:51 -08:00
Danny Moesch
ff014a5699 Add logic for more customizable password generator 2020-03-03 15:38:51 -08:00
Yishi Lin
5a72bc9d9a Fix ios12 blue and red 2020-02-27 02:20:55 +08:00
Danny Moesch
e39e9c4b2a Conform to DefaultsSerializable only where needed 2020-02-23 11:49:42 +01:00
Danny Moesch
780c6c9bca Read word list lazyly 2020-02-23 11:49:42 +01:00
Danny Moesch
ea693db86b Rename test class 2020-02-23 11:49:42 +01:00
Yishi Lin
6bf4716366 Better search results 2020-02-23 18:06:14 +08:00
Yishi Lin
610eef411f Add eff short wordlist 2020-02-23 03:48:10 +08:00
Yishi Lin
fe21f1c8da Generate XKCD style password 2020-02-23 03:06:23 +08:00
Yishi Lin
71c793029a Polish codes related to password generation
1. Polish codes in PasswordGeneratorFlavour
2. Polish related codes in view controllers
2020-02-23 00:39:14 +08:00
Mingshen Sun
2dc8182fe8
Update core data in main thread 2020-02-18 11:04:08 -08: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
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
56b2205376 Introduce 'splitByNewline' string extension 2020-01-18 15:01:05 -08:00
Danny Moesch
2ffc9ba568 Remove '==' method from AdditionField as it can be inferred 2020-01-18 15:01:05 -08:00
Danny Moesch
a5bc60bf58 Do not assume lowercased OTP keywords 2020-01-18 15:01:05 -08:00
Danny Moesch
e8afd251ed Make 'isUnknown' method more precise 2020-01-18 15:01:05 -08:00
Danny Moesch
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -08:00