Skip to content

Filename handling leaks too much info #666

Closed

Description

@chbm

The encrypted path parts methods leaks information about the structure, is susceptible to collision attacks, is hard to secure as path names are constrained in size and the algorithms used are constrained by the sync validation requirements. As a side disadvantage it's also hard to use on blob storage systems which don't follow unixy path rules.

I propose using a directory file and nameless blobs. The directory file can be treated as a normal blob and retain more meta information about the file. It also declouples local and remote storage features (think OS X resources).

I was working on a similar project and have an implementation of the directory scheme at
https://github.com/chbm/securetomb/blob/master/lib/securetomb/fileset.rb
It's basically a sqlite DB which gets changed locally and then synced to the remote.

Activity

  1. ncw commented on Sep 5, 2016

    @ncw
    Member

    I think this is a duplicate of #637 where discussion of a higher security file name encryption is ongoing. I'd appreciate your input there - thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions