Script to help migrating to Bitwarden

4 views
Skip to first unread message

Bill

unread,
Feb 6, 2025, 1:06:25 AMFeb 6
to secrets-for-android
I wrote a small Python script to help with migrating from Secrets for Android to Bitwarden. See the attached file.

You need to:
1. Use "export" from Secrets to create a secrets.csv file.
2. Copy that to a suitable machine with Python on it [*].
3. Run the secrets-to-bitwarden.py script to convert the secrets.csv file to bitwarden.csv.
4. Import the bitwarden.csv from within your Bitwarden vault (Tools->Import data; choose "File format" as "Bitwarden (csv)").

All entries are imported as type "login". All data is exported and copied.
Read the script for more info. It is very simple.

[*] Probably could be done on your phone; I didn't investigate this.

Make sure to delete any lingering csv files on your phone and machine after the conversion is complete. It contains your secrets in plaintext!

To Roger: thanks for writing and maintaining Secrets for Android!

cheers,
/lib
secrets-to-bitwarden.py

Roger Tawa 🇨🇦

unread,
Feb 6, 2025, 11:50:51 AMFeb 6
to secrets-f...@googlegroups.com
Nice Bill!

Note that the csv file contains all your secrets un-encrypted!  Don't forget to delete that file as soon as possible after the migration to Bitwarden.

In further news, I've retired from Google, so there will no longer be any updates to the app.  It has already disappeared from the Google Play Store.  It's probably a good thing for folks to consider migrating to another password manager.

The complete source code will remain at https://github.com/rogerta/secrets-for-android.  For those who want to build and side-load the app themselves, its data format will be compatible with the "official" version, so migration should be simple (backup from official app, restore in side-loaded app, delete official app).

=================================================
Roger Tawa
http://tawacentral.net/
[When you stop, you're done.]


--
You received this message because you are subscribed to the Google Groups "secrets-for-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to secrets-for-and...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/secrets-for-android/354a3317-e292-4c8d-95bd-a9d3d317e9c6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages