I just made a small Python script to translate or move the TimeOtp from a KeePass file to Bitwarden.
It needs a process.
- Using the KeePass 2 desktop application, navigate to “File” > “Export” and select the “KeePass XML (2.x)” option.
- Import the file in your Bitwarden Vault, using “Tools” > “Import” and selecting “KeePass 2 (xml)”
- Export the Bitwarden Vault. Go to “Tools” > “Export” and select “.json”
- Edit this Python script (Convert TimeOtp from KeePass to Bitwarden or Vaultwarden · GitHub) to find your just exported .json file on line 2, and on line 21 write an export filename.
- Run the Python script. Will create a new .json
- Purge your Bitwarden Vault. Go to “Account Settings” > “Purge Vault” > type your password
- Import the file in your Bitwarden Vault, using “Tools” > “Import” and selecting “Bitwarden (json)”
Done!