Script for lastpass to 1passwork mgiration
First of all, this script use the following 5 attributes to identify one single item from both side
- name
- url
- username
- password
- note
Every item will have its own digest caculated from 5 attributes internally.
It also map the folder from lastpass to vault in 1password, the map rule is defined in config.yaml
Prepare config file
cp config.yaml.example config.yaml
- the lastpass credential section is optional, the script will prompt for it if not configured
- this script support multiple 1password account, you can define mapping rule for every account.
This script assume you already setup your 1password command line, please refer here if you haven't
eval(op signin account)
pipenv install
pipenv run lp2op.py