Git Product home page Git Product logo

lastpass_to_keepassxc-browser's Introduction

LastPass_to_KeePassXC-Browser.R

This R script will clean up your LastPass csv export to increase compatibility with KeePassXC-Browser's Autofil.

By default, KeePassXC-Browser uses a very strict matching pattern to determine which credential belongs to which URL, whereas LastPass uses a more fuzzy matching pattern.

For example, should you've created a credential saved with 'signup.website.com' as URL, LastPass knows that if you're trying to login to 'login.website.com', it should autofill the credential saved under the URL 'signup.website.com'. However, KeePassXC-Browser does not. So if you're going to switch from LastPass to KeePassXC-Browser you're going to have a bad time.... Hence I created this script to fix this.

Basically, what it does, is stripping all URLs in your database to their bare top level domain. So 'signup.website.com' becomes 'website.com'. Therefore, should you visit 'login.website.com', KeePassXC-Browser will autofill the credential stored under 'website.com'... Problem solved :)

After running convert.R, re-import the fixed .csv import as a LastPass export or Comma Separated file and you should be good to go. Just make sure to edit the file paths before running convert.R.

Note: I am new to R. This script can probably be optimized in many ways, feel free to submit a PR.

DISCLAIMER

I made this script to meet my requirements. It did the job well for me but your milage might vary!

USE AT OWN RISK, ALWAYS MAKE BACKUPS OF YOUR DATABASE BEFORE USING THIS SCRIPT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.