Skip to contentSkip to conversation

fs/crypt : passphrase recycle without data re-encrypt

DISCUSSION Anand Jain 2 participants 4 messages Feb 6, 2017 VFS

lore
Share & tools
lore

Anand Jain

author
#0 lore raw

I am looking for some information on how its been planned to accommodate the feature such as passphrase recycle without the data re-encryption in fs/crypto or in e2crypt ? any idea ? Per fs/crypto and e2crypt (for the current master key derivation method) it appears to me that its not possible, unless I am missing something. ?

Thanks, Anand

author
#1 lore raw

(s/e2crypt/e4crypt, sorry)
---

I am looking for some information on how its been planned to accommodate the feature such as passphrase recycle without the data re-encryption in fs/crypto or in e4crypt ? any idea ? Per fs/crypto and e4crypt (for the current master key derivation method) it appears to me that its not possible, unless I am missing something. ?

Thanks, Anand

#2 lore raw

Hi Anand,

Quoted 5 lines · Anand Jain

(s/e2crypt/e4crypt, sorry)
---

Quoted 8 lines

I am looking for some information on how its been planned to accommodate the feature such as passphrase recycle without the data re-encryption in fs/crypto or in e4crypt ? any idea ? Per fs/crypto and e4crypt (for the current master key derivation method) it appears to me that its not possible, unless I am missing something. ?

Thanks, Anand

Indeed, this needs to be implemented by userspace, but e4crypt doesn't support it yet. I've Cc'ed Joe Richey; he's currently working on a userspace program called 'fscrypt' that will support this feature. There's also a design document at https://goo.gl/55cCrI you could take a look at.

Eric

author
#3 lore raw
Quoted 10 lines
Quoted 7 lines

I am looking for some information on how its been planned to accommodate the feature such as passphrase recycle without the data re-encryption in fs/crypto or in e4crypt ? any idea ? Per fs/crypto and e4crypt (for the current master key derivation method) it appears to me that its not possible, unless I am missing something. ?

Quoted 4 lines

Indeed, this needs to be implemented by userspace, but e4crypt doesn't support it yet. I've Cc'ed Joe Richey; he's currently working on a userspace program called 'fscrypt' that will support this feature. There's also a design document at https://goo.gl/55cCrI you could take a look at.

Thanks. -Anand