mirror of
https://github.com/vgough/encfs.git
synced 2024-12-28 01:29:18 +01:00
32102447e0
Writing to the ciphertext files can rewrite the header. This would mean we had to re-encrypt the whole file with the new IV. This could be made more fine-grained, for example allowing writes to everywhere but the header. However, this is something that needs a lot of testing to ensure correctness. Writing to the ciphertext is a niche use case of the niche use case of using reverse mode, so it is unlikely it would get the test coverage it needs. To be safe, we deny all modifications of the ciphertext with read-only filesystem error (EROFS) if uniqueIV is enabled. Reverse mode with uniqueIV disabled still supports writing, if somebody really needs it. This use case is not covered by the test suite at the moment. |
||
---|---|---|
.. | ||
common.inc | ||
normal.pl | ||
reverse.pl |