Commit graph

549 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
c2cd6481fd Utilize default settings values 2019-05-01 18:30:13 +02:00
Danny Moesch
f9c19b3ca4 Migrate to Swift 5.0 2019-05-01 18:30:13 +02:00
David Beitey
1e5022e404 Hide placeholder with Hide Password Images on
This hides the password image placeholder when `Hide Password Images` is
enabled. Auto-layout constraints are toggled on and off depending on the
setting's value to ensure correct alignment.

Extends #248
2019-03-08 00:30:36 +10:00
Danny Moesch
296a3cbcfa Introduce enum for scope of search bar
This simplifies the handling of the indices in the search bar scope list, replaces strings as keys and allows a proper localization not breaking any logic.
2019-03-05 13:51:39 -08:00
David Beitey
f98d56753b Add ability to hide password images
This disables loading of favicon images associated with password entries
and hides any images that are already loaded, using the generic icon
instead.

The key benefit to this option is to prevent passforios revealing that a
given device has a password in its store, which could be gleaned from
the fact that favicons are being loaded in this manner.
2019-03-03 10:54:30 -08: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
116e258d05 Localize more strings in password view 2019-02-23 14:22:27 -08:00
Danny Moesch
936d91e415 Add missing dot 2019-02-23 14:22:27 -08:00
Danny Moesch
08c91599b6 Use | operator to concatenate multiline strings 2019-01-20 21:04:04 -08:00
Danny Moesch
804a0f06bf Add missing SSH private key localization string 2019-01-20 21:04:04 -08:00
Danny Moesch
07b4bf8e8c Fix wrong string 2019-01-20 21:04:04 -08:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Danny Moesch
2d5ca58bd9 Use PasswordGeneratorFlavor class to set user defaults and UI elements 2019-01-20 21:04:04 -08:00
Danny Moesch
6b4dbd50a9 Support custom branches (#236) 2019-01-13 15:34:01 -08:00
Danny Moesch
744b46adc2 Do not show 0 if numbers in "About Repository" cannot be obtained properly 2019-01-12 16:36:37 -08:00
Danny Moesch
f47e7d384c Show correct number of commits in "About Repository" 2019-01-12 16:36:37 -08:00
Danny Moesch
9e027b878a Replace TableCell struct with AdditionField 2018-12-18 10:06:45 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Danny Moesch
5780a439db Show number of hidden fields in password view 2018-12-08 21:15:51 -08:00
Danny Moesch
7f330fbeed Use HTTPS for URLs by default 2018-12-08 21:11:58 -08:00
Danny Moesch
f8f858f15e Pass content of URL field to 'openLink' method
Previously, 'openLink' has chosen the first URL field contained in the
password file. Since the action "Copy & Open" is performed on a specific
field, only its content should be considered.
2018-12-08 21:11:58 -08:00
Danny Moesch
3cd8df310c Introduce enum for password generator flavour 2018-12-05 12:59:04 -08:00
Bob Sun
2bfb36c527
Cleanup code of error handling 2018-11-17 21:41:28 -08:00
Bob Sun
9a3131943f
Cleanup unneccessary error handling in the updatePasswordImage function 2018-11-17 21:27:06 -08:00
Bob Sun
f0eb9c47ed
Cleanup unneccessary function in AboutRepositoryTableViewController 2018-11-16 23:12:01 -08:00
Bob Sun
dfc13a37d3
Refactor logics of handling the PasswordStore model's properties 2018-11-16 22:28:19 -08:00
Bob Sun
c48fe3755e
Delete obsolete OTPScannerController 2018-11-15 20:17:00 -08:00
Danny Moesch
97368eb8a8 Fix #228: Trim URL strings before saving 2018-11-13 15:38:18 -08:00
Danny Moesch
b6f94f8814 Introduce string extension property 'trimmed' 2018-11-13 15:38:18 -08:00
Danny Moesch
7c12263458 Separate parser and helpers from Password class for better testability 2018-11-11 11:30:39 -08:00
Bob Sun
2abbceb2e9
Set name and url in Password non-optional
Name and url in Password class shouldn't be optional because we store
them in core data as non-optional. This change also help us to avoid
man unneccessary unwrap.
2018-11-10 22:38:12 -08:00
Yishi Lin
826357ca47 Open xkpasswd (generate memorable pwd) with the app 2018-10-01 01:15:26 +08:00