RedditPP Mascot

RedditPP

r/synology • … • u/MDCMPhD

did I lose all my data by deleting the automatically downloaded encryption key files?! freaking out a bit, but probably 100% my fault...

hi,

looking for any help if possible. or confirmation that I truly fucked up so that at least I can move on to the next stage of grief...

I have a Synology DS918+.

I created multiple shared folders and said 'yes' when asked to encrypt them. I set a passphrase for each shared folder (which I still have, saved in 1Password) and there was an automatic download of a key file each time.

I (unfortunately) didn't understand the importance of these key files, so I deleted them. My erroneous thinking at the time was that the passphrases I had saved in my password manager would be enough to recover the encrypted data if the need were to arise in the future.

Any time my Synology NAS would need to reboot, the shared folders would not be mounted or accessible. I would have to log in through the web portal and go to Control Panel and then go to Shared folders and one-by-one click on the folders and select Encryption and then Mount and provide the passphrase saved in my password manager.

Everything was working great until I had some email alerts overnight of a problem with electricity/power and the next morning the NAS was down and wouldn't load the OS when restarted.

I took the drives out and put them into another computer and booted Linux from a USB drive and managed to get the volume mounted and I can see all my shared folders listed, but they are encrypted and the next step in the instructions for data recovery indicate that I need to specify the location of the encryption key file(s) to decrypt the encrypted shared folders. I now realize these are the files I deleted. (insert meltdown)

So my question: if I used to be able to only provide the passphrase when mounting my encrypted shared folders, the the encryption key files must have lived on the NAS somewhere (there were no USB connected drives). (I don't remember ever setting up the Key Manager though). Is there any chance I can extract the key files and then use them with my passphrases (which I still have) to decrypt my encrypted shared folders in linux? Or is there another way to access my data? Do I need to put my drives in a different Synology NAS and then maybe it will boot the OS and I can mount my encrypted shared folders how I used to do it (by just providing the passphrase)?

Or is there a third-party tool that might help?

I'm grasping at straws here and just hoping someone might be able to save me from my mistakes.

Thank you in advance, this is a rather painful lesson to learn (losing my files was bad, but losing my wife's sucks even more. sigh...)

— 0