News for hackers. Stuff that matters.
Re:The Update Framework by fit2rule on Monday August 08, 2016 @04:10AM (#12246170)
We've got a great update framework already, if only everyone would use it: git.

Seriously. I can't think why this wouldn't "just work".

Re:The Update Framework by bennofs on Monday August 08, 2016 @05:05AM (#12246362)
From " 1.5.2. Goals for specific attacks to protect against" from the TUF spec:

Git protects against:

    * Arbitrary installation attacks. (Because metadata is signed)
    * Extraneous dependencies attacks. (Because metadata is signed)
    * Mix-and-match attacks. (Because a git commit hash depends on its parents)
    * Rollback attacks, assuming you make sure you only fast-forward when pulling.
    * Wrong software installation.
It does not protect against:

    * Indefinite freeze attacks. The attacker could 
      just replay the same signed git repository for a long time.
    * Vulnerability to key compromises. (Everyone can sign any commit, no separation)
It also has no built-in support for mirrors, and you cannot delegate trust to sub-maintainers easily, since any person who can sign a commit may potentially modify every file in the repo.

So I don't see how `git` is a valid solutions to the problems that TUF wants to solve.

Re:The Update Framework by cm3 on Monday August 08, 2016 @01:09PM (#12249263)
Seriously, git is overused, actually misused, in places where it's a bad fit, just because we know it and it resembles some desired characteristics of the problem at hand. This then leads to package indexes which periodically cull the history and force-push the index. I'm sorry, but while some of the architecture of git may be applicable, just taking git and using it as a package index is plain wrong. Also, putting that much of a load on free github repos is not nice towards github's already regularly DDoS'ed network.
Re:The Update Framework by asdfadr1344kk on Monday August 08, 2016 @04:51AM (#12246322)
You can't think of it because you don't understand TUF's theat model.
Re:The Update Framework by AndrewDucker on Monday August 08, 2016 @05:00AM (#12246348)
Because it means downloading the entire history when all you want is the latest version.
Re:The Update Framework by tokenizerrr on Monday August 08, 2016 @05:57AM (#12246526)
git clone --depth=1, git fetch --depth=1, etc. Though I suppose then you get things like https://github.com/CocoaPods/CocoaPods/issues/4989#issuecomm...
Re:The Update Framework by tonyedgecombe on Monday August 08, 2016 @05:27AM (#12246435)
When your only tool is a hammer everything starts to look like a nail.
Re:The Update Framework by username3 on Monday August 08, 2016 @09:58AM (#12247765)
When your only proverb is a hammer everything starts to look like a hammer.
Re:The Update Framework by PeterisP on Monday August 08, 2016 @03:24PM (#12250245)
If you've got a really good hammer, you can use it to hammer in anything, including those fancy carpenter nails with threads and Phillips heads.