Skip to content
  • Joey Hess's avatar
    balanced preferred content and --rebalance · 3ce2e95a
    Joey Hess authored
    This all works fine. But it doesn't check repository sizes yet, and
    without repository size checking, once a repository gets full, there
    will be no other repository that will want its files.
    
    Use of sha2 seems unncessary, probably alder2 or md5 or crc would have
    been enough. Possibly just summing up the bytes of the key mod the number
    of repositories would have sufficed. But sha2 is there, and probably
    hardware accellerated. I doubt very much there is any security benefit
    to using it though. If someone wants to construct a key that will be
    balanced onto a given repository, sha2 is certianly not going to stop
    them.
    3ce2e95a
To find the state of this project's repository at the time of any of these versions, check out the tags.