Preliminary
This blog post details the technical difficulties faced when trying to migrate from using KeePass to LastPass. KeePass has been an excellent password companion for the last 6 years and I've been using MiniKeePass for iOS, loading my password safe from Dropbox quite happily. But since starting to use a Chromebook I've been increasingly frustrated in this area. There are a few Chrome extensions that provide access to KeePass. CKP has 4.5 stars in the Chrome app store, but I've found this browser extension clunky and annoying to say the least. Manual search in CKP doesn't work properly and despite the good reviews overall the experience in my opinion is poor. Not to mention it only gives read-only access to the password safe.
So I finally bit the bullet and decided to migrate to LastPass, after months of frustration trying to access my password safe from ChromeOS. Gns3 internet.
A standalone password manager like LastPass gives you the convenience of syncing passwords and other stored data to almost any device, regardless of OS and browser. LastPass also gives you extra security with options like two-factor authentication (including FaceID) and password alerts. Open LastPass from your browser's navigation bar. Click Add Item and then Passwords from the drop-down menu. Click Add a Password from the bottom of the window. Enter your password and website information for the site you want to import. Click Save to import your password.
Here I document my migration woes, for no other reason than to provide help to anyone who might be googling for this info!
The import
LastPass supports importing from KeePass. You have to export to XML then upload the XML. Sounds simple, but fraught with the following problems.
Tip #1: use Firefox. Don't question this, just install Firefox and run the import in Firefox. This solves a lot of issues.
Tip #2: if you used folders in KeePass, consider exporting each folder as a separate XML file. Don pasquale tenor. If you export the whole database, the result is that *all* your folders will be in a top-level folder. There's no obvious way to change this later.
Problem: import process hangs
Solution:
- My KeePass database had a folder structure. As per Tip #2 above, split up your export into different XML files, one per top-level folder. To do this, right click on your folder in KeePass and there's your option to export
- The process can still hang, and I scoured the XML file for possible issues, however I learned after much trial and error that the hanging was random and not related to strange characters. Delete the folder that may or may not have been imported into LastPass by right-clicking on the folder in the web interface. Again – don't attempt this in any other browser than Firefox, results are highly unreliable in Chrome! Then simply re-attempt to import. For me at least, it worked on the second or third try.
Problem: Items are imported as note ITEMS, not website ITEMS
I used KeePass to store credentials for websites, banking, etc., as well as other personal info like driver's licence info etc.
LastPass stores items as different object types. Anything you import that had something in the URL field in KeePass will be stored into a website item. Anything else will become a 'Secure Note' of type 'General'.
So if you're like me and didn't really bother putting anything in the URL field in some / many / all of your entries in KeePass, you'll need to do the following.
What you need to do is edit your XML file before importing to give the URL field some value. I gave mine this: http:/0 as if you accidentally attempt to launch the website we don't want LastPass attempting to send your credentials to a website that actually exists like www.null.com (yes, it exists…)
How To Import Your Passwords To Apple's ICloud Keychain Via ..
To do the above, using Sublime Text Editor:
- Remove leading whitespace from the XML file, otherwise the following step won't work. Press Ctrl-H to find and replace, click the Regex button, and use this string ^[^Srn]+ and make sure nothing is typed into the replace box. Replace all to remove leading spaces / tabs
- You now want to find and replace all instances of the URL field where it's blank, but not where it's not. Find multiline string
Novaruu. URL
with
Import Passwords To Lastpass Ios
- My KeePass database had a folder structure. As per Tip #2 above, split up your export into different XML files, one per top-level folder. To do this, right click on your folder in KeePass and there's your option to export
- The process can still hang, and I scoured the XML file for possible issues, however I learned after much trial and error that the hanging was random and not related to strange characters. Delete the folder that may or may not have been imported into LastPass by right-clicking on the folder in the web interface. Again – don't attempt this in any other browser than Firefox, results are highly unreliable in Chrome! Then simply re-attempt to import. For me at least, it worked on the second or third try.
Problem: Items are imported as note ITEMS, not website ITEMS
I used KeePass to store credentials for websites, banking, etc., as well as other personal info like driver's licence info etc.
LastPass stores items as different object types. Anything you import that had something in the URL field in KeePass will be stored into a website item. Anything else will become a 'Secure Note' of type 'General'.
So if you're like me and didn't really bother putting anything in the URL field in some / many / all of your entries in KeePass, you'll need to do the following.
What you need to do is edit your XML file before importing to give the URL field some value. I gave mine this: http:/0 as if you accidentally attempt to launch the website we don't want LastPass attempting to send your credentials to a website that actually exists like www.null.com (yes, it exists…)
How To Import Your Passwords To Apple's ICloud Keychain Via ..
To do the above, using Sublime Text Editor:
- Remove leading whitespace from the XML file, otherwise the following step won't work. Press Ctrl-H to find and replace, click the Regex button, and use this string ^[^Srn]+ and make sure nothing is typed into the replace box. Replace all to remove leading spaces / tabs
- You now want to find and replace all instances of the URL field where it's blank, but not where it's not. Find multiline string
Novaruu. URL
with
Import Passwords To Lastpass Ios
How To Export Your Passwords From LastPass (and Import ..
URL
http://0
Use Ctrl-Enter to split the lines in the find and replace fields.
Now hit Replace, save the file, and try the import. This time you should notice the icon next to all items is not the purple pen (secure note), but the white box (website).
This article applies to: Secure Password Management
LastPass can import passwords saved in your browser's password manager, other password manager products, or files exported from other sources.
Importing Passwords To Lastpass
- Click the LastPass icon in your browser's toolbar, then click More options.
- Click Advanced.
- Click Import.
Import Passwords Into Lastpass
You'll be offered the choice of importing from the current browser's password manager or 'Other.' If you select Other, an import wizard will open. Please read the help text carefully at each step of the process.