Skip to content
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

Upgrade and decrypt database #5147

Closed
kenkendk opened this issue Apr 22, 2024 · 2 comments · Fixed by #5155
Closed

Upgrade and decrypt database #5147

kenkendk opened this issue Apr 22, 2024 · 2 comments · Fixed by #5155

Comments

@kenkendk
Copy link
Member

After the RC4 support is no longer present, the best upgrade path seems to load a .Net build with the old SQLite binaries that includes RC4 support. Then use the password to decrypt the database and save it.

However, the build is not compatible with the new Duplicati release, so an optional download may be relevant.
This download could use the signed manifest added as part of #5145

Alternative is to check if we can decrypt the file using .NET support for RC4, so the upgrade can be done without an extra tool.

@kenkendk
Copy link
Member Author

Seems it is straightforward to decrypt without relying on the old SQLite:

https://gist.github.com/zuccaro/562548a7592f011a7b9a

@duplicatibot
Copy link

This issue has been mentioned on Duplicati. There might be relevant details there:

https://forum.duplicati.com/t/switching-master-branch-to-net8/17794/1

kenkendk added a commit that referenced this issue Apr 23, 2024
Ported the RC4 algorithm from BouncyCastle.
This fixes #5147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants