jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-209) BlobStore: use SHA-256 instead of SHA-1, and use two directory levels for FileBlobStore
Date Fri, 03 Aug 2012 12:49:02 GMT

     [ https://issues.apache.org/jira/browse/OAK-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated OAK-209:
------------------------------

    Fix Version/s: 0.4
    
> BlobStore: use SHA-256 instead of SHA-1, and use two directory levels for FileBlobStore
> ---------------------------------------------------------------------------------------
>
>                 Key: OAK-209
>                 URL: https://issues.apache.org/jira/browse/OAK-209
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 0.4
>
>
> Currently we use SHA-1 as the hash algorithm for the blob store (same as with Jackrabbit
2.x). I think it makes sense if we use SHA-256 instead:
> Advantages:
> - SHA-1 is considered "broken" by some experts:
>   http://www.schneier.com/blog/archives/2005/02/sha1_broken.html
> - SHA-256 belongs to the SHA-2 family, which is recommended by NIST
>   for new applications:
>   http://csrc.nist.gov/groups/ST/toolkit/secure_hashing.html
> Disadvantages:
> - Longer file name
> - Longer content hash
> - Not compatible with Jackrabbit 2.x
> For the FileBlobStore, the current implementation uses only one directory level while
Jackrabbit 2.x uses 3 levels. I think we should use two levels for Oak, to avoid too many
files in the same directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message