-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachment encryption broken 2.1.27.0 to 2.1.27.7 #1829
Comments
Just to be sure I have correctly understood. Your Teampass instance was in 2.1.27.0. Now you have updated to 2.1.27.7. Correct? |
Yes, that is correct |
This case is not easy but I think I have understood why while reviewing the code. Could you please do this change in a "test" environment. In file
by
Once done, you can reperform the upgrade with the data from 2.1.27.0 |
I had same problem. Started using teampass 2.1.27.0. Option was enabled. Under tasks there were not such task as . I have created items and added new attachment files to those only in since this version: 2.1.27.0. I have never had version 2.1.26. I upgraded to version 2.1.27.10. Update script modified the files and added .bck files. We see and can open the files in teampass, but the file contents are just random gibberish. Fortunately I had ESXi snapshot of the state what was before i started upgrade process. I rolled back to that version and upgrade process again but with the change what you sugseted in the file <upgrade_run_defuse_for_files.php>. After upgrade everything works. File attachments are readable through web aplication, i can bulk decypt files and then read them from upload folder. my upgrade process:
Only one thing was different from my previous upgrade process. Then i got install files like this:
|
I am aware that there was a bug with attachment encryption and you provided a fix and while updating contents from upload folder should be replaced with backup from 2.1.26. But our files are added to version 2.1.27.0 and so we don't have any backups from 2.1.26. As we updated to 2.1.27.7, update script modified the files and added .bck files. We see and can open the files in teampass, but the file contents are just random gibberish. So what should we do to repair the file contents?
The text was updated successfully, but these errors were encountered: