There might be some cases when you want to log in on site by clicking link from Bitwarden and accidentally visit old password recovery expired link, so you need get back to the site, click on log in button and fill your credentials
-
This script has two ways of URIs converting: domain and subdomain converter
To convert URIs to domain only, use -domain flag
python bwc.py bitwarden_export.json -domain
To convert URIs including subdomain, use -subdomain flag
python bwc.py bitwarden_export.json -subdomain
-
If you need to delete old previously used passwords (aka "Password History"), you can use this script with -removeusedpw flag. After that, all entries including old passwords will be removed.
python bwc.py bitwarden_export.json -removeusedpw
-
If you want to clean old used passwords and convert URIs, you can set flags together
python bwc.py bitwarden_export.json [-domain | -subdomain] [-removeusedpw]
To edit URIs or remove Password History, you'll need export your vault in unencrypted JSON file.
After using this script, import result file in to Bitwarden and DELETE OLD AND RESULT JSON FILES