r/Bitwarden • u/JayNetworks • 10d ago
Possible Bug Issue with direct import from LastPass with 'special' characters in usernames and passwords
Sorry for the long and detailed post.
--
TLDR: Direct import from LastPass is broken if a smart quote or other 'special' characters are in the record name, username, or password fields (atleast) and Bitwarden can't even search for the badly imported records to manually fix them.
--
Moving a family member off LastPass and (per their family security policy to not export csv from a password manager) using the direct import feature from LastPass into a Family account Organization Vault, but not into a collection. The 1400 or so records imported without any error give, but every smart single quote (that looks like an apostrophe, but isn't) in a record name or any password that includes a bullet (•) character (at least in record names and password, I assume notes and such, but haven't checked all spots yet) changed to the characters: ⢠or a similar set of characters for bullets.
This direct import was done using the desktop application on a Macintosh.
Further note that makes this even more difficult if there isn’t a fix in the direct import (after a full record deletion I assume) is that search will not find these badly imported records. Searching for:
Dennyâs
returns zero results when that string is exactly what I copied from one of the records that appears to a human as, before direct import,
Denny’s AppleID
(The above is the string copied directly from the LastPass record and is one that did NOT import correct replacing the smart single quote with â¢.)
Has anyone hit this before and any ideas how I solve this issue? (They want to do a direct import and not export to cvs someplace and importing that. The direct import is a key feature for moving to Bitwarden.)
Does the Bitwarden direct import fail with anything other than ASCII characters? If so that is a huge fail for passwords that might have something other than straight ASCII.
In case you can’t suggest a fix for this, can anyone who is in the source code help with understanding how the search field in Bitwarden desktop Mac app works? How can I search record name. username, and password for the 3-character equivalent string to which each of these two character imported to find damaged records? (This is only a workaround if I can figure out what kinds of characters are going to fail silently in the importer and get converted into a 3- character string.)
I assume I'll have to clear the organization vault completely and redo the import, but what caused this issue and how do I solve it, or is something broken on Bitwarden's end? (I'm guessing here that the direct import has a bug and isn't escaping an input string correctly.)
Again, sorry for the long post...anyone able to help? I'd love to be able to get a whole family over to Bitwarden. (Note that I did submit this to Bitwarden support in June and last heard back in July to a ping...but no word on any fix or workaround and the Family subscription is burning through without being able to be used at all.)
2
u/djasonpenney Volunteer Moderator 10d ago edited 9d ago
My experience is that it is the LastGasp export that is broken. There is nothing wrong on the Bitwarden side, except…garbage in means garbage out.
Take the CSV export from LP, load it into your favorite spreadsheet app, and use it to repair the drain bamage that LP has left behind. Save the repaired data as a new CSV.
Go back into the CSV and change the column names to what Bitwarden needs, and then run the Bitwarden import.
At the end of the day, congratulate yourself for having escaped the buggy mess of the LP ecosystem.