Skip to content

asayers/lastpass-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

LastPass => Pass Importer

This script allows you to take your passwords and secure notes from your LastPass vault and import them into Pass, an elegant Unix password manager.

LastPass works great in the browser, but sometimes you want to be able securely store information and access it offline. Pass stores its records in GPG-encrypted files on your local disk, which makes searching and organising them easy. You can even keep it all under version control and sync to other computers! The whole affair is reassuringly UNIX-y.

Usage

Go to lastpass.com and sign in. Next click on your username in the top-right corner. In the drop-down meny that appears, click "Export". After filling in your details again, copy the text and save it somewhere on your disk. Make sure you copy the whole thing, and resist the temptation to "Save Page As" - the script doesn't like HTML.

Now, download the importer script and make it executable (chmod +x lastpass_importer.rb). Fire up a terminal and run the script, passing the file you saved as an argument. It should look something like this:

./lastpass_importer.rb path/to/passwords_file

And that's it! If you're having any problems, please contact me or post an issue.

Licence

Copyright (c) 2012, Alex Sayers
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met: 

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer. 
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Script for importing records from LastPass into Pass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages