Monday to Saturday 8:00–19:00, Sunday closedFree courier collection throughout Switzerland · drop-off in Lugano, Zurich and Sant'Antonino

NAS and RAID

Encrypted NAS volume and lost key: what is still possible

Encryption on a NAS does exactly what it promises: without the key, nobody can read the data, including you and including any lab. That makes the question very concrete. It is not how to break the encryption, but where the key, a recovery key or an unlocked copy of the data may still exist.

Published 2 min readBy Mirush Murataj

Cover of the RecDati guide: Encrypted NAS volume and lost key: what is still possible
Without the password, the key file or the recovery key, encrypted NAS data cannot be decrypted.

In short

  • Without the password, the key file or the recovery key, encrypted NAS data cannot be decrypted.
  • Look for the key in the Key Vault, downloaded key files, password managers and configuration backups.
  • With the key but a damaged volume, recovery is possible: the volume is repaired first, then unlocked.

Which kind of encryption you have

SystemWhat is encryptedKey material
Synology, encrypted shared folderOne shared folder, file by file (eCryptfs)Password and an exported .key file
Synology, volume encryption (DSM 7.2 and later)The whole volume, at block levelEncryption Key Vault (local or on another Synology via KMIP) and a recovery key file
QNAP, volume encryptionThe whole volume, at block levelPassword and an exported key file
Self-encrypting drives (SED)Each disk, inside its own controllerAuthentication key managed by the NAS or the server

Where to look for the key

  1. The Key Vault (Synology). If volume encryption used a local vault, the NAS unlocks itself at boot; the vault is protected by its own password. If a remote KMIP server was used, that other NAS must be reachable.
  2. Downloaded key files. DSM offers to download a recovery key (.rkey) when you create an encrypted volume, and a .key file for encrypted shared folders. QNAP offers to export a key file. Search the administrator's computer, download folders, USB sticks and document management for these file types.
  3. Password managers of the administrators and the IT provider.
  4. Configuration backups and documentation from the installation.
  5. Another copy of the data. A Hyper Backup, a USB copy or a replication target may be unencrypted, or encrypted with a key that is still known.

What a lab can and cannot do

  • Cannot: decrypt data without the key. The algorithms used (AES with 256-bit keys) are not broken by recovery labs, and guessing a long password is not realistic.
  • Can: repair a damaged RAID or file system below the encryption, then unlock it with your key. A crashed volume with a known key is a normal recovery case.
  • Can sometimes: recover a key file from the disk of the computer it was downloaded to, after deletion or formatting.
  • Can sometimes: try a limited list of candidate passwords you provide, for example variants of passwords used in the company.

If the NAS itself is damaged

For volume encryption, the encrypted data sits inside the RAID and LVM layers. A lab rebuilds those layers from disk images first. The key is needed only at the end. Do not reset the NAS or reinstall DSM or QTS to "get access back": a reset can remove the local key vault, the only place the key was stored.

Good practice for keeping the key

  • Store the recovery key or key file in two places outside the NAS: a password manager and a sealed copy in the company safe.
  • Document who knows the password, and update this when people leave.
  • If you use a remote KMIP vault, make sure that vault has its own backup.
  • Test unlocking with the stored key once a year.

See Synology NAS data recovery, QNAP NAS data recovery, NAS data recovery and Synology DSM warnings: from a disk warning to a crashed volume.

Frequently asked questions

Can you decrypt my Synology encrypted shared folder without the password?

No. Without the password or the .key file, the data cannot be decrypted, by us or anyone else.

We have the key but the volume crashed. Can the data be saved?

Yes, in most cases. The RAID and file system are repaired on images, and the volume is unlocked with your key.

Does resetting the NAS remove the encryption?

It removes access, not the encryption. A reset can also delete a locally stored key. Do not reset an encrypted NAS without the key in hand.

Official sources and useful links

  • Synology Knowledge Center: Official Synology help: DSM installation and migration, storage pools, SSD cache and encryption.
  • QNAP: Official QNAP site with support, firmware downloads and security advisories for QTS and QuTS hero.

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

Request a free diagnosis NAS data recovery

Device not responding any more? Unplug it and let us take a look.

Get a price