Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Data loss on encrypted partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sm4x
n00b
n00b


Joined: 14 Dec 2003
Posts: 38
Location: Hamburg

PostPosted: Sun Oct 17, 2004 2:17 pm    Post subject: Data loss on encrypted partition Reply with quote

Hi all!

I have been using dm-crypt to encrypt a spare partition for quite a while now. On this partition I use reiser3 as a fs.

Right now I am a bit worried about my chances to recover the data stored on it in case of a power failure. How likely can it be unrecoverable in such a case?


sm4x
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Tue Oct 19, 2004 2:27 am    Post subject: Reply with quote

Does it encrypt the entire filesystem as a singular unit, or individual files?
Back to top
View user's profile Send private message
sm4x
n00b
n00b


Joined: 14 Dec 2003
Posts: 38
Location: Hamburg

PostPosted: Tue Oct 19, 2004 3:27 pm    Post subject: Reply with quote

The whole filesystem.
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Tue Oct 19, 2004 8:21 pm    Post subject: Reply with quote

Depending on how it does it (blocks vs. streams) I imagine it could be unsafe. Much like some sorts of file compression, a single error can make everything after it unretrievable. Blocks of data are used to restart the compression or encryption algorithm to prevent this problem, at the risk of slightly less efficient compression or making the encryption easier to break.

I don't know for sure since I'm not familiar with dm-crypt. Why don't you create a test partition and experiment and see? Cause a few 'errors' and see what you can recover.
Back to top
View user's profile Send private message
sm4x
n00b
n00b


Joined: 14 Dec 2003
Posts: 38
Location: Hamburg

PostPosted: Wed Oct 20, 2004 1:34 pm    Post subject: Reply with quote

Yeah, that's what bothered me, too. Hard to tell if these artificially produced errors cover the whole range of possible problems.

I just found this article and after reading it I'm not so sure if I should stay with dm-crypt anyway. Seems to me as if there are some security issues with dm-crypt itself.

sm4x
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum