Commit graph

126 commits

Author SHA1 Message Date
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
6044098278 Refactor GitCredential to simplify it and to add tests 2020-09-06 20:12:36 -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
79dbac4e9e Enable SwiftLint rule 'strict_fileprivate' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
2920acefbc Enable SwiftLint rule 'multiple_closures_with_trailing_closure' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
959ef659d2 Enable SwiftLint rule 'multiline_parameters' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
b4c25726a5 Enable SwiftLint rule 'lower_acl_than_parent' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
f139f45370 Enable SwiftLint rule 'empty_xctest_method' 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
a92940e610
Add beta distrubution channel 2020-07-19 18:25:21 -07:00
Danny Moesch
e2e3275293 Refactor and rename in test code 2020-04-19 13:42:41 -07:00
Danny Moesch
f643a63fe1 Fix typos 2020-04-19 13:42:41 -07:00
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -07:00
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios 2020-04-18 22:42:25 -07:00
Mingshen Sun
4fdf9767c5 Add test key in different passphrase 2020-04-13 21:23:23 -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
7f6e3f1909 Enable RSA4096 subkey and clone 2020-04-12 20:15:49 -07:00
Mingshen Sun
f4f038375b Support gnu-dummy 2020-04-12 20:15:49 -07:00
Mingshen Sun
84b1c07f64 Update to gopengpg v2.0.0 2020-04-12 20:15:49 -07:00
Danny Moesch
2c65173c71 Use limited length for password generation 2020-03-08 10:40:38 -07:00
Danny Moesch
ff014a5699 Add logic for more customizable password generator 2020-03-03 15:38:51 -08: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
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
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
Danny Moesch
01ac9d38df Adapt code to changed API of GopenPGP 2019-11-08 14:05:25 -08:00
Danny Moesch
44cb864642 Wrap GopenPGP errors into more understandable app errors 2019-10-20 11:35:52 -07:00
Yishi Lin
af9e35a788 Fix unit test 2019-10-03 14:49:03 +08:00
Yishi Lin
e332b1f3be Do not forget pgp passphrase on decryption error #296 2019-09-30 02:05:01 +08:00
Yishi Lin
6b00d4911b Fix a decryption bug 2019-09-30 00:12:54 +08:00
Danny Moesch
2618c6bead Activate tests for keys with sub-keys 2019-09-18 14:37:44 -07:00
Danny Moesch
73c2607f3c Add test for issue #303 2019-09-16 15:51:10 -07:00
Danny Moesch
730542d5bb Separate encryption/decryption logic for different frameworks used 2019-09-15 00:32:18 -07:00
Danny Moesch
e2201ffa52 Add general tests for basic encryption and decryption with Crypto framework 2019-09-15 00:32:18 -07:00
Danny Moesch
5c7d4e55a4 Introduce KeyStore protocol in order to provide specialized key store implementations for tests
With the DictBasedKeychain the main AppKeychain is not influenced by tests. The previous implementation led to an empty Keychain requiring a new setup of the simulator.
2019-07-20 23:42:32 +02:00
Danny Moesch
5527c98568 Group test support files 2019-07-20 23:42:32 +02:00
Danny Moesch
3eaf00f9fd Move 'keyHandler' in KeyFileManager from constructor to function 2019-07-20 23:42:32 +02:00
Yishi Lin
e967bb1f4c Add PGPAgent tests and minor updated 2019-07-20 00:41:45 +08:00
Yishi Lin
765b487ffa Add tests in PGPAgentTest 2019-07-19 00:14:51 +08:00
Yishi Lin
6ae4a02a01 Seperate PGPAgent from PasswordStore and add tests 2019-07-17 02:58:01 +08:00
Danny Moesch
6b95e60ea1 Introduce CryptographicKey protocol 2019-07-03 21:45:27 -07:00
Danny Moesch
7bee780b46 Extract key importing logic and put it into separate class 2019-07-02 13:50:16 -07:00
Meris Bahtijaragic
c59c72729b Get username from filepath. (#265) 2019-05-17 23:30:41 +08:00