1 |
On Mon, Apr 26, 2004 at 10:23:53AM +0200, Bart Van Kerkhove wrote: |
2 |
> As far as i know is all that it takes to make an encrypted file unreadable |
3 |
> is one faulty bit. What happens if the filesystem gets corrupted or the |
4 |
> filesystem is unmounted in an unsafe way? Will all data be lost or only |
5 |
> the affected (open) files? |
6 |
|
7 |
Depends on the used encryption algorithm. Some encrypt on a per-byte (or |
8 |
per-word) basis, others use a chaining method which makes all bytes |
9 |
following the corrupted byte also corrupted. |
10 |
|
11 |
In general, it's recommended to assume that one faulty bit results in a |
12 |
complete loss of all information. This might not always be true, but from a |
13 |
security PoV you'll always have to assume the worst. |
14 |
|
15 |
Did I mention backups? |
16 |
|
17 |
Wkr, |
18 |
Sven Vermeulen |
19 |
|
20 |
-- |
21 |
^__^ And Larry saw that it was Good. |
22 |
(oo) Sven Vermeulen |
23 |
(__) http://www.gentoo.org Documentation & PR |