Allan Feldman
5bee0a28b1
Patch the go crypto libraries to enable gnu dummy values.
2019-09-17 23:43:59 -07:00
Danny Moesch
73c2607f3c
Add test for issue #303
2019-09-16 15:51:10 -07:00
Mingshen Sun
e5525ad625
Fix building issue caused by https://github.com/golang/go/issues/28997
2019-09-15 15:13:49 -07:00
Danny Moesch
63fd313017
Remove traces of GopenPGP glue code
2019-09-15 00:32:18 -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
e2201ffa52
Add general tests for basic encryption and decryption with Crypto framework
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
Danny Moesch
bfeb39f510
Polish build script
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
Yishi Lin
ad351307e4
Merge pull request #291 from SimplyDanny/field-gpgagent-never-nil
...
Mark field 'gpgAgent' as never-nil
2019-07-21 12:03:29 +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
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
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
Mingshen Sun
a628a9b4da
Properly get the commit range for cache
2019-07-18 13:38:57 -07:00
Yishi Lin
1ec26a0eea
Clean up very old migration codes
2019-07-19 01:46:56 +08:00
Yishi Lin
765b487ffa
Add tests in PGPAgentTest
2019-07-19 00:14:51 +08:00
Yishi Lin
bbc1b8124d
Merge pull request #288 from ZortacDev/patch-1
...
Fix #287 .
2019-07-18 22:56:26 +08:00
Moritz F. Kuntze
3b238c5a81
Revert erroneous fix and fix #287
2019-07-18 14:13:44 +02:00
Moritz F. Kuntze
601673808d
Fix #287 .
2019-07-18 14:11:34 +02:00
Mingshen Sun
90bc399c9f
Fix a bug when importing SSH Key from URL
2019-07-17 23:43:28 -07:00
Mingshen Sun
7cf9311f95
Delete useless print
2019-07-16 23:36:25 -07:00
Yishi Lin
584b634689
Cleanup the previously set keys before init
2019-07-17 13:35:16 +08:00
Mingshen Sun
f2726fa803
Fix building issue
2019-07-16 17:02:09 -07:00
Yishi Lin
1b23687ca7
Update travis
2019-07-17 03:39:28 +08:00
Yishi Lin
2e620c20ae
Fix travis
2019-07-17 03:07:30 +08:00
Yishi Lin
6ae4a02a01
Seperate PGPAgent from PasswordStore and add tests
2019-07-17 02:58:01 +08:00
Yishi Lin
0862c1388e
Use ObjectivePGP if Gopenpgp fails
2019-07-17 00:19:23 +08:00
Yishi Lin
d627149948
Show encryption error while saving edition
2019-07-15 01:37:20 +08:00
Mingshen Sun
7df7cb118e
update readme
2019-07-13 16:15:26 -07:00
Mingshen Sun
79d0df2c89
Version bump to 0.7.0
2019-07-13 16:10:36 -07:00
Danny Moesch
9997947f06
Do not show PGP and SSH keys in ASCII-armor import views
2019-07-10 22:03:41 -07: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
fa2fde1af4
Leave key source settings unchanged when migrating
2019-07-03 21:45:27 -07:00
Danny Moesch
149edc1cbc
Only migrate if possible (do not stop after first failure)
2019-07-03 21:45:27 -07:00
Danny Moesch
53c003b17a
Update UI after successful SSH key import
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
d43a3be6f6
Remove duplicated check for HTTPS
2019-07-02 13:50:36 -07:00
Danny Moesch
68f2c28f48
Add missing localization to string
2019-07-02 13:50:36 -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
Danny Moesch
47c9af0127
Fix wrong Keychain key string
...
This caused the private PGP key passphrase to remain unchanged although the key itself was removed.
2019-07-02 13:50:16 -07:00