mobile icon indicating copy to clipboard operation
mobile copied to clipboard

[ios] Export vault not working

Open xtqqczze opened this issue 4 years ago • 11 comments

Describe the Bug

Unable to export vault in iOS app: the master password is rejected even though it is valid.

Steps To Reproduce

  1. Open Bitwarden app
  2. Go to settings
  3. Select "Export vault"
  4. Select either .json or .csv file format
  5. Type valid master password
  6. Select Export Vault button

Expected Result

Vault is exported.

Actual Result

Error message: "Invalid master password. Try again."

Environment

  • Version: 2.5.0
  • Device: iPhone 6s (A1688)
  • Operating system: iOS 13.3.1
  • Is this a Beta release: No

xtqqczze avatar Mar 27 '20 02:03 xtqqczze

I also get the error about an invalid password, but then the exported file is actually created. So warning to OP: check if your exported unencrypted passwords might be lying around in your export location.

sdo9 avatar Apr 27 '20 00:04 sdo9

@sdo Where would the exported file be located? The mobile app does not give the opportunity to choose an export location:

Bitwarden export vault clipped

xtqqczze avatar Apr 27 '20 12:04 xtqqczze

Never mind. So mine prompts for the master password, then there's a sharing dialog, I happened to pick Files (and in there picked Dropbox and Save). At this point I think it does the export for me, but doesn't confirm that it did, and then places me back at the screen with file format, master password, and Export button. I happened to just click Export, thinking to conclude the process, and it said the master password was invalid (because it had been blanked).

So, sorry, unrelated, kind of works for me except it's pretty confusing UX to be prompted again instead of getting confirmation that the export was done.

sdo9 avatar Apr 28 '20 00:04 sdo9

@kspearrin This feature is stil non-functional in version 2.5.0.

xtqqczze avatar Sep 16 '20 01:09 xtqqczze

@kspearrin This feature is still non-functional in version 2.6.1

xtqqczze avatar Oct 09 '20 22:10 xtqqczze

@kspearrin This feature is still non-functional in version 2.7.0 on iOS 14.2.

There is no doubt that the password my for account is valid as it is accepted at https://vault.bitwarden.com/

xtqqczze avatar Dec 03 '20 09:12 xtqqczze

@xtqqczze I'm not able to reproduce your issue. I downloaded your model iPhone (6s, right?) simulator on iOS 14.2 and json export worked for me on Bitwarden v2.7.0.

Is it possible you have a difficult-to-type master password and it is indeed wrong? Is there anything else unique about your setup?

MGibson1 avatar Dec 21 '20 21:12 MGibson1

@MGibson1 Thanks for looking into this for me. I can confirm my current environment is iPhone 6s on iOS 14.2.

Using Bitwarden v2.7.0, I entered the password with characters visible so I have no doubt that it is correct. The same password when entered at https://vault.bitwarden.com/ takes me to 2FA.

xtqqczze avatar Dec 21 '20 21:12 xtqqczze

Export vault still not working in version 2.7.2 on iOS 14.2.

xtqqczze avatar Dec 24 '20 17:12 xtqqczze

Same issue on Android, version 2022.6.1 (4795), 100% sure the password is correct. I need to export because the self-hosted vault it was connected to is no longer running, and I need to export so I can import to a new vault.

(sorry for the necro bump)

p3lim avatar Jul 19 '22 21:07 p3lim

Is it possible you have a difficult-to-type master password and it is indeed wrong? Is there anything else unique about your setup?

@MGibson1 100% sure the password was correct.

xtqqczze avatar Jul 20 '22 21:07 xtqqczze

I also have this issue but on Android mobile version as of 24 Aug 23. Version: 2023.7.0 (6781) Like original poster get invalid master password even though I know it is 100% correct.

Duranis avatar Aug 25 '23 05:08 Duranis

I also have this issue but on Android mobile version as of 24 Aug 23. Version: 2023.7.0 (6781) Like original poster get invalid master password even though I know it is 100% correct.

Mine is also crashing, when confirming the export the app simply closes. Does not return password error.

  • Bitwarden version: 2023.8.0
  • Device: Samsung Galaxy M12
  • Operating system: Android 13
  • One UI: 5.1

leydsonandrey avatar Sep 03 '23 18:09 leydsonandrey

Is this going to be looked at?

samuelbridgewater avatar Oct 04 '23 09:10 samuelbridgewater

The newer reports on this issue are likely a duplicate of https://github.com/bitwarden/mobile/issues/2793 which have been addressed with https://github.com/bitwarden/mobile/pull/2808. The changes made with #2808 will be included in the upcoming 2023.10-release.

djsmith85 avatar Oct 04 '23 10:10 djsmith85

I believe "Unlock with Touch ID" was enabled on the device where I had this issue.

xtqqczze avatar Oct 04 '23 23:10 xtqqczze

I believe "Unlock with Touch ID" was enabled on the device where I had this issue.

thanks. I can export vault after disabling "Unlock with Face ID" and relaunch app.

r-yanyo avatar Oct 07 '23 07:10 r-yanyo

Hey everyone,

With the release of 2023.10 which includes the changes from #2808, could you please test and verify that this has been fixed.

Kind regards, Daniel

djsmith85 avatar Nov 07 '23 13:11 djsmith85

I confirmed that I can export vault.

r-yanyo avatar Nov 07 '23 14:11 r-yanyo