My questions about DSM encryption

Questions pertaining to Power settings, Auto Block, Permissions, User Quotas and Email alerts may be posted here.
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

My questions about DSM encryption

Postby nixdorf » Tue Mar 13, 2012 8:57 pm

Hi,

recently I had some trouble with my DS111 (DSM 3.2-1955).
After a few month of uptime I had to reboot my device. After
that some of my shared folders were no longer mountable with
their key files (Error message: Password failed). :x

The good news for me... Today I upgraded to DSM 4.0-2198 and I
could mount all my shares again! :D


In the meantime I tried to copy and then mount the @...@ folders on
my linux box. This did not work because the key is encrypted (wrapped)
in the keyfile using ecryptfs-wrap-passphrase.
The first 16 bytes of all my key files are identical, so this must be
the wrapping_auth_tok_sig part I saw in the source. There are 2 secrets
used to calculate the wrapping key. A salt and a wrapping passphrase. So
my questions are:

- What is the wrapping salt (when not the default)?
- What is the wrapping passphrase / Where is it stored? / When and Why does it change?
- What are the files in /usr/syno/etc/.encrypt good for, when automount is off?

I need this information, so that I can mount my files after a total crash
and to gain trust again after the "cannot access my files disaster".

Thank you for your help!

nixdorf
nixdorf
I'm New!
I'm New!
 
Posts: 1
Joined: Tue Mar 13, 2012 8:19 pm
Location: Germany

Return to System Management

Who is online

Users browsing this forum: mickg007, roman_gp and 3 guests