Commit graph

1563 commits

Author SHA1 Message Date
Mingshen Sun
cdaf60da73 Do not init Yubikey if device does not support MFI accessory 2023-03-12 14:46:37 -07:00
Mingshen Sun
9ec7073e84 Recover search status back from the password detail 2023-03-10 22:01:18 -08:00
Mingshen Sun
5a91db4f76 Fix warnings and deprecated APIs 2023-03-10 20:56:56 -08:00
Mingshen Sun
d078d3ca0a Use system colors (fix #608) 2023-03-10 20:34:30 -08:00
Mingshen Sun
e6c1dc8dee
Fix missing Italian translation (#607) 2023-03-09 22:05:42 -08:00
Dominik Johs
f2a0c4ccf1
do not dismiss views when application is resumed (#605)
* do not dismiss views when application is resumed

* prevents the PasswordNavigationViewController and PasswordDetailTableViewController from being dismissed when the app is put to the background and then brought back to the foreground
* Instead, the PasswordEntities are re-fetched from the context by their path to handle the re-creation of the entities during an update process that could have run in the background

* update SwiftLint to version 0.50.*

* update SwiftFormat to 0.51.*

---------

Co-authored-by: Mingshen Sun <bob@mssun.me>
2023-03-09 21:33:19 -08:00
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
Mingshen Sun
6cf6ef1d45 Remove NDEF-tag from entitlements 2023-03-09 12:15:11 -08:00
Mingshen Sun
2f9849314d Update Gemfile.lock 2023-03-09 11:45:34 -08:00
Mingshen Sun
b09bc7444f Remove branches for iOS 12 compatibility 2023-03-09 11:40:33 -08:00
Mingshen Sun
7000834575 Update README.md 2023-03-09 11:40:33 -08:00
Anton Krasovsky
6fa4968bec Update deployment target to 13.0 2023-03-09 11:40:33 -08:00
Anton Krasovsky
f6b2316324 Add support for Yubikey command chaining 2023-03-09 11:40:33 -08:00
Mingshen Sun
e6c9440bff swiftlint 0.50.* is required 2023-03-09 11:40:33 -08:00
Mingshen Sun
c1376f873a Version bump to 0.14.0 2023-03-09 11:40:33 -08:00
Mingshen Sun
9caf2a0a3b Add deploy workflow for pushing release branch 2023-03-03 21:54:39 -08:00
Mingshen Sun
2f7eff431b Remove custom accessory protocol entry com.yubico.ylp of UISupportedExternalAccessoryProtocols in Info.plist 2023-03-03 21:22:31 -08:00
Danny Mösch
97a0c9c894 Update German translation 2023-02-04 09:51:54 -08:00
Tony Wang
f6f862a6b0 refs #584, add operation to clear QuickType suggestion in settings 2023-02-02 21:49:50 -08:00
Martin Nowak
3ab334dd00 fix #488 - support user field for completion
- a few other backends use `user` instead of `username` or `login`
  (e.g. gopass-jsonapi, keepass2csv importer, fpm2 importer)
- shorter to type when extracting field separately (e.g. CLI/clipboard) tools
2023-01-22 09:44:41 -08:00
Tony Wang
51ad0c2920
fix #540, duplicate entries in auto fill extension (#593)
* fix #540, duplicate entries in auto fill extension

`prepareCredentialList` is called twice, once before unlock and once
after. If the lists are already prepared, i.e. not empty, skip this
step.

* fix format and lint
2023-01-19 11:39:05 -08:00
Mattia Borda
31c6541f9e
Add Italian translation (#589)
- Translate InfoPlist.strings, Intents.strings, and Localizable.stringsdict
- Translate Main.strings
- Translate Localizable.strings
2022-12-11 22:08:18 -08:00
Danny Mösch
e2ba21587c
Update SwiftLint to version 0.49.x (#576) 2022-11-01 11:47:26 -07:00
Mike
32fdea0206
fix(extension) fires JS event upon editing input fields (#575) 2022-10-31 22:09:24 -07:00
Mingshen Sun
1307dc77c5 Fix CI building issue 2022-10-31 21:52:37 -07:00
Danny Mösch
b6be913017
Update SwiftFormat to version 0.50.x (#577) 2022-10-31 20:29:42 -07:00
Mingshen Sun
5c62d4a3e3 Update gem dependencies 2022-07-30 11:46:40 -07:00
Danny Mösch
a6b05d20e0
Store password repository details only if we are sure to clone/overwrite it (#571) 2022-07-30 11:20:08 -07:00
Danny Mösch
ad105b3df1
Enable some more SwitfLint rules (#565) 2022-06-15 19:55:02 -07:00
dependabot[bot]
4da22b0a80
Bump jmespath from 1.4.0 to 1.6.1 (#564)
Bumps [jmespath](https://github.com/trevorrowe/jmespath.rb) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/trevorrowe/jmespath.rb/releases)
- [Changelog](https://github.com/jmespath/jmespath.rb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/trevorrowe/jmespath.rb/compare/v1.4.0...v1.6.1)

---
updated-dependencies:
- dependency-name: jmespath
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 18:59:51 -07:00
Mingshen Sun
972cf20d34
Fix umbrella header warnings (#563) 2022-05-31 10:33:54 -07:00
Mingshen Sun
01f808b778
Add footnote of using TestFlight for iOS 12 users. 2022-05-24 18:05:51 -07:00
Bradley Walters
0f98569d54
Update ObjectiveGit to 0.18-passforios (#561)
This should resolve an incompatibility with older iOS versions.
2022-05-23 15:28:09 -07:00
Mingshen Sun
9b5b0eff1f
Exclude the vendor dir for swiftformat and swiftlint (#562) 2022-05-23 15:27:58 -07:00
Mingshen Sun
440b0123f2 Fix building issues with XCode 2022-05-23 10:54:11 -07:00
Bradley Walters
6f5385fe4a
Force weak linking of CryptoTokenKit (#543)
Apple's CryptoTokenKit is only present in iOS 13.0+ however it exports
symbols with availability annotations going back to iOS 10.0.

In the Pass app we have a deployment target of iOS 12.0. Apple's
automatic weak linking system apparently only looks at the
symbol-level availability annotations so it assumes the symbols
we use will always be present (even though they won't pre-iOS-13).

We can work around this issue by forcing weak linking using the
"Optional" framework setting. (Note that this workaround would not
work if CryptoTokenKit was used from a third-party swift package.)

This is necessary to restore iOS 12 support after #533.

For further history see https://github.com/mssun/passforios/issues/539
2022-05-22 22:35:53 -07:00
Tony Wang
e5d3b06896
fix error when importing key using http (#556)
http url was not saved so it always failed
2022-05-22 22:23:25 -07:00
Mingshen Sun
a0a08073bc Fix GitHub Actions 2022-05-22 22:03:39 -07:00
Mingshen Sun
687b67a6a2 Fix GitHub Actions 2022-05-22 21:57:33 -07:00
Mingshen Sun
90f1f54a21 Fix building issue 2022-05-22 21:40:35 -07:00
Danny Moesch
2e951497ad
Update ObjectiveGit to version 0.17-passforios (#545) 2022-02-05 11:01:39 -08:00
Danny Moesch
71260f52aa
Update ObjectivePGP to version 0.99.2 (#544) 2022-02-04 20:54:36 -08:00
Danny Moesch
1128292831
Update SwiftLint to version 0.46.x (#541) 2022-01-24 22:52:12 -08:00
Mingshen Sun
6d1b271af6 Fix building issue in CI 2022-01-09 22:31:46 -08:00
Mingshen Sun
955e50c3d3
Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
Mingshen Sun
13804b79e6 Version bump to 0.13.0 2022-01-07 10:04:40 -08:00
Mingshen Sun
7a144c77da Fix navigation bar tap gesture issue 2022-01-05 22:20:23 -08:00
Danny Moesch
819371f55e
Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Mingshen Sun
ff6a1edf62 Add confirmation prompt for removing keys (fix #491) 2021-12-29 16:19:12 -08:00
Mingshen Sun
7320319031 Fix PGP URL download controller issue 2021-12-29 16:00:27 -08:00