Feature: Import OTPs from ZIP archive#241
Conversation
Users can now reimport OTPs previously exported from Raivo. Closes #22
tijme
left a comment
There was a problem hiding this comment.
Awesome pull request @z64me 🚀 . Users of Raivo will really like it, it's one of the most requested features!
I have some feedback points. The main one being that I don't think the old passwords should be deleted. I think users should be instructed to delete those themselves, to prevent accidental deletes.
Error messages added and tested for specific failure conditions: - Incorrect password - Missing JSON - Invalid JSON structure - Empty JSON array
|
Thank you for your contributions @z64me! 🚀 This feature will be released to TestFlight within a few days, and to the AppStore after several weeks. |
|
Hmm, I'm testing it personally in TestFlight right now, but unfortunately it states that the password is incorrect. So this feature does not seem to work with all ZIP archives yet. What I did to reproduce;
What's strange is that this does work in the simulator, just not on my iPhone. |
|
Could it be an issue with file paths or permissions? What kind of output do you get from |
|
Wow, that took a while to debug for me. But you were right. This was indeed a permissions error on the path. Learned something new today, as I was debugging with string paths instead of URL objects. |
|
Will push a new version to TestFlight later today. Thanks! |
|
This was just released to the AppStore. Thanks again. |
|
I downloaded the latest update earlier and it works great. 👍 Thank you for maintaining Raivo. It is great software. ❤️ |
|
I have been able to reproduce an sync issue with ZIP imports. Exporting everything to a ZIP file, signing out and creating a new master password, I've reimported successfully all TOTP seeds, but on a secondary device synced through iCloud only ~40% of the seeds are visible. I was able to resync manually all of seeds by editing and saving one by one, but I think that there is some kind of race with batch syncing after import. During syncing 54 seeds, I've observed only ~26 being synced in the sync status progress. |
|
since the developers leave no way to contact them, have closed the issue section here on github I want to raise the ongoing issue that raivo otp has without my consent deleted all entries in my application. This is a critical issue, locking out businesses out of their services. How can I restore my data? |
You can't we've all moved on. I didn't have any backups and lost everything. This app is dead now. The new devs have lost their investment. |
|
it's so good to see their appstore rating go southpole. How drunk can one be? We should all still report this app with the apple |
PR Details
Users can now reimport OTPs previously exported from Raivo. Closes #22
Description
For every file related to exporting OTPs, I have created an equivalent for importing OTPs, e.g. I added
MainDataImportView/DataImportFeature/etc to complement the existingMainDataExportView/DataExportFeature/etc.The import process spans two steps: the user selects the ZIP file to import, and then they are prompted to enter the password required for decryption.
Type of change
Checklist: