Commit graph

1061 commits

Author SHA1 Message Date
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
Danny Moesch
b806175842 Throw error in case PGP key files cannot be read 2019-07-02 13:50:16 -07:00
Danny Moesch
f0003227d5 Delete key files after migrating them to Keychain 2019-07-02 13:50:16 -07:00
Danny Moesch
441a7f1e9b Put Keychain related methods to separate class 2019-07-02 13:50:16 -07:00
Danny Moesch
e4e4c6daff Implement migration of existing PGP keys into Keychain 2019-07-02 13:50:16 -07:00
Danny Moesch
a66a79abc6 Store PGP keys in Keychain 2019-07-02 13:50:16 -07:00
Danny Moesch
ca3271b20a Restrict passwords in Keychain only to "this" device and disable iCloud syncing 2019-07-02 13:50:16 -07:00
Danny Moesch
5d1a3eae1a Make 'keychain' a static class variable 2019-07-02 13:50:16 -07:00
Yishi Lin
e5b31f3d92 CI: check the existance of go/dist/framework 2019-06-16 00:08:08 +08:00
Yishi Lin
0ec5b5cd80 Fix the git add path 2019-06-15 16:21:37 +08:00
Yishi Lin
4964126c4c
Merge pull request #273 from SimplyDanny/remove-overrides
Remove unneeded overrides in custom views
2019-06-15 15:27:58 +08:00
Danny Moesch
7f6ad5b88c Remove unneeded overrides in custom views 2019-06-14 18:22:43 +02:00
Mingshen Sun
41549b3481
increase cell height of setting pgp key url 2019-06-09 23:14:30 -07:00
Mingshen Sun
82232be92c
remove some unwraps 2019-06-09 22:18:54 -07:00
Mingshen Sun
15518733b0
add GopenPGP to replace ObjectivePGP in the third-party components view 2019-06-09 21:02:02 -07:00
Mingshen Sun
a0d62eb3c8
polish details on UI 2019-06-09 15:25:07 -07:00
Mingshen Sun
c66439c2f9
passKit: fix warnings 2019-06-08 18:03:04 -07:00
Mingshen Sun
bb9d2bec5d
ci: only go/dist needs to be cached 2019-06-08 17:51:47 -07:00
Mingshen Sun
613b74f3ba
merge screenshot and badge directories into img 2019-06-08 17:46:47 -07:00
Mingshen Sun
aef87c5366
readme: no longer need pod 2019-06-08 17:45:47 -07:00
Mingshen Sun
bd7c42f9f4
ci: cache carthage/go frameworks to make CI faster 2019-06-08 17:27:29 -07:00
Mingshen Sun
5ccf5461b8
ci: remove pod related scripts 2019-06-08 15:13:38 -07:00
Mingshen Sun
0d4370ee40
remove Pods related configurations 2019-06-08 14:56:29 -07:00
Mingshen Sun
d9a3cf4882
Temporary workaround for exporting issue.
Caused by https://github.com/golang/go/issues/28997
2019-06-08 14:48:45 -07:00
Moritz F. Kuntze
19ca3ea4f0 Update gopenpgp_build.sh 2019-06-08 10:39:17 -07:00
Moritz F. Kuntze
4bcdd995d3 Update .travis.yml 2019-06-08 10:39:17 -07:00
Moritz F. Kuntze
d51f1000bd Update .travis.yml 2019-06-08 10:39:17 -07:00
Moritz Kuntze
083c37f4e7 Automated build of GopenPGP 2019-06-08 10:39:17 -07:00
Moritz Kuntze
96f7c1960d Changed PGP backend from ObjectivePGP to GopenPGP 2019-06-08 10:39:17 -07:00
Yishi Lin
5439ad0f5b Fix #173 2019-05-20 02:19:48 +08:00
Yishi Lin
43ff63e01d Do no prompt repeatedly for the SSH passphrase 2019-05-20 01:26:53 +08:00
Meris Bahtijaragic
c59c72729b Get username from filepath. (#265) 2019-05-17 23:30:41 +08:00
Yishi Lin
b154c04178
Merge pull request #267 from SimplyDanny/fix-258
Fix #258: Remove keys before moving new ones
2019-05-16 18:43:26 +08:00
Danny Moesch
adff0c1142 Fix #258: Remove existing key files before moving new ones to the same location 2019-05-15 22:49:46 +02:00
Yishi Lin
c8860fc36f Fix #263 2019-05-15 02:36:41 +08:00
Yishi Lin
715b8c892f Fix 259: update edited entries properly 2019-05-15 02:14:05 +08:00
Yishi Lin
451e2f6fbb Fix 262: save context after editing 2019-05-15 01:12:10 +08:00
Yishi Lin
ebb3566616 Cleanup old migration codes 2019-05-15 01:09:58 +08:00
Yishi Lin
04b451874d Use new objectivepgp 2019-05-11 03:51:35 +08:00
Yishi Lin
0248425e3c Fix the cocoapods version to 1.5.3 2019-05-11 03:48:25 +08:00
Yishi Lin
39f487ecb9 Update Xcode version 2019-05-10 13:09:44 +08:00
Yishi Lin
9ccc142c05
Merge pull request #261 from SimplyDanny/convert-to-swift-5
Migrate to Swift 5.0
2019-05-10 12:56:07 +08:00
Danny Moesch
44870af774 Trust in assigned default value
In particular, SwiftyUserDefaults returns the default value in case it does not find a value in the dictionary. As the default is '.all' it does not have to be set explicitly. Assigning 'nil' will result in '.all' anyway.
2019-05-04 22:15:23 +02:00
Danny Moesch
4b3e424bb3 Remove superfluous cast 2019-05-03 00:18:14 +02:00
Danny Moesch
c2cd6481fd Utilize default settings values 2019-05-01 18:30:13 +02:00