News for hackers. Stuff that matters.
Re:SKS Keyserver Network Under Attack by vermilingua on Saturday June 29, 2019 @11:20AM (#20313063)
To be clear: is this suggesting that it is currently entirely unsafe to update any operation-critical equipment? It seems that now that the PoC is out in the wild, it will be a matter of days/hours before someone hits a major contributor to the major Linux distros; and all package managers begin to fail.
Re:SKS Keyserver Network Under Attack by hlieberman on Saturday June 29, 2019 @11:42AM (#20313198)
I don't think this is correct. Debian and its derivatives, at least, use a separate keyring for apt than the rest of the system uses. Though Debian does have a keyserver, pushes aren't automatically added to the user-facing keyring; they are manually moved over by a keyring maintainer who would presumably notice someone with a multi-megabyte key.
Re:SKS Keyserver Network Under Attack by sirn on Saturday June 29, 2019 @11:56AM (#20313270)
Ubuntu runs its own SKS keyserver (keyserver.ubuntu.com) and apk-add-repository use it when adding a PPA repository. I think in theory it's still possible to break package manager in Ubuntu if someone decide to poison a popular PPA repository/key.
Re:SKS Keyserver Network Under Attack by rlpb on Saturday June 29, 2019 @06:21PM (#20315160)
PPA repository keys are generated by Launchpad; mere Launchpad users cannot inject arbitrary PPA repository keys.
Re:SKS Keyserver Network Under Attack by cyphar on Saturday June 29, 2019 @12:29PM (#20313416)
Package managers don't use keyservers to get their keys. Keyring updates are usually shipped as package updates or through a different mechanism. And distro media embeds the signing keys in the ISO to avoid the TOFU problem.
Re:SKS Keyserver Network Under Attack by koolba on Saturday June 29, 2019 @11:35AM (#20313146)
Yes this seems like it's going to range from very bad to outright terrible. In particular if the issue propagates prior to patching something like gpg as the package managers would be locked out from updates.

Every time there's an article about IoT security there's a discussion about lack of (security) updates and an upcoming Armageddon. Interestingly it'll be those devices that do not update that are immune to this type of thing.

Re:SKS Keyserver Network Under Attack by cyphar on Saturday June 29, 2019 @12:31PM (#20313433)
Package managers don't use keyservers to get their keys (at least, not for the distro's repos). I believe Ubuntu might use them for PPAs, but openSUSE doesn't use them for any OBS projects (and I'm pretty sure this is the same for any RPM repo).
Re:SKS Keyserver Network Under Attack by heavenlyblue on Saturday June 29, 2019 @02:22PM (#20313980)
>> immune to this type of thing.

The _only_ type of thing that they are immune to. This is like saying “a car with a broken engine is the safest car in the world - it never moves!”.

Re:SKS Keyserver Network Under Attack by majewsky on Saturday June 29, 2019 @02:27PM (#20314002)
I think the standard analogy for this sort of thing is "a broken clock shows the right time twice a day".
Re:SKS Keyserver Network Under Attack by snackematician on Saturday June 29, 2019 @01:10PM (#20313628)
Sibling comments have discussed how this affects Debian, Ubuntu, and opensuse -- any Arch users know how this affects us? Seems like official repos should be fine but what about packages from the AUR?
Re:SKS Keyserver Network Under Attack by snazz on Saturday June 29, 2019 @02:09PM (#20313925)
I don’t think the AUR has a concept of package signing—a PKGBULD will often download a tarball from somewhere and any signing is ad-hoc. The official repositories use their own key ring (which is distributed without a key server).
Re:SKS Keyserver Network Under Attack by majewsky on Saturday June 29, 2019 @02:26PM (#20313996)
Correct. The only time when this would concern you is when you add a third-party repository, e.g. one of [1]. This usually involves a manual TOFU step where you do the equivalent of `gpg --recv-keys $ID` on the pacman keyring.

[1] https://wiki.archlinux.org/index.php/Unofficial_user_reposit...

Re:SKS Keyserver Network Under Attack by jwilk on Saturday June 29, 2019 @04:16PM (#20314544)
Beware that "gpg --recv-keys <keyid>" (or even "gpg --recv-keys <fingerprint>"!) can be tricked into inserting malicious keys into the keyring:

https://dev.gnupg.org/T3398

Re:SKS Keyserver Network Under Attack by mikedilger on Sunday June 30, 2019 @12:32AM (#20316352)
My /etc/pacman.d/gnupg/gpg.conf had this line:

  keyserver hkp://pool.sks-keyservers.net