Owncloud Encryption

help

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. Install Older version of Owncloud
2. Turn on Encryption
3. Turn off Encryption at some point
4. Reload system completely
5 Try to download old files

Expected behaviour
Tell us what should happen

Actual behaviour
Old encryted files won't display or download

Server configuration
Operating system: Ubuntu 16.04
Web server: Apache
Database: MySql
PHP version:
ownCloud version (see ownCloud admin page): 9.1
Updated from an older ownCloud or fresh install:
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

So here's the story. Back with Owncloud 7 I turend on encryption. I added files and assumed it was also encrypting the files already uploaded. Since then I've upgrade Owncloud and even have done fresh installs. The latest being 9.1. Along the way I did backup the data files and owncloud files.

My question is, I have older files that were encrypted in Owncloud 7ish and now I can't open them. Is there a way to decrypt them so that I can access these files?

I have the following files still:
encryption_migration_backup/
files_encryption/
Both dated Nov 2015. Is there anything in those files that I can use to retreive the older files?
I no longer have encryption enabled.

Thanks
Greg


#2

Did you read the documentation? There was a particular mechanism to be used for upgrading encrypted systems from 7 to 8.


#3

When did you turn off encryption? I also used encryption at some point and turned it off later (turn off was in OC 7). After that, for most files it was ok. However, some files remained encrypted and I do not know why. For most of these files, the users still had an unencryption version synced, so we backed up this file from his client, then we cleaned out the old encrypted file.

Because the encryption scheme has changed since OC 7 and if you can't recover the file from the client, I would perhaps try to setup an OC 7 session, create the users with the right passwords, then replace the keys with those of the old session. Then you can perhaps read them.


#4

I will try that, Maybe recreating would be the way to go

Thanks
Greg