jj4211

joined 3 years ago
[–] jj4211@lemmy.world 2 points 37 minutes ago (1 children)

RSA 4k is still good, though I like the smaller keys of ECC anyway so I just go for the P384 already for TLS and have for some time.

The whole distrust of NIST curves has me doing ed22159 on ssh front, but might have to change that to ecdsa-p384 (I'm not going to do the lattice hybrid one, almost nothing is compatible with it that I ssh into yet).

[–] jj4211@lemmy.world 1 points 42 minutes ago

Yes, but he is making very educated guess based on conspicuous omission, but others point out that the CNSA 1.0 omitted it 10 years ago, so that hint may be off. Also he hears from a "reputable source", but at this point of confusion, hard to know.

All we can reasonably "confirm" is that NSA is still confident in CNSA 1.0 even after the finding, whatever it is.

[–] jj4211@lemmy.world 3 points 3 hours ago (2 children)

They have been tight lipped and none of the people known by name who have made hints are cryptographers. So all we have to go on is an assumption that the intelligence agencies guidance are shaped by knowledge of this 'super secret thing'.

NSA's guidance they just released indicates you are probably fine if you are at least up to CNSA 1.0 standards (released in 2016). They really want you to be up to CNSA2.0, but generally the signature part of that recommendation is troublesome. Their presentation explicitly suggests that ECDSA-P384 is still considered 'safe'.

If you refer to dm-crypt, then don't worry, nothing even guessed about applies. There's no public/private key or key agreement going on. This is only about scenarios where asymmetric encryption/key exchange going on, even in theory. If you share your public key for signing or letting people encrypt stuff to you, all holders of your public key could get your private key in the worst imaginable interpretation of this information.

In short, for TLS keys, ECDSA-P384. For SSH keys, well you can switch to rsa4096 or ecdsa-p384 if you want but I'd wait to see. Ditto for GPG keys. For SSH and TLS, just be up to date on your software and it'll probably naturally do X25519MLKEM768 anyway.

[–] jj4211@lemmy.world 3 points 3 hours ago (3 children)

That's a different one. There are three things:

Google announced proven factoring faster than previous factoring. However still slower than GNSF factoring (which while unproven, is presumed to work generally and wasn't enough to make people worry.

The Quantum attack you mentioned, which was useless and overhyped.

There is purportedly a third thing explictly not the Lattice thing, but no one is actually saying what it is. However even NSA's presumably informed guidance still says things are fine with RSA3k and ECC with 384 bit. They are still beating the 'post quantum' drum, but are forced to be realistic about the certificate side and still blessing RSA and ECC, with big enough key sizes, which are key sizes they already were saying you should be using, but they 'really mean it this time'.

[–] jj4211@lemmy.world 1 points 9 hours ago* (last edited 9 hours ago)

Evidently maybe:

The omission of ec 256 from cnsa 1.0 table of algorithms in the nsa advisory actually dates back to 2015.

So the attempt to read between the lines missed that it was already omitted long ago.

So we are kind of back to square one, with all the actual experts either left out of the loop or completely radio silent. With some of the less specifically expert yet credible leaders saying "it's bad" but then "it's not that bad". Schneier is trying to do his best but ultimately he's stuck trying to read between the lines and we don't know if his "reliable source" is actually in the loop or some hops removed from the loop or is making very smart educated guesses like Bruce is.

So we are stuck with a very limited amount of practical guidance to go on. At this point we can check about whether we have ML-KEM hybrid key exchange available in client and server and if not if feasible to enable it. We do not know if we should be more aggressively warning on other key exchange, we do not know if we need to do anything with ML-DSA, which has long been dismissed in practice as a "not needed yet". We don't know what might have a finding, we don't know if that finding is really broken or cryptographer "broken" but with no real consequence. If it turns out that it will take a reference impossible large system 1,000,000 years instead of 1,000,000,000 years, then it's going to be pretty anticlimatic despite being huge cryptographer news. If it turns out that a very large system 3 years from now could break a key given 6 months, then certainly key exchange needs to hurry up, but a 45 day key expiration that we are already chasing could help at the server and potentially intermediates, though trust anchors would certainly need to get to ML-DSA since they live longer. If it turns out that a very large system today could break a key in a week, then the world is on fire.

[–] jj4211@lemmy.world 1 points 9 hours ago (1 children)

I'm guessing you are not mad about it. I'm in the same boat, it's silly, but at least in my case no skin off my back because the school even pays for the rather small price of the AP exam. But I do wonder how colleges felt about having to come up with an answer for what you get for completing the AP exam.

Of course, not new, I got some AP exam scores in humanities back in the day and it was abundantly clear that while the university 'counted' them, they didn't really count. All credit that it ostensibly provided, the school indicated that you had to take that many extra credits for graduation anyway. Physics and Chemistry counted for real, but none of my humanities AP exams actually counted for anything. I presume that Precalc and this 'principals of computer science' are in the same boat.

[–] jj4211@lemmy.world 2 points 10 hours ago

I don't know the current crop of education programming, but broadly they aren't expected to do everything, just pitched as a super gentle introduction to the mechanics of programming. Before you scare them with programming in a capable language, break them in on a limited language to get the concepts.

Which is wild to me, as even back in the 90s in rural middle school they had us playing with logo. To have College Board consider that level of education an AP curriculum is wild, especially now that computing is far more universal than back then.

[–] jj4211@lemmy.world 2 points 10 hours ago

Yes, things have evolved during the week, but it is still weird.

First Google announced an improvement in proven factoring. Some folks said "See?" But mostly folks snoozed because it was still slower than GNSF, which while not proven for all possible values, works as far as we know and we have assumed it always works for a long time.

Then they announced a "break" in Lattice... Which triggered a bigger wave of "told you so" but it was an impossible attack on PQC, so in all vaguely practical ways, we can ignore that.

Over the last couple of days, we have had more specific smoke from people that are more specifically credible, though the ones known by names aren't cryptographers but they are reputable broadly. They have, to some extent been read in on "something", and some of them saying it is real bad. Renowned cryptographers believe there is something, but they are out of the loop and have to guess by trying to read between the lines. One noticed the omission of P-256 curve and assumed that was it, but others have highlighted that has been omitted for a decade. Then a couple of the renowned people announced "don't panic, it is not that big of a deal".

So we are mired in vague panic with very little practical actionable guidance. Sure, update things to do PQC hybrid key agreement, that's not too bad and in many cases already done. But do we need to block traditional key agreement? Do clients need to throw up big scary warnings if no PQC available? Rolling out new certificate infrastructure is a much bigger deal, so is that needed? There is a line when crossed breaks a lot of compatibility, and we don't have enough to know how far to go.

[–] jj4211@lemmy.world 10 points 1 day ago

The NSA is not a journalism outlet, they are in the executive branch and subject to executive orders like the dumbass one mandating SI

[–] jj4211@lemmy.world 2 points 1 day ago

Well for this one, it's kind of not a college level course. Before the AI rework, it was about playing around in things like Scratch. Which is fine, but formerly was considered just a thing the students did before college. A college might offer such content in a 'remedial' capacity for students that think they need it, but they wouldn't make it a degree requirement.

It's also backwards thinking. Previously, the concept was to start with very approachable very elementary logic control with friendly blocks. Then as a follow up in a different course, you learn the programming, and you build from there. The AI 'instruction' should come after the fundamentals are established, rather than as the introduction.

[–] jj4211@lemmy.world 8 points 1 day ago

Here's the problem, some of us do know what we are doing, but a lot of us don't.

It has historically been easier for the ones that know what they are doing to stand out a bit on merit, but now the business leaders can't tell the difference.

Thankfully I've had a long career to earn that trust already, but based on how I've seen execs fawn over idiots that produced a shiny demo that doesn't work for crap in the hands of actual users, I can't imagine how I could have established myself if I had to start from scratch.

view more: next ›