Commit graph

97 commits

Author SHA1 Message Date
Danny Mösch
763cddf540
Show notification with OTP after providing password through extension (#509)
* Allow to do something with a password after providing it in the extension
* Make fields non-nil
* Show OTP in notification after providing a password through extension
2021-09-20 00:50:05 -07:00
Danny Mösch
3eb131b65d
Fix file headers (#494) 2021-08-27 22:32:31 -07:00
Danny Moesch
7cbc14978a Use SwiftFormat version 0.48.x 2021-08-15 01:34:43 -07:00
Mingshen Sun
b49593e87f
Rename ignore .gpg-id switch to enalbe .gpg-id 2021-01-10 20:28:20 -08:00
Mingshen Sun
1e1d6f0f44
Fix passphrase issue 2021-01-07 22:35:45 -08:00
Mingshen Sun
a62792bd11
Add ignore .gpg-id switch default ON 2021-01-07 21:58:38 -08:00
Danny Moesch
1a8692bde3 Run updated SwiftFormat 2020-12-23 19:59:26 -08:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 2020-09-20 17:25:50 -07:00
Danny Moesch
8459af4196 Use correct bundle ID for extensions in beta app 2020-09-06 20:44:46 -07:00
Danny Moesch
0317f5a83b Enable SwiftLint rule 'trailing_closure' 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
2e6cf69b03 Enable SwiftLint rule 'convenience_type' 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
Mingshen Sun
fcc8961e46
Fix fail-safe mechanism for other decryption scenarios 2020-04-18 22:42:25 -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
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
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
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
a2edf41d33 Update SwiftyUserDefaults to current version 5.0.0 2020-01-01 19:03:04 -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
Danny Moesch
44cb864642 Wrap GopenPGP errors into more understandable app errors 2019-10-20 11:35:52 -07:00
Danny Moesch
51c9510f3d Introduce color provider to encapsulate check for iOS 13 availability 2019-10-01 22:48:15 +02: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
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
Yishi Lin
1ec26a0eea Clean up very old migration codes 2019-07-19 01:46:56 +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
cc493cb490 Allow setting a nil value in AppKeychain.add to delete existing content 2019-07-03 21:45:27 -07:00
Danny Moesch
f1337622dc Store SSH private keys in Keychain instead of files 2019-07-03 21:45:27 -07:00
Danny Moesch
6b95e60ea1 Introduce CryptographicKey protocol 2019-07-03 21:45:27 -07:00
Danny Moesch
5f19c348c8 Keep global constants for armor keys and clean them up during migration and user initiated key removal 2019-07-02 13:50:16 -07:00
Danny Moesch
7bee780b46 Extract key importing logic and put it into separate class 2019-07-02 13:50:16 -07:00