On Tue, 31 Jul 2012 22:36:12 +0800
Robert Siemer <robert.siemer-li...@backsla.sh> wrote:
| 
| 
| On 31/07/12 15:48, Anthony Thyssen wrote:
| > On Tue, 31 Jul 2012 11:52:32 +0530
| > SaNtosh kuLkarni <santosh.yesop...@gmail.com> wrote:
| 
| > Each filename is encrypted than a checksum prepended. This is then
| > converted to a base64 encoding (ascii) and the characters '.' (which
| > can make a file hidden), and '/' (one of the 2 illegal characters in a
| > filename, NUL being the other) replaced with ',' and '-' respectively.
| 
| Base64 only contains letters and numbers (together 62) and two more 
| configurable characters (to get to 64 total). – There is no need to 
| replace NUL or ‘/’ afterwards (unless base64 is configured stupid).
| 
| 
| Regards
| 
I just pointed out that NUL and '/' can not be used in filenames (under UNIX)
and '.' can hide files if it it the first character. as the STANDARD base64
encoding uses '.' and '/' the EncFS replaces those characters.

NUL is not a problem, but the other two are.

Basically, EncFS uses a modified base64 encoding to convert the encrypted
filenames and checksum (binary) to valid filename.  It is a useful technique
which I also used for other things (but using one-way hashes rather than
reversible encryption).

There is another modified base64 encoding used for URL's, replacing
'+' and '/' with '-' and ',' respectively.


  Anthony Thyssen ( System Programmer )    <a.thys...@griffith.edu.au>
 --------------------------------------------------------------------------
  "Better shut 'er down, Slim. She's pumpin' mud."  - memorable error message!
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.ict.griffith.edu.au/anthony/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to