What broke when I enabled PQC for Git and SSH

(nordlenord.github.io)

80 points | by tukHelix 4 hours ago ago

31 comments

  • a012 2 hours ago

    Apple ships stable but old softwares. I use brew to install new packages and update PATH then forget those default binaries.

  • Tepix an hour ago

    Related: This OpenSSH PR https://github.com/djmdjm/openssh-portable-wip/pull/14 "Implement ssh-mldsa87-p384 and certificate format" looks promising. (Not mine)

  • whacked_new 2 hours ago

    I'm about to start this journey so this is good information. Based on this report, reflexively, my gut feeling is to nix-pin everywhere and call it a day, hopefully?

  • raphinou an hour ago

    Maybe I'm not well awake yet, but what key exchange is there in git?

    • dns_snek an hour ago

      Git over HTTPS, so regular TLS.

      • zzq1015 21 minutes ago

          curl -v https://github.com/robots.txt |& grep "SSL connection"
          * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / id-ecPublicKey
        
        At least GitHub doesn't have PQ key exchange, let alone PQ auth. Oops

        Strangely, GitHub has git over SSH support and has PQ key exchange.

    • arionmiles an hour ago

      GPG signing for commits?

      • progval an hour ago

        Commit signatures don't use a key exchange. Only a PKI, which is external to Git.

      • Zizizizz an hour ago

        You can sign with ssh too (just fyi)

  • pknerd 2 hours ago

    A dumb question, all this crypto saga going on, as a developer, is it an opportunity to learn something related to quantum thing or all this crypto thing is being taken care by big tech firms only?

    My point is, is it an opportunity to learn a skill, offer it to individuals and make money?

    • dingdongditchme 12 minutes ago

      A great place to start is "The Code Book" by Simon Singh. Easy read and gives historical context without dwelling too much on the math. Must read for any software developer imho. Once you've been through that you can choose what topics to focus on in more depth.

    • bawolff 2 hours ago

      There is always an opportunity to learn new things.

      However the current situation doesn't change much. We dont know the nature of the break, and even if we did, it probably wouldnt matter much, as PQC already has about a decade of effort behind it.

      If you want to learn new things, by all means, learn new things. However nothing is manifestly different in terms of what you should learn compared to a month ago.

      As far as big tech goes - big tech is made up of people. You could always be one of them. There are also plenty of academics in this area not working for big tech.

      If you just mean, be some sort of PQC transition consultant, i'm doubtful. In a few months most of this transition is going to be run apt-get upgrade and maybe regenerate your ssh key. There are jobs in more complex areas, but its definitely not a get rich quick sort of thing.

    • edoceo 2 hours ago

      For the advanced crypto part of this, like the maths, it's a steep hill.

      For a time there may be opportunity for the scan/audit, update, test, deploy to live sys-admin work. However, I think many will depend on their existing vendors to sort this, like they do many other things (PHP, log4j, whatever thing we had in 2016, etc).

    • whilenot-dev an hour ago

      As a developer, there's always the opportunity to learn about cryptography and any modern textbook has at least one chapter on PQC.

      I found Secret Key Cryptography[0] to be aimed at developers, as it contains very little math. Then there's Serious Cryptography[1] with some math, its accompanying book Crypto Dictionary[2] could be helpful as well. And then there are some more math heavier introductions like Introduction to Cryptographic Definitions[3], that are more about cryptographic security.

      Like the sibling comment already said, learning more about crypto makes you more comfortable in sys admin tasks around its handling and auditing.

      [0]: https://www.manning.com/books/secret-key-cryptography

      [1]: https://nostarch.com/serious-cryptography-2nd-edition

      [2]: https://nostarch.com/crypto-dictionary

      [3]: https://link.springer.com/book/10.1007/978-3-031-91969-5

    • magnio 2 hours ago

      You think the AI models that find multiple breakthroughs in cryptography in a month can't help individuals change their SSH keys?

      • pknerd 2 hours ago

        no, I think that not every individual has capability and domain knowledge to use AI.

        • 0c3ca83 2 hours ago

          Why do you believe they're knowledgeable enough to ask you, but not knowledgeable enough to ask an AI?

          • pknerd an hour ago

            The existence of tech companies in different niches and lame SaaS apps makes me believe so. It's kind of weird to think that laymen know all this stuff when even many CSS people have no idea about it

    • medellin an hour ago

      Figure it out yourself

      • dingdongditchme 6 minutes ago

        Although your comment is a snide comment, I too feel that the question is poorly phrased:

        > My point is, is it an opportunity to learn a skill, offer it to individuals and make money?

        The answer is obviously yes, you can make money peddling the most basic shit. It rarely has to do with super great expertise. Software developers (myself included) sometimes have this weird preconception that they have to be the greatest algorithmic slinging mastermind to provide a service to the world that people are willing to pay for.

      • pknerd a minute ago

        Ok boomer

  • globular-toast an hour ago

    There's a line break setting that breaks randomly mid-word without hyphenation? Is this a hipster thing? I would check the source but I'm in my phone.

    • aquasync 12 minutes ago

      Seems to be `word-wrap: break-word`. Not seen it before either.

    • cpach 36 minutes ago

      Yeah that looks really weird. Never seen this before.

  • irishcoffee 3 hours ago

    Tl;dr: Apple and Ubuntu. What a shocker.

    • madduci 2 hours ago

      Apple still shipping also Bash 3.2 is quite bonkers

      • LoganDark 2 hours ago

        They won't ship a newer version because the license changed from GPLv2 to GPLv3. Apple avoids GPLv3 completely. This is almost certainly why they switched to Zsh instead.

        The leading theories on why are either the anti-tivoization clause or the patent grant. Apple allows alternative operating systems only on Mac, and they don't want any risk of their patent portfolio being compromised.

        • dingdongditchme 20 minutes ago

          Allowing alternative operating systems on Mac is awesome! But why do they do that in the first place would be my question?