NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 08:56:57 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

What broke when I enabled PQC for Git and SSH (nordlenord.github.io)

85 points by tukHelix 4h ago | 33 comments

a012 2h ago
Apple ships stable but old softwares. I use brew to install new packages and update PATH then forget those default binaries.
Tepix 1h 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)
SSLy 52m ago
OpenSSH development takes place on their CVS (or perhaps GoT), not on GitHub.
ninjin 37m ago
Communication via e-mail:

https://marc.info/?l=openssh-unix-dev

Version control via CVS:

https://cvsweb.openbsd.org/src/usr.bin/ssh

https://marc.info/?l=openbsd-cvs

There are Git and Got mirrors though, for those that prefer those tools.

The original poster linked djm's personal GitHub repository though, so if you see it there it is nearly official. ;)

SSLy 29m ago
Ahh, right, I didn't pay much attention to the user. In such case it's just matter of (short) time then :^]
dreamcompiler 9m ago
But what about Git's own hash algorithm for commits? They're moving to SHA-256 but I read the NSA notice as suggesting SHA-256 should be replaced too.
whacked_new 2h 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?
pknerd 2h 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?

bawolff 1h 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.

dingdongditchme 33m 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.
edoceo 2h 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 1h 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 2h ago
You think the AI models that find multiple breakthroughs in cryptography in a month can't help individuals change their SSH keys?
pknerd 2h ago
no, I think that not every individual has capability and domain knowledge to use AI.
0c3ca83 2h ago
Why do you believe they're knowledgeable enough to ask you, but not knowledgeable enough to ask an AI?
pknerd 1h 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 1h ago
Figure it out yourself
dingdongditchme 27m 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 22m ago
Ok boomer
raphinou 1h ago
Maybe I'm not well awake yet, but what key exchange is there in git?
dns_snek 1h ago
Git over HTTPS, so regular TLS.
zzq1015 43m 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 1h ago
GPG signing for commits?
progval 1h ago
Commit signatures don't use a key exchange. Only a PKI, which is external to Git.
Zizizizz 1h ago
You can sign with ssh too (just fyi)
globular-toast 1h 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 33m ago
Seems to be `word-wrap: break-word`. Not seen it before either.
cubefox 8m ago
Asian websites use it (they don't do the hyphenation thing over there), but the setting is clearly wrong for English.
cpach 57m ago
Yeah that looks really weird. Never seen this before.
irishcoffee 3h ago
Tl;dr: Apple and Ubuntu. What a shocker.
madduci 2h ago
Apple still shipping also Bash 3.2 is quite bonkers
LoganDark 2h 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 41m ago
Allowing alternative operating systems on Mac is awesome! But why do they do that in the first place would be my question?