Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: "Save Password with biometric key store" fails #352

Open
abawany opened this issue Sep 22, 2023 · 3 comments
Open

iOS: "Save Password with biometric key store" fails #352

abawany opened this issue Sep 22, 2023 · 3 comments

Comments

@abawany
Copy link

abawany commented Sep 22, 2023

Describe the bug
Since the latest update on iOS 16.x, I am seeing the following problem: when a local file is opened and its password specified, if the Save Password with biometric key store box is checked, the following error is generated:

Unknown error while trying to open file. PlatformException(SecurityError, Err while writing data: -25293: The user name or passphrase you entered is not correct., null, null)

Unchecking the above box allows the file to be opened as normal but one must then re-select the file and re-enter the file password at a later date. Previously, with the box checked, this worked fine and also allowed subsequent accesses to this file after entering the phone PIN.

To Reproduce
Steps to reproduce the behavior:

  1. Start AuthPass on iOS
  2. Open local file and using the file picker, select the kdbx file of interest
  3. Enter the kdbx access password and ensure the Save Password with biometric key store checkbox is checked
  4. The above error occurs

Expected behavior
Versions prior to this allowed the file to open. Subsequent/later accesses to the file were managed by the phone PIN.

Smartphone (please complete the following information):

  • Device: iPhone 13
  • OS: iOS 16.x
  • Browser: n/a
  • Version: 1.9.9+1975
@abawany
Copy link
Author

abawany commented Sep 22, 2023

I also tried the recipe mentioned here: https://forum.authpass.app/t/error-while-error-retrieving-item-25291-25291-no-keychain-is-available-you-may-need-to-restart-your-computer/103 but noticed no subsequent change in behavior.

@abawany
Copy link
Author

abawany commented Sep 25, 2023

It looks like this bug in biometric_storage is probably the reason? authpass/biometric_storage#101

@H3rby7
Copy link

H3rby7 commented Sep 28, 2023

I also used the app with the option "Save Password with biometric key store?" checked true. However I do not actually use any biometric authentication. The App would just prompt me to enter my phone PIN to open the file, which worked fine, until the mentioned update. Now I can also only open a file when I uncheck the mentioned option and enter the keystore master password every time.

So while this is certainly an issue:

It looks like this bug in biometric_storage is probably the reason? authpass/biometric_storage#101

for my case (just PIN) the error probably resides in a different place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants