News for hackers. Stuff that matters.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by capableweb on Tuesday July 05, 2022 @02:58PM (#31992257)
Is there any alternative organizations like NIST but not-NIST?

That NIST worked together with NSA to allow/insert backdoors into cryptography kind of left a sour taste in my mouth, and it's hard to trust them again after that.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tptacek on Tuesday July 05, 2022 @05:38PM (#31994063)
This is just about the most boring point you can raise about a NIST competition. It's right there on the label: "NIST". We get it. People don't like NIST, because of BULLRUN.

The problem this argument has is that NIST competitions are legitimated by their participants. People trust NIST's hash competition because of who entered, and because the winning team has an unimpeachable record. For the most part, people will trust this contest for similar reasons. If you could get this cast of cryptographers not to submit to NIST contests, and instead submit to some other contest, we'd have something productive to talk about. But you can't, and so, when we talk about contest-based cryptography standards, you're going to end up back at NIST.

I don't like NIST for another, better reason: I think the whole enterprise of picking cryptography standards in advance is bankrupt, and holds the industry back. So I'm not a NIST fan either. But I don't see what's to be gained by derailing conversations about new cryptography so we can relitigate the same points over and over again.

Meanwhile: pull up the authorship team on CRYSTALS-KYBER. Approximately 0% of credible cryptographers believe that NIST was somehow able to exert improper influence over this design.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by capableweb on Tuesday July 05, 2022 @05:59PM (#31994271)
> I don't like NIST for another, better reason: I think the whole enterprise of picking cryptography standards in advance is bankrupt, and holds the industry back. So I'm not a NIST fan either. But I don't see what's to be gained by derailing conversations about new cryptography so we can relitigate the same points over and over again.

Sorry if you think I'm trying to convince people of anything. I'm simply asking for alternatives to NIST itself, for my own personal and selfish reasons. I'm not arguing against other people trusting NIST, their competitions or anything like that. Just asking a question regarding alternatives.

I'm glad you and others answered. Someone even gave a proper alternative based in Germany, and for that I'm very happy. I'm sorry you feel like people are "relitigating the same points over and over again", I cannot steer the conversation any more than you can and I personally haven't seen any conversations on HN about alternatives to NIST, then obviously I wouldn't ask for it, if I already knew the answer.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tptacek on Tuesday July 05, 2022 @06:33PM (#31994574)
You said "NIST worked together with NSA to allow/insert backdoors into cryptography". It's been pointed out a couple times now that neither NIST nor NSA designed these schemes; they were submitted by the highest-profile academic cryptography research teams in the world. You aren't being asked to trust NIST in any meaningful way.

The closest analog to NIST I can think of is ECRYPT and the eSTREAM contest. It produced interesting work and you could follow it in much the same way people followed these last two NIST competitions. But for PQ KEMs, it's likely that NIST's will be the "competition of record".

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by capableweb on Tuesday July 05, 2022 @07:07PM (#31994849)
> You aren't being asked to trust NIST in any meaningful way

I understand that neither NIST nor NSA have designed these schemes, but isn't NIST the organization who picked these winning schemes after all? That's the impression I got, and my history of trusting what NIST picks, isn't the greatest, so I'd like to avoid that. I also understand that countless of people have reviewed the schemes as well, people from all around the world with different types of experience. It's still hard to shake off something that essentially boils down to a feeling: "trust".

Thank you for providing some alternatives in your final paragraph, for the uneducated plebs like myself.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tptacek on Tuesday July 05, 2022 @08:27PM (#31995406)
About the worst thing you could say about the NIST competitions is that if NSA knows some horrible flaw in CRYSTAL-KYBER, they're not going to tell us about it. But that's true of any other contest anybody else runs, too.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by snoshy on Wednesday July 06, 2022 @12:51AM (#31996863)
Why would that be true in any alternate versions of these contests? I understand the enormous incentive mechanisms involved, and yet I cannot see this being obviously true.

Edit to add: if the authorship of the submitters is as above reproach as we are led to assume, why can that not be the case for the NIST decision panel itself?

Edit 2: answered already elsewhere: https://news.ycombinator.com/item?id=31993896

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by Spooky23 on Tuesday July 05, 2022 @10:53PM (#31996188)
BULLRUN was done to NIST, not by them.

It’s think it’s also an example of why NIST is so important. The subversion of the standard is a problem, but the real exploit using that subversion was the laziness and lack of skill that downstream practitioners demonstrated. People clicked next and installed that RSA BSAFE package without any configuration or reading of the manual.

Without NIST, you’d have Crypto AG — much worse. With NIST, you may have trust concerns, but ultimately the US government is protecting much of its own data as well as politically/economically critical data with NIST algorithms (aka FIPS 140-2).

Ultimately, I think the model in place with these competitions is probably the “best worst” option.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by chasil on Tuesday July 05, 2022 @11:29PM (#31996356)
As far as I know, NIST endorsed a weak random number generator, and they withdrew it after the flaws were found.

https://threatpost.com/nist-drops-weak-dual_ec-rng-from-offi...

It appears that BULLRUN was the name of the effort/program, not the faulty algorithm itself.

https://en.m.wikipedia.org/wiki/Dual_EC_DRBG

https://en.m.wikipedia.org/wiki/Bullrun_(decryption_program)

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tptacek on Tuesday July 05, 2022 @11:35PM (#31996399)
That first sentence is not a good way to sum up what happened. Dual EC isn't "weak"; it's pretty plainly a backdoor.

(I'm among an elite cadre† of cryptography-adjacents who felt it probably wasn't, but only because I thought it was too stupid to actually be used anywhere --- as soon as it was disclosed that (a) it was a default-yes algorithm in BSAFE and (b) big companies actually used BSAFE in important products, it was immediately clear what was going on).

The idea of Dual EC is essentially that your output is internal RNG state encrypted with a public key, leaving open the obvious question of "who has the private key?". I think we all know the answer to that now.

† i am being ironic

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by snoshy on Wednesday July 06, 2022 @12:43AM (#31996821)
While I largely agree with you, and respect your opinion on these matters, the truth is that Dual EC was indeed a standard of the NIST, and therefore as a practical matter did get deployed by the public in whatever ill-informed manner for not having your elite cadre advice (yes, joking).

I appreciate the point about trust in the authorship of those presenting these algorithms, and I personally do accept it, but there's a lack of trust broadly (in the very community that these standards are intended for) in the process that your comments don't account for in this instance.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by a1369209993 on Wednesday July 06, 2022 @02:54AM (#31997646)
> it's pretty plainly a backdoor.

Nitpick: strictly speaking, it wasn't plainly a backdoor specifically, but plainly either a backdoor, or something deliberately designed to look backdoored, but with some unknown way for the NSA to 'reluctantly' declassify a proof that it wasn't backdoored in a attempt to discredit people who accused it of being backdoored (basically trying to recreate the DES S-box versus differential cryptanalysis thing). But smart money was on actually-a-backdoor.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tialaramex on Tuesday July 05, 2022 @07:13PM (#31994907)
> I don't like NIST for another, better reason: I think the whole enterprise of picking cryptography standards in advance is bankrupt, and holds the industry back.

In advance of what ? Not intended as a gotcha I'm genuinely interested.

I see past NIST competitions as a mixed bag in terms of whether what we got is important (e.g. AES) or not so much (e.g. SHA-3) but I don't see any cases where they made things worse. And the NIST competitions attract some attention whereas something more discrete like the CFRG PAKE selection process can be so quiet if you're not intimately involved you might not know the CFRG actually selected anything. If you build a new product with Serpent or Twofish inside it, that will attract questions about why not AES - does this happen if your product has SPAKE2?

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tptacek on Tuesday July 05, 2022 @08:26PM (#31995396)
It's not so much that NIST has chosen bad ciphers in their competitions, so much as that they've created institutional pressure against other totally reasonable constructions, which in turn make it harder for things like WireGuard to get adopted inside the USG. The ciphers are much less important than the protocols that use them.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by deelowe on Tuesday July 05, 2022 @05:59PM (#31994287)
They didn't say anything about NIST competitions.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by hannob on Tuesday July 05, 2022 @03:51PM (#31992852)
There's no need for one.

How NIST chose algorithms in the past was done in quite diverse ways. Sometimes they merely said "this is a standard" and people could comment and the comments were ignored. This is basically what happened with Dual EC DRBG, whcih is the likely example you're referring to.

However the way this standardization worked - and several others before, like AES and SHA-3 - is that NIST made a public competition. They basically asked everyone to submit proposals and then asked everyone to find flaws in theses proposals.

These competitions have a very good reputation in the cryptographic community. An algorithm like Dual EC where the issues were quite obvious would've never survived such a process.

The thing you should look at is the process, not the organization.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by mort96 on Tuesday July 05, 2022 @04:14PM (#31993111)
I don't understand cryptography enough to vet algorithms. I need to trust an authority to tell me which algorithms to use. I do not trust NIST as an authority. That's why it would be nice to have an actually trustworthy authority which does similar work to NIST.

EDIT: To more specifically address the process: If NIST wanted to get people to trust a shady algorithm, they could have some amazing cryptographers invent an algorithm which stands up to scrutiny, but which has some extremely hard to notice flaw which only they know about. They could then make those cryptographers submit the algorithm to NIST, and, in a seemingly fair way, pick the subtly broken algorithm as the winner. I can't know whether this happened of course, and it probably didn't, but we fundamentally have to trust that NIST wouldn't do something like that... and we do know that they would do, and indeed have done, something like that.

Maybe the process is such that this attack, and any other kind of attack, is impossible. If that's the case, please do cite something which goes into detail on that.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by mabbo on Tuesday July 05, 2022 @04:17PM (#31993150)
What if those trustworthy organizations were to tell you: "We trust this NIST competition result, and so should you"?
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by mort96 on Tuesday July 05, 2022 @04:22PM (#31993214)
Maybe, if their reasoning for trusting the NIST competition result holds up to scrutiny. Do you have any links to trustworthy organizations which wholly endorse the results, with a detailed write-up as to why?
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by jvanderbot on Tuesday July 05, 2022 @04:53PM (#31993563)
I think we can revisit OP:

> However the way this standardization worked - and several others before, like AES and SHA-3 - is that NIST made a public competition. They basically asked everyone to submit proposals and then asked everyone to find flaws in theses proposals.

> These competitions have a very good reputation in the cryptographic community.

A very brief google search provided citations to the proposals and counter-attacks for your perusal.

https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography...

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by DennisP on Tuesday July 05, 2022 @06:11PM (#31994392)
NIST wouldn't get away with choosing an algorithm that has been shown to have vulnerabilities, which is the only thing it could do is come up with an algorithm with a subtle unnoticed flaw. And that algorithm has to have performance at least as good as the other algorithms in the contest.

But if it can come up with a competitive algorithm with a subtle unnoticed flaw, than that attack would work almost as well in a contest hosted by some other organization. They wouldn't be able to guarantee the win, but they would still have a good shot at it.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by giomasce on Tuesday July 05, 2022 @04:18PM (#31993160)
Who do you trust as an authority?
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by mort96 on Tuesday July 05, 2022 @04:19PM (#31993178)
I don't know, but organizations which haven't duped people into using broken crypto before would be a good start.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by anfilt on Tuesday July 05, 2022 @06:25PM (#31994516)
Like if you dont like the US NIST standards there is the Japanese CRYPTREC, and European NESSIE. Alot the same algos as NIST though.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by capableweb on Tuesday July 05, 2022 @04:25PM (#31993247)
> The thing you should look at is the process, not the organization.

Then there shouldn't be a problem with another organization hosting the contest than NIST? Since I'm probably not alone in not being able to trust them anymore.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by tptacek on Tuesday July 05, 2022 @05:23PM (#31993896)
There isn't a problem, except that nobody will take the other organization's contest especially seriously, or write its name into contracts.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by astrange on Tuesday July 05, 2022 @07:04PM (#31994819)
Nobody trusted Dual_EC_DRBG despite its NIST accreditation. It was always obviously weird to experts, and it wasn't simple and performant enough for non-experts.

The reason it was enabled in some systems is 1. libraries (like openssl and ffmpeg) used to implement and ship every algorithm on Earth for pride reasons 2. NSA bribed RSA BSafe to make it the default.

You don't have a solution for #2.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by throwoutway on Tuesday July 05, 2022 @03:41PM (#31992746)
Wasn’t it that NIST was unwittingly tricked into accepting the NSA’s expertise while the NSA maliciously provided that expertise in bad faith?

And didn’t they subsequently ban the NSA from their input once the Snowden leaks were out?

So I don’t think it’s fair to disregard NIST completely. And the international counterparts can compare & perform their own due diligence

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by capableweb on Tuesday July 05, 2022 @05:08PM (#31993716)
> Wasn’t it that NIST was unwittingly tricked into accepting the NSA’s expertise while the NSA maliciously provided that expertise in bad faith?

Not sure if that's better or worse than them collaborating directly.

Edit: from a paper linked in another comment:

> Researchers raised concerns to NIST about both possible bias in the bits and a possible backdoor in Dual_EC_DRBG. NIST examined the issue. NSA dismissed NIST's concerns, responding that implementers could choose their own parameters to handle concerns about possible backdoors. NSA pressed NIST to standardize the algorithm, claiming that it needed FIPS validation of agency devices running Dual_EC_DRBG, and thus NIST approved Dual_EC_DRBG as one of four possible standardized random-bit generators. Dual_EC_DRBG remained a FIPS until shortly after the 2013 revelation of an NSA backdoor in a cryptographic algorithm.

https://harvardnsj.org/wp-content/uploads/sites/13/2022/06/V...

So seems NIST and others were aware of the shortcomings of Dual_EC_DRBG but was pressured by NSA to end up as a FIPS anyway.

Either way, hard to start trusting NIST again after a fiasco like that.

> And didn’t they subsequently ban the NSA from their input once the Snowden leaks were out?

AFAIK, NSA didn't submit anything for this competition, but bunch of mathematicians from NSA have worked on helping NIST with the overall process of the competition, including reviewing the entries.

It wouldn't surprise me that if NSA found something, they would withhold any findings if they could benefit from being the only ones knowing about any holes. Although we all know how that ends.

> And the international counterparts can compare & perform their own due diligence

Yes, this is exactly what I'm asking for, the purpose of my initial comment. Who are these international counterparts that I can look to instead of NIST?

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by Terry_Roll on Tuesday July 05, 2022 @05:53PM (#31994211)
> It wouldn't surprise me that if NSA found something, they would withhold any findings if they could benefit from being the only ones knowing about any holes. Although we all know how that ends.

I think you would be correct and do you know that ends?

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by drunkenmagician on Wednesday July 06, 2022 @03:00AM (#31997676)
> Not sure if that's better or worse than them collaborating directly.

Well, one is an issue of competency or at the very least experience. The other is an issue of ethics. I'll take a competency concerns over ethical ones any day.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by burkaman on Tuesday July 05, 2022 @03:24PM (#31992572)
There's a recent paper on this topic if you're looking for a very in-depth discussion: https://harvardnsj.org/wp-content/uploads/sites/13/2022/06/V...

The conclusion is no, there is no alternative right now.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by gfaster on Tuesday July 05, 2022 @03:07PM (#31992378)
I can't imagine with the added scrutiny the internet has gotten since then, especially from foreign governments, that NIST will be able to get away with anything like that again.

But then again I may be completely ignorant as to the scope of NSA meddling.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by throw0101a on Tuesday July 05, 2022 @03:42PM (#31992753)
> […] that NIST will be able to get away with anything like that again.

You say this like NIST was an accomplice (and not also a victim).

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by capableweb on Tuesday July 05, 2022 @05:16PM (#31993810)
If someone pressures (with just words and no threats) you into shooting another person, do you not at least partly hold some of the blame yourself?

Not sure what consequences NSA told NIST would happen if they said no, when they pressured them, but from the look of things (https://harvardnsj.org/wp-content/uploads/sites/13/2022/06/V...) it seems that NSA just asked NIST nicely to make Dual_EC_DRBG a FIPS even as it was weak, and NIST accepted that.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by oittaa on Wednesday July 06, 2022 @04:12AM (#31998115)
> Is there any alternative organizations like NIST but not-NIST?

DJB

OpenSSH basically decided to ignore the NIST competition and implemented Streamlined NTRU Prime. https://www.openssh.com/txt/release-9.0

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by throw0101a on Tuesday July 05, 2022 @03:41PM (#31992745)
> Is there any alternative organizations like NIST but not-NIST?

Not especially if you're in the US and want to work with government systems or be a sub-contractor to a company that does. Otherwise pick an algorithm and have at it:

* https://xkcd.com/927/

> That NIST worked together with NSA […]

Did they? Or did the NSA lie to NIST?

* https://www.schneier.com/blog/archives/2022/06/on-the-subver...

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by Longlius on Tuesday July 05, 2022 @11:03PM (#31996233)
You're not expected to trust NIST. They write standards documents. It's up to cryptography researchers to formally verify and reason about the standards and for cryptosystem implementers to choose carefully based on available research.

Any trust you're going to put into an algorithm is going to have to come from downstream of NIST.

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by Vecr on Tuesday July 05, 2022 @04:50PM (#31993528)
You could look at the German BSI Federal Office for Information Security's documents, but you can't implement anything just by reading them, and they won't teach you about various attacks or other basic cryptographic principles.
Re:NIST Announces First Four Quantum-Resistant Cryptographic... by anotherrandom on Tuesday July 05, 2022 @05:58PM (#31994268)
Well, you could always look for when the Russians or Chinese come out with their own and hope the NSA doesn't know those backdoors.

Russia didn't develop Kuznyechik for nothing

Re:NIST Announces First Four Quantum-Resistant Cryptographic... by jfjrkkskdik on Tuesday July 05, 2022 @07:29PM (#31995008)
Other nation states and capitalist big corp are the only other groups with the resources to produce such things.

Good luck there.