HNHacker News
TopNewBestAskShowJobs

hannob

16,731 karma · joined March 7, 2014

See https://hboeck.de/ and https://industrydecarbonization.com/
submissionscomments
hannob··on Sam Altman said startups with $10M were 'hopeless' competing with OpenAI
I don't know if this is technically a lie, but he said that he'll purchase electricity made from fusion power within the next couple of years.

I don't know if he believes that himself. But I can tell you with extreme high confidence that this is not going to happen, and it's not even close to anything remotely realistic.

hannob··on Cracking a 512-bit DKIM key for less than $8 in the cloud
"dramatically ramping up key sizes" is not done, because it's overly expensive, and not needed.

What people don't realize: key size recommendations are surprisingly stable over long timeframes, and have not changed for a very long time. In the early 2000s, some cryptographers started warning that 1024 bit RSA is no longer secure enough, and in the following years, recommendations have been updated to 2048 bit minimum. That's now been a stable recommendation for over 20 years, and there's not the slightest sign that 2048 bit can be broken any time soon.

The only real danger for RSA-2048 is quantum computers. But with quantum computers, increasing your RSA key sizes does not buy you much, you have to move to entirely different algorithms.

hannob··on Is Iceland getting ready to join the EU?
Iceland is already part of the EEA and through that, joined the EU Emission Trading System. Carbfix, the company doing the mineralization stuff, is already receiving quite substantial funding via the EU Innovation Fund, which distributes ETS income to innovative climate technology projects.
hannob··on Cock.li Is on Red Alert
Before donating, you may want to consider that the guy operating this service is not just known for operating anonymous email (something I can sympathize with), but also for racist jokes.
hannob··on Ghost jobs are wreaking havoc on tech workers
The article doesn't really discuss the legality of this, which I'd be curious to hear the opinion of a lawyer.

In other cases, it's considered criminal if a company deliberately puts out false information about itself. E.g., if you lie about your companies products (like Theranos), it's pretty clear that this is not legal.

I don't see why it should be legal to lie about your job opportunities.

hannob··on Research in psychology: are we learning anything?
It's also how most empirical science operates.

If someone collects data and the study outcome is not preregistered, you can assume p-hacking. It would be implausible not to. And in most fields, preregistration is not common. (And even if there's preregistration, regularly people just switch their outcomes, and nobody cares.)

And to play the devil's advocate: psychology is probably doing better these days than most other fields, because it's been the posterchild example of the replication crisis.

hannob··on Mozilla fixes Firefox zero-day actively exploited in attacks
What are you talking about?

The fix was released today, and FF says they received the report 25 hours before that: https://infosec.exchange/@attackanddefense/11328207943028074...

hannob··on Dutch City the Hague Is First Banning Oil and Air Travel Ads
> $100 a ton is a round number close to estimates of what it costs to capture > carbon from an oil refinery or coal burning power plant

That's a wildly optimistic number, and almost certainly too low for the carbon sources yoU're naming. Equinor estimated over 600USD for gas burners at an LNG plant, under almost ideal conditions (existing nearby storage site, company with lots of experience): https://industrydecarbonization.com/news/is-carbon-capture-a...

hannob··on Malicious SHA-1 (2014)
Not really. While both relate to SHA-1, those are two quite different issues.

The Shattered attack was an actual demonstration of a long-known weakness in SHA-1 that allows creating practical collisions.

This one is more an exploration of the question whether a malicious actor can create a standard that looks good, but is actually weak. Those questions got quite a bit of attention in that time due to the Snowden leaks, and the realization that this actually happened at least in one case (Dual EC DRBG, which, technically, was already known before Snowden, but only got major attention afterwards).

hannob··on New tech can make air-conditioning less harmful to the planet
HFCs are amongst the most damaging climate gases.

It's a very unfortunate outcome of phasing out CFCs that they have in many instances been replaced by powerful greenhouse gases. HFCs are slowly phased out as well, but there are still a lot of harmful gases out there.

hannob··on New tech can make air-conditioning less harmful to the planet
This is irrelevant nitpicking.

For decades to come, we won't have 100% clean energy systems everywhere. Even if you power your AC 100% by solar energy, that solar energy won't be used to displace dirty energy elsewhere. Even if you make absolutely sure you have additional solar energy (I don't know how you'd do that), you still have production emissions for the solar panels.

For the forseeable future, if you can do X with less energy than before, that's an improvement.

hannob··on Defusedxml – defusing XML bombs and other exploits
This is largely historic. I had lengthy discussions about this with expat's maintainer.

expat, the xml library underlying python's etree and other xml interfaces, has either mitigated these standard xml vulnerabilities or disables the dangerous features by default.

The python docs are still a bit confusing there, but if you look at this table: https://docs.python.org/3/library/xml.html#xml-vulnerabiliti...

While this table has a lot of "Vulnerable" in it, they all come with footnotes saying that up-to-date versions of expat are not vulnerable.

So... if you want to have more secure xml parsing in python, make sure you use an up-to-date expat library or one where security fixes have been backported. You don't need anything else.

hannob··on A SpamAssassin Surprise
I had a quick look into this rule, and I have an entirely different concern. It appears to me Validity is essentially a "pay for good reputation" service. Not sure that aligns with the goals of Spamassassin...
hannob··on Vulnerabilities show why STARTTLS should be avoided if possible (2021)
Author here.

If you want more technical details, we've put up a webpage back then, and published a background paper on those vulns: https://nostarttls.secvuln.info/

hannob··on Greenwich schools to ban most cellphones, Apple Watches, Fitbits and more
I mean, I somehow understand the motivation behind a phone ban. But Fitbits?

I understand there's probably a problem creating a clear separation, but in times where lack of movement and exercise is causing major health problems, we probably shouldn't disincentivize young people using fitness devices.

hannob··on CockroachDB license change
I like this part:

"4. Does this mean CockroachDB is no longer open source?

CockroachDB will remain source available under a new license. While the new license is a proprietary enterprise license, the source code will still be available for viewing and contributions."

I mean... "The answer is kinda sorta 'No', but we really would prefer not to phrase it like that."

hannob··on Cryptographic Right Answers: Post Quantum Edition
What you got now as new standards is already the result of multiple iterations of improvements in key size reductions and performance improvements. But you'll likely not get drop-in replacements for existing public key crypto in post-quantum variations. It appears signatures are even more challenging regarding size than encryption in the post-quantum world.

It may be worth noting that choosing the algorithms that are now chosen, which are primarily lattice-based, is already kinda a compromise. They're not the ones with the highest trust in security, which would've been McEliece and SPHINCS (though the latter has been standardized as a fallback). But those come with key and signature sizes that are entirely impractical for the most common use cases.

It appears most of the crypto community came around thinking that the somewhat-smaller lattice algos are now "almost certainly secure". But surely there's at least one famous cryptographer raising his voice that he still has concerns.

hannob··on Coinbase awarded a $500k bug bounty
> Unfortunately it is hard to tell the two apart

That's kinda a "you had one job" situation. Yes, it's hard to review security reports, and separate legit ones from bogus ones. But that's what these plattforms advertise they do. They regularly do a very bad job.

hannob··on OpenSSL bug exposed up to 255 bytes of client heap and existed since 2011
I understand what you write, yet it doesn't have anything to do with NPN.

Look, I get it. Deprecating things has tradeoffs. But NPN looks like an incredibly safe thing to deprecate. It has only been used for a very short timeframe. Its only use case (SPDY) has a fallback (HTTP/1.1) making sure things still work if it's not supported. Your story about OpenSSH ciphers has nothing to do with it.

hannob··on OpenSSL bug exposed up to 255 bytes of client heap and existed since 2011
You have some VMs that talk to old network appliances that require NPN? And if NPN is not supported they don't just fall back to simple HTTP/1.1? I find that sounds extremely unlikely.

I am of course well aware of backwards compatibility issues. But I don't see how they'd impact NPN.

You might have to update some code that hard-codes NPN functionality, but well, OpenSSL has done API changes in the past, quite significantly so.

hannob··on OpenSSL bug exposed up to 255 bytes of client heap and existed since 2011
An interesting aspect of this is that it's a bug in NPN, which is more or less a historic artifact.

When SPDY, the precursor of HTTP/2, got introduced, it needed a mechanism to signal that within TLS, a different protocol (SPDY instead of HTTP/1.1) was spoken. That mechanism was originally NPN. I don't know the exact details and motivation, but eventually people seem to have decided that NPN wasn't exactly what they wanted, and they invented a new mechanism called ALPN.

Now, that was a decade ago (the ALPN RFC is from 2014), so the question is: why do we still have NPN code in OpenSSL? I don't think anyone uses it any more. Shouldn't it have been removed long ago?

To put this in a larger context: it appears to me that OpenSSL still has a strong tendency to bloat. Heartbleed was essentially a "we added this feature, although noone knows why we need it" kind of bug, but it doesn't look to me they've changed. I still get the feeling that OpenSSL adds many features that they probably just should ignore (e.g. obscure "not invented here"-type algorithms), and they don't remove features that are obsolete.

hannob··on Peter Buxtun, whistleblower who exposed Tuskegee syphilis study, has died
I had learned about this in the Pandemia podcast last year, unfortunately only available in German. But I thought for all the German-speaking HN readers I could share, it's worth listening to: https://superelektrik.de/pandemia/syphilis-geschichte-eines-...

Pandemia is a podcast started during the Covid pandemic, but regularly covering all kinds of diseases and health issues.

hannob··on CVE-2024-6409: OpenSSH: Possible remote code execution in privsep child
For clarification, the bug is in a patch applied by red hat, not in openssh itself.
hannob··on Using copper to convert CO₂ to methane
I had recently written a detailed article about e-methane, including how it compares to other hydrogen derivatives. tl;dr is that there are a lot of doubts whether e-methane makes any sense, as you usually end up either preferring hydrogen directly, or, if you need something with a carbon atom, you likely will use methanol.

Here's the article: https://industrydecarbonization.com/news/is-there-a-place-fo...

I had posted it on HN, but didn't get upvoted.

hannob··on Germany set to overhaul subsidy regime for renewable energy
Nuclear power generation has been more or less flat since ~25 years, with overall growth of electricity generation. Solar and wind on the other hand...

Just look at the data: https://ourworldindata.org/grapher/electricity-production-by...

hannob··on Pumped-storage hydroelectricity
Physics isn't very kind to all these gravity-energy-storage ideas. You need very large objects and substantial height differences to store any meaningful amount of energy. While many ideas about new types of gravity-energy-storage are flaoting around, pumped hydro is the only gravity-storage technology that ever worked in practice.

And even pumped hydro isn't in a great spot. Batteries are essentially competing for the same market (intra-day storage, few hours, high round-trip efficiency), and improving fast.

hannob··on Htmx does not play well with content security policy
I feel 2/3 of the comments here are missing the point.

CSP is a mitigation for XSS vulnerabilities. Yeah, if you always sanitize everything in the right way, you won't have XSS vulnerabilities.

CSP was born out of the recognition that people fail to properly sanitize everything, even if they know that this is what they should do. Because it's complicated, and there are so many corner-cases and different ways to have XSS. CSP is a mitigation on top, in case your "we sanitize everything in the right way" goes wrong.

Making the point that you don't need CSP if you don't have XSS vulnerabilities is like saying C is secure as long as you know know how to use it and don't write code with memory safety bugs.

hannob··on Polyfill supply chain attack hits 100K+ sites
In all cases where you can use SRI, there's a better mitigation: Just host a copy of the file yourself.
hannob··on How innovative is China in nuclear power?
No, unless you count 2009 as "recently", which was the time when the last coal power plant construction in Germany started (GKM 9). And yes, that was a mistake. But it was certainly not "recently".

In 2020, the last coal power plant was connected to the grid (Datteln 4). It was delayed, as it wasn't clear for quite a while whether it was even legal. But the decisions that have been made to build these plants were made 15-20 years ago.

hannob··on 40 out of 60 German climate greening endavours fraudulent
That's a pretty clickbaity headline (the one here, not the original one).

This is about a special law that allows oil companies to compensate carbon reduction requirements. Which, to be clear, is a big deal, and a major case of fraud. But the headline makes it sound like the majority of all climate efforts in Germany are fraudulent. That's... a very different claim, and not the one in this article.

← PreviousPage 4 of 34Next →