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
Danny Moesch
e06413b348
Add default value to non-optional DefaultsKeys
2019-05-01 18:30:13 +02:00
Danny Moesch
d698f2e3c3
Use folder references for all groups and sort files/folders
2019-01-21 20:34:18 -08:00
Danny Moesch
1b4040135e
Localize strings in code
2019-01-20 21:04:04 -08:00
Danny Moesch
2d5ca58bd9
Use PasswordGeneratorFlavor class to set user defaults and UI elements
2019-01-20 21:04:04 -08:00
Danny Moesch
c18b70e7d7
Use XCTAssert instead of XCTAssertTrue
2018-12-18 10:06:45 -08:00
Danny Moesch
ae57042f36
Make sure unknowns and OTP fields are not hidden in PasswordTest
2018-12-18 10:06:45 -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
2ba6917710
Test also counting of unknown and OTP related fields
2018-12-08 21:15:51 -08:00
Danny Moesch
e019f6ac9d
Introduce some helper methods in TestBase to simplify PasswordTest
2018-12-08 21:15:51 -08:00
Danny Moesch
fa12a6f046
Move constants from ParserTest to TestBase
2018-12-08 21:15:51 -08:00