HNHacker News
TopNewBestAskShowJobs

JoachimS

5,737 karma · joined June 19, 2013

Embedded security expert at Assured AB https://www.assured.se/
submissionscomments
JoachimS··on Double encryption: Analyzing the NSA/GCHQ arguments against hybrids
The problem is that constrained devices with planned lifetimes of 20-30 years being specified today already are getting requests for inclusion, usage of PQC as well as classical algorithms.

Pre-shared only works for deployments with low-ish number of devices. We are talking about 1000+ devices.

JoachimS··on The Quantum Computing House of Cards
Just started to read, liked this sentence: "Trying to build a quantum computer means picking up a fight with the second law of thermodynamics."
JoachimS··on Double encryption: Analyzing the NSA/GCHQ arguments against hybrids
If I'm not missing anything, DJB does not consider constrained devices, where the code size and execution time with two algorithms may be a problem. Unfortunately these types of devices are also the types that may have very long lifetimes.

But for all other devices - server, desktop, mobile phones etc which sports 64-bit CPUs clocked in GHz speeds, and GByte of storage, RAM this is seems sensible. Performing x25519 on these devices in addition to the PQC-algoritm should be a negligible cost.

JoachimS··on Ask HN: What has quantum computing achieved so far?
But that is just hedging the bets - it does not show that the path to practical quantum computers at scale to handle real problems is feasible.

We see customers getting requirement requests for using PQ safe crypto algorithms to be used in systems that will be used 30+ years. But that too is also just hedging the bets.

Quantum Key Distribution is feasible - esp for systems that don't need to move and where you own the medium. And can spend the 1000+ kUSD these machines costs. For most use cases (for example between a client and a server setting up a secure session over Internet) these machines does not solve anything. But they sure are very cool to own and deploy.

JoachimS··on Ask HN: What has quantum computing achieved so far?
They really are quite beautiful. At least when they aren't submerged in liquid nitrogen. I like this picture since you probably can see what it also looks like when enclosed:

https://spectrum.ieee.org/media-library/less-than-p-greater-...

JoachimS··on Ask HN: What has quantum computing achieved so far?
This sounds very interesting, and at least to me very much news. Can you please provide some links that show that the path from what we have today in terms of number of qubits, handling of noise at the number of qubits, and keeping the qubits in a entanglement state long enough to, for example, factor a RSA 4096 key is clear and straight forward.

We are talking 4,5,6 orders of magnitude for several vital physical properties. Silicon scaling the last 40 years seems to me as being much easier - and that have required enormous amount of R&D including physical theory, and is bumping into physical limits. We have gone from say 500 nm to 5 nm, basically three orders of magnitude.

What makes it so clear that quantum computer technology are even possible to scale?

And yes, Quantum computers may be profoundly powerful someday, for a set of problems. Not in general.

JoachimS··on Ask HN: What has quantum computing achieved so far?
AFAIK, this is basically the opposite of how it probably will pan out.

Some organsations MAY someday have Quantum Computers capable of cracking some asymmetric keys (RSA). All of us will have access to cryptographic algorithms (inlcuding open source implementations) that can't be cracked by the Quantum Computers. These algorithms are executed on our normal, classical computers.

We already have a first set of post quantum computer cryptographic algorithms. See the NIST competition for example. Their implementations still looks immature (some have fallen against classical attacks, including side channel issues). But we'll get there. We will also have to (yet again) deal with having algorithm agility, which adds complexity.

Quantum Computers are not magical things. We can (and do) know type of problems, algorithms, operations they should be better than classical computers to solve (called quantum supremacy). Shor's algorithm, which provides exponential speedup of cracking RSA key is an example of such an algorithm.

What we so far don't consider that much is the feasibility to perform these algorithms in reality. That is, we look at the asymptotic speedup, not the practical speedup.

There is a really good paper by people from the MS PQ team that looked at this. Highly recommended:

https://cacm.acm.org/magazines/2023/5/272276-disentangling-h...

JoachimS··on Do cats "meow" in every language?
Good point!
JoachimS··on First new U.S. nuclear reactor since 2016 is now in operation
Which version?
JoachimS··on First new U.S. nuclear reactor since 2016 is now in operation
Don't know about the United States regulatory frameworks, but in Europe, building hydro power, or big wind farms for that matter is getting hard too. Both with local protests and regulatory requirements.
JoachimS··on First new U.S. nuclear reactor since 2016 is now in operation
Sorry for nitpicking, but please use "M" for mega, not "m". At least be consistent.
JoachimS··on First new U.S. nuclear reactor since 2016 is now in operation
Still MW not GW.
JoachimS··on Do cats "meow" in every language?
They should have included Finnish in the list, since it is a language that differs quite a bit from any other language.
JoachimS··on Ideal monitor rotation for programmers (2021)
The multiple screen setup from Swordfish is starting to feel old.

https://www.reddit.com/r/geek/comments/1ds9en/from_the_movie...

JoachimS··on Ideal monitor rotation for programmers (2021)
This triggers my OCD! Esp having a single degree off.
JoachimS··on IDEs we had 30 years ago
Yes, the Borland TUI was pretty good. But nothing came even close to what we had on the Commodore 64 with the X-Ass Dev Kit. You could code in a nice TUI with syntax highlighting. Press a key to assemble in a split second, execute the program, press reset and be back in the TUI exactly where you left off. And this with source file > 64 kByte, creating executables that occupied the complete memory space of the computer.

https://csdb.dk/release/?id=27625

http://www.fairlight.to/docs/text/xass_docs.htm

So productive and easy to use.

JoachimS··on Need a PRNG? Use a CSPRNG
You could use Siphash as a CSPRNG, and I have an implementation in 6502 asm: https://github.com/secworks/siphash_6502
JoachimS··on Vector Packet Processing
(Answering myself now, oh my.)

... And doesn't this also adds, creates a relationship between otherwise independent packets, potentially creating a way to tag packets through a network. Basically if I can control the arrival time of my packets to a router (I send them at a baseline fixed rate, but delay the transmit time with a pattern), packets that are then bunched together to be vector processed in the router will also be affected by this delay. I could possibly then observe this pattern at other places in the network. Thus tracing packets.

Possibly.

JoachimS··on Vector Packet Processing
Noob question, but don't this potentially add per-packet latency and processing variance?

My thinking is that one needs to have a set of packets before being able to start processing. The first packets arriving must wait until enough packets has arrived to fill min size of the vector. And if the last packet comes "late", the arrival time of the last packet adds to the time for the other packets, thus adding something that looks like variance.

I assume there are parameters setting min number of packets in a vector, and timeouts for when to accept packets into a given vector.

JoachimS··on Candela P-12 taking off – Electric hydrofoiling passenger vessel [video]
The ferry between Kyrkesund and Härön is a good example. Yes, sorry for the Swedish chef bork bork, but the picture should be enough:

https://www.vastsverige.com/sodrabohuslan/produkter/personfa...

JoachimS··on Candela P-12 taking off – Electric hydrofoiling passenger vessel [video]
There are quite a few ferries with capacity around 30 passengers in service in Sweden. Most of them burning diesel.
JoachimS··on Z80 vs. 8088 Speed
In what way does those arguments change the calculation of which machine is faster to perform a specified operation?

It sounds more like you try to state that the results have no real world meaning, and that is very correct. But nobody have claimed otherwise. This is about historical computers. We all know which architecture won. Despite being slower performing a ROR.

JoachimS··on How to Make a CPU – A Simple Picture Based Explanation
Not so much a CPU as chip fabrication. But otoh that is soo cool by itself. Making your own ingot ffs, that is crazy.
JoachimS··on [dead]
I'm sure this will boost Xitter as a mature and serious platform for enterprises to spend their ad money.
JoachimS··on Effective Altruism Is as Bankrupt as Samuel Bankman-Fried's FTX
Defective Altruism was a smart term for it.
JoachimS··on Stockholm to ban petrol and diesel cars from centre from 2025
You have obviously not been to Stockholm during morning rush. Stockholm have an extensive subway, as well as buses. Or just using the (often quite wide) sidewalks to walk. The amount of kids moving around (themselves) to get to their schools is almost overwhelming.

Oh, and the best schools are really in the downtown area. Which is why children, kids, teenagers use the public transport from all around the metro area by themselves to get to the schools.

And since you comment further below about winter - yes, of course the kids move around like this in the winter too.

JoachimS··on US-China tech war: RISC-V chip technology emerges as new battleground
The article is impressiverly unable to describe what RISC-V actually is:

"At issue is RISC-V, pronounced "risk five," an open-source technology that competes with costly proprietary technology from British semiconductor and software design company Arm Holdings (O9Ty.F). RISC-V can be used as a key ingredient for anything from a smartphone chip to advanced processors for artificial intelligence."

Also, the lawmakers seems to lack a general understanding of how open source is developed, by whom and how it is being used. And what RISC-V is and what is really available:

"Representative Mike Gallagher, chairman of the House select committee on China, said in a statement to Reuters that the Commerce Department needs to "require any American person or company to receive an export license prior to engaging with PRC (People's Republic of China) entities on RISC-V technology."

Moving RISC-V International to Switzerland seems to have been a very prudent move. https://riscv.org/about/

JoachimS··on Debunking NIST's calculation of the Kyber-512 security level
My takeaway (impression) from the DJB post is that the evaluation by the NISTPQC seems not to provide algorithms with a firm level of security. That the evaluation is not clear cut, and not provide a good, conservative lower bound for the security provided by the algorithms selected.
JoachimS··on Everyone Wants to Be a Product
I thought everyone wanted to be (have) a service, to get that juicy recurring revenue flowing.
JoachimS··on Taos Operating System (1995)
There is at least an OS like environment called Nachos (Not Another Completely Heuristic Operating System) used many moons ago in the University OS class.

https://en.wikipedia.org/wiki/Not_Another_Completely_Heurist...

https://homes.cs.washington.edu/~tom/nachos/

(Not sure what the possible relation to Taos would be, to make this OT. ;-)

← PreviousPage 4 of 25Next →