haskell / hackage-security

Hackage security framework based on TUF (The Update Framework)

Home Page:http://hackage.haskell.org/package/hackage-security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perform additional cheap integrity checks as part of `checkForUpdates`

hvr opened this issue · comments

commented

If a user has an inconsistent local repo (missing files, truncated files) cabal may get confused. If we verified the integrity of the local repo as part of the check for updates, this could also choose to repair the local repo cache if it were broken. I think this would be an important ticket.