Commit graph

1017 commits

Author SHA1 Message Date
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
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