Commit graph

36 commits

Author SHA1 Message Date
Danny Moesch
a5570a8409 Remove optional arguments and qualified names 2020-02-10 22:28:36 -08:00
Danny Moesch
43bba1fb50 Set PGP key source once for all key importers 2020-02-10 22:28:36 -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
e83a2f941e
Fix QR code scanning problem 2019-11-24 10:09:36 -08:00
Yishi Lin
6f295be74d Polish codes of QR code scanner 2019-10-03 14:27:00 +08:00
Danny Moesch
51c9510f3d Introduce color provider to encapsulate check for iOS 13 availability 2019-10-01 22:48:15 +02:00
Danny Moesch
730542d5bb Separate encryption/decryption logic for different frameworks used 2019-09-15 00:32:18 -07:00
Danny Moesch
ea37b40e2f Mark field 'gpgAgent' as never-nil 2019-07-20 22:59:22 +02:00
Yishi Lin
6ae4a02a01 Seperate PGPAgent from PasswordStore and add tests 2019-07-17 02:58:01 +08: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
6b95e60ea1 Introduce CryptographicKey protocol 2019-07-03 21:45:27 -07:00
Danny Moesch
68f2c28f48 Add missing localization to string 2019-07-02 13:50:36 -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
441a7f1e9b Put Keychain related methods to separate class 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
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
Danny Moesch
8351c16d75 Compute heights of TableViewCells automatically
This is necessary because different languages need different amounts of space. Especially text fields with some more text need to be variable in their heights.
2019-02-23 14:22:27 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Yishi Lin
15e90198fe Add hints about how to download keys (fix #215) 2018-09-30 23:31:01 +08:00
Yishi Lin
d0bad8660b Provide the 'remember git credential passphrases' option 2017-10-08 21:37:58 +08:00
Yishi Lin
8ed8223758 Fix PGP key setting checks 2017-07-27 21:12:58 +08:00
Bob Sun
72424c7db2
Use split view for Settings 2017-06-22 00:09:12 -07:00
Yishi Lin
d2ba620ae4 Move codes to an embed framework
- Move bundle/group identifiers to passKit/Global
- Fix Core Data
- Change Defaults to SharedDefaults
2017-06-13 11:43:46 +08:00
Yishi Lin
2388edccfb Polish logics about PGP passphrase
- Ask passphrase only when users want to save them for later usage
- Provide a second change to enter passphrase during the decryption
2017-06-07 21:11:01 +08:00
Yishi Lin
750532850a Scan QR codes to insert PGP ascii-armor keys 2017-05-14 20:44:48 +08:00
Bob Sun
d6c7b67fcc
Fix issue about remembering passphrase function (#74) 2017-04-25 20:13:59 -07:00
Yishi Lin
29e293ebde Check armor pgp keys before saving 2017-04-10 02:15:49 +08:00
Yishi Lin
bef9e0251c Ask to save passphrase while setting PGP keys through URLs 2017-04-08 23:51:43 +08:00
Yishi Lin
855e3c34d9 Clear the copied ascii-armor keys 10s after pasting. 2017-04-04 00:03:21 +08:00
Bob Sun
d2cff20131 Put PasswordStore as instance in controllers 2017-03-16 22:39:03 -07:00
Bob Sun
fa512e6c86
Add switch to turn on/off remembering passphrase
If the switch is on, users need  to type passphrase of secret key once. The key will be stored in the Keychain.

If the switch is off, users have to fill in passphrase for each decryption including show password detail and long press to copy.
2017-02-28 12:25:52 +08:00
Bob Sun
90709675a3
use keychain to store pgp passphrase and git password 2017-02-19 22:10:36 +08:00
Bob Sun
a3a09beebf
remove passphrase cell and add passphrase alert dialog 2017-02-17 14:58:27 +08:00
Bob Sun
a5f13a1e8a
support ASCII armor encrypted PGP keys 2017-02-17 13:44:25 +08:00