Commit graph

290 commits

Author SHA1 Message Date
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
Danny Moesch
b60ce3b003 Fix #340: Always end password entries with a newline 2019-12-10 22:03:49 -08:00
Mingshen Sun
cea1332b0d
Fix some UI issues introduced by refactoring 2019-12-01 00:25:24 -08:00
Mingshen Sun
efdc45ea89
Move the request credential function into one file 2019-11-30 23:05:30 -08:00
Mingshen Sun
2f3e51947a
Refactor the request credential function 2019-11-30 22:39:21 -08:00
Mingshen Sun
902930ddfc
Cleanup GitServerSettingTableViewController 2019-11-30 17:37:09 -08:00
Mingshen Sun
258906fdbb
Refactor Git URL related code, fix #336 2019-11-30 15:11:28 -08:00
Mingshen Sun
6485fe2669
Version bump to 0.9.0 2019-11-22 16:06:39 -08:00
Mingshen Sun
a07f3af4e2
Forgot to saveUpdateContext() in edit 2019-11-18 18:08:31 -08:00
Yishi Lin
30bb227ae3 Fix #332: The synced status is now saved in DB 2019-11-19 02:19:57 +08:00
Danny Moesch
4c47729a6e Fix #326: Do not assume 'master' as the default checked out branch 2019-11-08 14:30:56 -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
e4630e950d Init PGPAgent while getting keyID 2019-10-02 11:04:10 +08:00
Danny Moesch
b349427d7e Remove checks for iOS 8 as the minimum deployment target is iOS 10.2 2019-10-01 22:52:59 +02:00
Danny Moesch
51c9510f3d Introduce color provider to encapsulate check for iOS 13 availability 2019-10-01 22:48:15 +02:00
Yishi Lin
e0c32003e3 Cleanup and fix the erase logic
Explicitly uninit PGP agent during erasing all data.
2019-10-01 00:40:37 +08:00
Yishi Lin
230b421a90 Add the passcode cache back 2019-10-01 00:16:56 +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
Mingshen Sun
504d9619fc
UI tweaks for PasscodeLockView 2019-09-28 17:37:12 -07:00
Yishi Lin
c4f0462d43 Update the passcode lock view 2019-09-29 00:28:46 +08:00
Yishi Lin
35f599c45b Allow resettig app in the passcodelockview 2019-09-28 21:38:32 +08:00
Danny Moesch
a496d54ffa Support Dark Mode in passcode lock view 2019-09-23 15:39:50 -07:00
Danny Moesch
414e31cba3 Adapt UI with respect to Dark Mode 2019-09-22 22:30:20 -07:00
Danny Moesch
c824bb10e7 Introduce constants for Git password identifiers 2019-09-15 00:32:18 -07:00
Danny Moesch
730542d5bb Separate encryption/decryption logic for different frameworks used 2019-09-15 00:32:18 -07:00
Danny Moesch
4c3aa4938d Add extension to convert objects of type Data to instances of NSMutableData
This process is necessary because of an issue (https://github.com/golang/go/issues/33745) in gomobile. Passing bare Data objects to Go functions leads to nondeterministic behavior.
2019-09-15 00:32:18 -07:00
Moritz Kuntze
21c172f9a8 Upgrade GopenPGP and remove Gopenpgpwrapper glue code 2019-09-15 00:32:18 -07:00
Yishi Lin
58e7e1b4e4 Version bump to 0.8.0 2019-07-28 00:16:27 +08:00
Yishi Lin
032e442d78
Merge pull request #292 from SimplyDanny/make-simulator-untouched-by-tests
Do not influence the Simulator by tests
2019-07-21 13:39:53 +08: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
b42401343d Let AppKeychain not be static only 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
Danny Moesch
ea37b40e2f Mark field 'gpgAgent' as never-nil 2019-07-20 22:59:22 +02:00
Yishi Lin
2ece3ef07a Clean up codes in PGPAgent
After the migration, there is nothing there.
2019-07-21 02:25:21 +08:00
Yishi Lin
e967bb1f4c Add PGPAgent tests and minor updated 2019-07-20 00:41:45 +08:00
Yishi Lin
1ec26a0eea Clean up very old migration codes 2019-07-19 01:46:56 +08:00
Mingshen Sun
7cf9311f95
Delete useless print 2019-07-16 23:36:25 -07:00