Sicne the trezor password manager is closing down as of summer 2023, you might have tried migrating your data to another service. If it all went well, congrats!
If it all went bad? Then you realized that following the trezor export & migration instructions wasn't enough in your case. This could be because your Trezor Password Manager (TPM) entreis had newline chars in the extra/notes field. If this is the case I'll describe here below how I solved my problem.
WARNING: THE SOFTWARE ATTACHED AND THE SOLUTION IN THIS GitHub Gist IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Steps I encountered
- Exported from TPM (success)
- Imported to new Password manager as LastPass format (Fail)
The Trezor Password Manager exports to a file called trezor-export.csv, the formatting of this file is:
url,username,password,extra,name
It is supposed to be one entry per line in your csv file. If this isn't the case, the file is corrupted and no password manager knows how to correctly import the file. This is a problem.
Look at your file, if there are anyentries spread over several lines then you have to fix that. Preferably you do it manually in a text editor. But if you have more entreis than practical to manually handle, you can use the attached python script within a virtual environment to reformat the csv for you.
Preferably you do all this on a secure system considering that the sensitive password data is unencrypted during the process. Please be very careful, with your security. Be rather safe than sorry. Working on an encrypted partion (suggestions VeraCrypt / Virtual Machine /TailOS etc.) is a recommendation, since deleting files often leave recoverable data on your machine even after deletion.
Why does this problem occur? Because you had new line chars in your TPM entries and the export don't handle these well, so the csv file it exports get corrupted.