Voor degenen die gebruik maken van de Synology hardware encryption en bang zijn dat ze zonder de DS-hardware hun bestanden niet meer kunnen decrypten:
Hier wordt uitgelegd hoe je een encrypted folder kan decrypten in Ubuntu, gebruik makend van het ecryptfs-utils package.
Ik heb dit zelf onder Ubuntu 11.04 uitgevoerd met een USB-stick waarop ik enkele encrypted bestanden en mappen vanaf mijn DS211j had gekopieerd en het werkt.
In het kort is dit de procedure:
1) Prepare a linux machine, running a kernel that supports ecryptfs. I used Ubuntu 9.10.
2) Install support for ecryptfs. Default ubuntu install did not have it.
code:
1
| apt-get install ecryptfs-utils |
3) Copy the encrypted data from the synology box (synobox) to the linux machine...
code:
1
2
| cd /home/steve
rsync -a synobox:/volume1/@crypttest@ . |
4) Create a directory to act as a mount point for the decrypted data...
code:
1
| mkdir /home/steve/crypttest |
5) Mount the encrypted data...
code:
1
| sudo mount -t ecryptfs /home/steve/@crypttest@ /home/steve/crypttest |
(enter your passphrase - the one you entered when creating the shared folder on the synology box)
(select cipher 1=aes)
(select key bytes 2=32)
(select enable plaintext passthrough = n)
(select enable filename encryption = y)
(accept default FNEK Signature by pressing ENTER at prompt)
(choose 'yes' when asked if you would like to proceed with the mount)
(choose 'no' when asked if you would like to append signature to the cache file)
Let op: Als je gebruik maakt van een encrypted home folder in Ubuntu lukt het mounten van de decrypted folder niet. Gebruik dus een (home) folder die niet encrypted is.
6) Change to your decrypted mount point to access your data...
code:
1
2
| cd /home/steve/crypttest
ls -l |