bitwarden / importer

Bitwarden standalone importer tool.
GNU General Public License v3.0
29 stars 7 forks source link

Importer throwing BW Vault logon error #6

Open rajdude opened 1 year ago

rajdude commented 1 year ago

Bitwarden Importer is not working for me while trying to import from LastPass. It seems to logon to the BW Vault, because I immediately get a logon message in my e-mail. But the importer shows this error. (Screenshots below)

If I get an e-mail notification, does not that mean that my password was actually correct, and that BW was in fact able to logon? I have triple checked my password, it is surely correct. I have also disabled 2FA inside both BW and LP.

Please advise on how to proceed.

2023-04-06-Window-000257

messica commented 1 year ago

I ran into this issue as well and changing my Bitwarden master password fixed it. Apparently the Bitwarden importer tool doesn't seem to like spaces in passwords, and I'm not sure about other special characters.

Using v1.3.0 with macOS importer

revalutionzzz commented 1 year ago

I have also had this same issue, when using spaces in passwords. After password is changed it works as expected. This was running the Windows 1.3.0 build.

Mdleal commented 1 year ago

Same issue.

honkomonk commented 1 year ago

From a quick look at the source code, I would guess that it's a problem with string escaping. The importer uses the CLI tool in the background and inserts the password directly in the commandline, which is a Problem when your password contains spaces.

See here: https://github.com/bitwarden/importer/blob/c8ad33b69bb59911e659c201c0e82df9d0edf308/Importer/MainPage.xaml.cs#L334

This will also lead to problems with other special characters (aside from spaces) that need escaping in the commandline.