Skip to content

morellonet/lastpass-authenticator-export

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lastpass-authenticator-export

Based on the original author's investigation at https://blog.unauthorizedaccess.nl/2021/03/07/export-totps-from-lastpass-authenticator.html

Compatible (don't know minimums)

  • python 3.10
  • pip 22.2.2

Steps

  1. Place the script somewhere on a filesystem that is not backed up (for example: avoid google drive or apple time machine protected drives)
  2. Install dependencies. Ex:
    • pip install -r requirements.txt (default python3 installations with pip on command interpreter path)
    • pip3 install -r requirements.txt (non-default python3 installations with pip on command interpreter path)
    • python -m pip install -r requirements.txt (python3 installation with pip not on command interpreter path)
  3. Execute the script. Ex:
    • python lastpass-authenticator-export.py -u <lastpass_account> (default python3 installation without lastpass OTP configured)
    • python lastpass-authenticator-export.py -u <lastpass_account> -o <######> (default python3 installation with lastpass OTP configured)
    • python3 lastpass-authenticator-export.py -u <lastpass_account> (non-default python3 installation without lastpass OTP configured)
  4. The python script will request password and proceed once authenticated.
  5. The script will create an export subdirectory of the invocation directory, with an export.html that goes through all qr codes along with a name for each.
  6. Once you've enrolled all the codes to your new authenticator, securely delete the export directory with all of its contents. This may require a data shredder application. At a minimum avoid any trash can/recycle bin options.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%