diff options
author | Jakob Unterwurzacher | 2017-10-31 19:44:54 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-10-31 19:48:01 +0100 |
commit | a1a98abfbb1fe3bd235ca1a7e275f84d41afa417 (patch) | |
tree | 21c0f80984b5fd68eacd9b20adad84dc5e2d52c8 /internal/exitcodes/exitcodes.go | |
parent | 34547a6c390bfadf2342df1676f6e5ddfa4876af (diff) |
main: disallow recursively encrypting ourselves
From https://github.com/rfjakob/gocryptfs/issues/150:
mkdir a
mkdir a/b
gocryptsfs -init -reverse a/
gocryptfs -reverse a/ a/b
Now directory a/b/ contains encrypted view of 'a' but it
is possible to descend into encrypted version of b (e.g.
a/b/43873uhj538765387/) which contains double encrypted
'a' and so on.
Reported-by: https://github.com/tigmac
Diffstat (limited to 'internal/exitcodes/exitcodes.go')
0 files changed, 0 insertions, 0 deletions