Hi,
I may have messed up a bit. I had a disk problem recently and ended up having to recover parts of my installation into a new instance. It seemed to go well enough for the most part.
All the actual user files were stored on a NAS so I just moved them into the accounts for the new versions of the users. However none of the files are accessible are they are encoded in some fashion.
I don’t remember doing so but this has got me thinking that maybe server side encryption might have been turned on.
The files start with a line like this
“HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:encoding:binary:HEND”
which obviously specifically mentions encryption. I can still access parts of the original install so I’m wondering if these files are recoverable. For example, where are the keys stored? And what would be the steps to either decrypt all the files or enable server side encryption in such a way that it uses the old key and does not re-encrypt everything with another key.
Thanks in advance, I realise that this might not be a trivial issue to resolve.
UPDATE: I’ve found that I have the files_encrypted folder for each affected user which I believe to be the keys. They have the same password too. So it’s just a matter of the sequence of events to enable encryption again in a way that won’t mess things up. It might be just as simple as turning on server side encryption