I have a bucket where I switched from encryption to not encrypting files. I later realized that files already uploaded earlier stay encrypted. Now I have a bucket where half of the files are encrypted, half are not. Is there a migration script where I can either encrypt or decrypt all files in a bucket? Or can I decrypt the files myself and override the encrypted once?
As per what I know, there's neither any tool present to encrypt/decrypt the existing files nor it is possible to do the same manually. You can perform following steps to decrypt those files:
- Download the encrypted file through Appwrite.
- Re-upload the downloaded content into same bucket (this time encryption disabled).
- After verifying everything works well and all files are as you've desired, delete the old encrypted files.
Recommended threads
- Unable to Create Storage After Upgrading...
We upgraded our Appwrite instance from version 1.8.0 to 1.9.0 and successfully ran the migration process. However, after the upgrade, we are no longer able to c...
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...