From f1945c4daae65074cfca8f0ab5b97ac5a50c24a0 Mon Sep 17 00:00:00 2001 From: danim7 Date: Sat, 8 Apr 2017 02:09:28 +0200 Subject: Add -forcedecode Force decode of encrypted files even if the integrity check fails, instead of failing with an IO error. Warning messages are still printed to syslog if corrupted files are encountered. It can be useful to recover files from disks with bad sectors or other corrupted media. Closes https://github.com/rfjakob/gocryptfs/pull/102 . --- Documentation/MANPAGE.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Documentation') diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md index 6fb55ca..656a400 100644 --- a/Documentation/MANPAGE.md +++ b/Documentation/MANPAGE.md @@ -61,6 +61,18 @@ to mount the gocryptfs filesytem without user interaction. Stay in the foreground instead of forking away. Implies "-nosyslog". For compatability, "-f" is also accepted, but "-fg" is preferred. +#### -forcedecode +Force decode of encrypted files even if the integrity check fails, instead of +failing with an IO error. Warning messages are still printed to syslog if corrupted +files are encountered. +It can be useful to recover files from disks with bad sectors or other corrupted +media. It shall not be used if the origin of corruption is unknown, specially +if you want to run executable files. For corrupted media, note that you probably want +to use dd_rescue(1) instead. +This option has no effect in reverse mode. It requires gocryptfs to be compiled with openssl +support and implies -openssl true. Because of this, it is not compatible with -aessiv, +that uses built-in Go crpyto. + #### -fsname string Override the filesystem name (first column in df -T). Can also be passed as "-o fsname=" and is equivalent to libfuse's option of the -- cgit v1.2.3