rclone/crypt
Stephen Harris 6e003934fc crypt: add an "obfuscate" option for filename encryption.
This is a simple "rotate" of the filename, with each file having a rot
distance based on the filename.  We store the distance at the beginning
of the filename.  So a file called "go" would become "37.KS".

This is not a strong encryption of filenames, but it should stop automated
scanning tools from picking up on filename patterns.  As such it's an
intermediate between "off" and "standard".  The advantage is that it
allows for longer path segment names.

We use the nameKey as an additional input to calculate the obfuscation
distance.  This should mean that two different passwords will result
in two different keys

The obfuscation rotation works by splitting the ranges up and handle cases
  0-9
  A-Za-z
  0xA0-0xFF
  and anything greater in blocks of 256
2017-03-29 17:56:55 +01:00
..
pkcs7 Implement crypt for encrypted remotes - #219 2016-08-23 17:45:37 +01:00
cipher.go crypt: add an "obfuscate" option for filename encryption. 2017-03-29 17:56:55 +01:00
cipher_test.go crypt: add an "obfuscate" option for filename encryption. 2017-03-29 17:56:55 +01:00
crypt.go crypt: add an "obfuscate" option for filename encryption. 2017-03-29 17:56:55 +01:00
crypt2_test.go local, yandex, dropbox: fix NewObject suceeding on a directory #1079 2017-02-25 11:09:57 +00:00
crypt_config_test.go Make it possible to test Fs multiple times and use this with crypt 2016-08-23 17:45:37 +01:00
crypt_test.go local, yandex, dropbox: fix NewObject suceeding on a directory #1079 2017-02-25 11:09:57 +00:00