Slashdot Mirror


Linux Kernel Git Repositories Add 2-Factor Authentication

LibbyMC writes For a few years now Linux kernel developers have followed a fairly strict authentication policy for those who commit directly to the git repositories housing the Linux kernel. Each is issued their own ssh private key, which then becomes the sole way for them to push code changes to the git repositories hosted at kernel.org. While using ssh keys is much more secure than just passwords, there are still a number of ways for ssh private keys to fall into malicious hands. So they've further tightened access requirements with two-factor authentication using yubikeys.

3 of 49 comments (clear)

  1. Re:How does it work without a clock? by ChadL · · Score: 5, Informative

    I have a Yubikey that I use for encrypting my password stores (using the private id as one of several components passed to a pbkdf). It detects replays by verifying that every token has a larger counter then all prior used tokens (and the timer depending on the application).
    A Yubikey token looks like 'ficrtvulktgnerhddigbhcudufurijghfcckvchhjfli' and is a modhex (16 chars picked for being the same across charsets) and contains the following:
    1) A public ID to identify the key
    2) AES128 encrypted 128 bits containing the following:
    a. Secret ID
    b. Insertion counter (how many times its been plugged into a computer)
    c. Token counter (within one insertion)
    d. Timestamp (A counter counting the time since the token was inserted into the computer)
    e. Random number
    f. Checksum of the above
    Their website has full specifications and documentation.

  2. Re:Malware by Zero__Kelvin · · Score: 4, Informative

    "Well, malware injection to the linux kernel isn't a mere possibility. The incident that happened back in late 2003 comes to mind."

    I don't think you are intentionally trying to misrepresent the facts, but before others take the misrepresentation of the facts and run with it ...

    "But this attack never had any chance of corrupting the mainline kernel. The CVS repository is generated from BitKeeper, it is not a path for patches to get into the BitKeeper repositories. So the code in question could only affect users who were working from the CVS repository. Kernels used by distributors probably do not come from that repository, and, as this incident has shown, illicit code can only remain there for so long before being detected."

    I think you are confusing a failed attempt with a successful injection. The checks and balances in place stopped it sans two-factor auth. This just makes it even more unlikely.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  3. Re:How does it work without a clock? by Mr_Icon · · Score: 3, Informative

    Yubikeys also support the HOTP standard, which produces 6-digit codes. This is what kernel.org actually uses, not yubikey's own implementation.

    --
    If you open yourself to the foo, You and foo become one.