13 Commits

Author SHA1 Message Date
Allan Feldman
83c6ae33dc Fix security bug which autofilled passwords without passcode/faceid auth
The autofill extension currently calls the success callback even if a
passcode/FaceID is not successfully verified.

In the case that the PGP key passphrase is stored, this results in
password decryption without further user interaction.

The fix is to only decrypt passwords upon successful passcode / FaceID
verification.
2023-03-09 12:55:39 -08:00
Danny Moesch
819371f55e Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Mingshen Sun
d28861448e Fix issue of displying extension 2021-08-31 18:25:40 -07:00
Danny Moesch
bc2d9aa8e8 Present lock view only if needed for an action
* Do not present lock view in 'viewDidLoad' since this might be too early for an extension ("Not running foreground").
* Instead, show it for actions requiring authentication, e.g. showing the password list or providing a password, or only in 'viewDidAppear'.
* Refactor and lazily load other view controllers and data.
* Let credential providing view controllers decide when to hide themselves.
2021-08-27 22:03:00 -07:00
Danny Moesch
942f462db8 Move class to own file 2021-08-27 22:03:00 -07:00
Danny Mösch
545186da96 Activate Face ID automatically as soon as the lock view appears in extensions (#492) 2021-08-26 16:10:44 -07:00
Mingshen Sun
776884e894 Refactor and merge code of extensions 2021-01-10 13:40:17 -08:00
Mingshen Sun
9e8994f576 Fix passcode display issue in the AutoFill extension 2021-01-03 21:36:57 -08:00
Mingshen Sun
40ac070232 Rewrite AutoFill extension 2020-12-31 21:46:50 -08:00
Danny Moesch
b4c25726a5 Enable SwiftLint rule 'lower_acl_than_parent' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
1b3a8ff0d8 Enable SwiftLint rule 'let_var_whitespace' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Danny Moesch
d698f2e3c3 Use folder references for all groups and sort files/folders 2019-01-21 20:34:18 -08:00