HNHacker News
TopNewBestAskShowJobs

zahllos

1,137 karma · joined June 5, 2016

submissionscomments
zahllos··on OpenRA: Red Alert, Command and Conquer, Dune 2000, Rebuilt for the Modern Era
IMO this: https://github.com/OpenRA/OpenRA/blob/fe129956bb1b3f7e3231c1... is the most exciting part.

Tiberian Sun remains my favourite C&C game. I know it was rushed and had some bugs but... I mean: The Forgotten? Absolutely there should be a mutant commando walking around with a portable railgun, physics be damned!

I like C&C3, but it isn't TS and I feel it abandoned a bit the direction TS was taking us.

zahllos··on London's Oyster card: Are its days numbered?
I agree, having lived in both the UK and Switzerland. If you can justify the cost, the GA in Switzerland is incredible and works for most trains, buses and boats in the country (the exceptions are usually private touristy rail routes that go up mountains). People can and do commute from Geneva to Zurich in a day and have mobile data the whole way.

Outside of London, UK public transport varies greatly in quality and all of it is very expensive and overpriced. UK season tickets for lines outside of London typically involve a fixed route on one operator and usually only support commuting: one there and back journey 5 days per week max. By contrast, the GA in Switzerland really is unlimited. It will work equally well for boats crossing the lake in Geneva as it will for the local trams in Zürich and the train to get you between them, even if you travel on a Sunday. It doesn't matter if you present it to cantonal transport people, or private train operators, it will work, no arguments. Pretty much the only people not part of the GA scheme are tourist train routes up mountains, and to be honest, that's fair enough - staff to the facilities on the top likely get a free ride up anyway and nobody else needs to commute to the top of the Jungfrau.

zahllos··on Juniper breach mystery starts to clear with new details on hackers and U.S. role
I think this is a little unfair to NIST. Some parts aren't entirely factual. For example while DES was specified at 56 bits if we discount parity bits, I'm not sure how much choice they had in this - I suspect NSA/US gov more widely here. NSA, which is distinct from NIST but obviously works with them, requested changes to the DES S-Boxes during design that resulted in better protection from differential cryptanalysis, a technique unknown to anyone else at the time. So the NSA weakened DES in one way but strengthened it in another.

A lot of this weakening of ciphers was US government policy at the time: crypto was considered only to have military applications so in the same way foreign countries don't get the full US-edition fighter jet, they also didn't get the full crypto.

DualEC was a mess, no doubt, and should never have been standardized. I'm guessing they were railroaded by NSA. What is bizarre is that everyone knew it sucked. Not only the backdoor potential but also that it was slow. In fact the backdoor was even patented: https://worldwide.espacenet.com/publicationDetails/biblio?CC... which is my personal favorite part of the saga.

So while DualEC was a mess and the export policy was disliked, generally speaking the NIST process for standardising things is widely regarded.

Of course that does not mean you should trust them blindly, but examine the evidence. AES, SHA3, the lightweight crypto competition and the pqc process will all produce ciphers from largely non-US scientists and there are detailed discussions on the forums and at the workshops.

Of course if they decide to shut down these forums for discussion or ignore community consensus then there are definitely reasons to worry.

zahllos··on Sailfish 4
Yes, looks like Russia wants to reduce dependence on iOS and Android: https://en.wikipedia.org/wiki/Sailfish_OS#Aurora_OS
zahllos··on Toledo’s Last Swordmakers
Fun fact: in the past, when La Vuelta a España rode into Toledo, the winner of that stage was gifted a sword. I don't know if this happens every time, but it definitely happened to David Millar, a British rider who won the time trial there in 2009: https://pezcyclingnews.com/vuelta09/vuelta09-st-20-millar-pu.... It could very well still happen.

Visiting Toledo is on my todo list, as is working out how to get a sword through customs on the way home :)

zahllos··on Sigstore – A new standard for signing, verifying and protecting software
Yes it is a real concern. If you're running a Linux distribution, chances are you are downloading your packages from a mirror and not the primary mirror for your distribution. This is done to everyone's benefit bandwidth-wise.

However it opens up the possibility that the artefacts can be tampered with on the server. Signing confirms their authenticity. In a (cryptographically secure) hash, there is no 'key' and so anyone can create a valid one for their modified bundle.

Ditto for containers, Android Apps, and just about anything else we use.

zahllos··on Swiss Ph.D student’s dismissal spotlights China’s influence
I'm afraid it isn't free for undergrads, even outside the federal domain. Actually St Gallen is more expensive than ETH! https://www.unisg.ch/en/studium/informationsangebote/gebuehr...
zahllos··on Swiss Ph.D student’s dismissal spotlights China’s influence
Here you go: the salaries of PhD students at ETH Zürich: https://ethz.ch/en/the-eth-zurich/working-teaching-and-resea...
zahllos··on Swiss Ph.D student’s dismissal spotlights China’s influence
Only PhDs are paid. I think the salary scale starts at around 51,000 CHF. That's a lot for other countries but it isn't for Switzerland. The exact amount is public knowledge and you can find it if you look. It is slightly higher for ETHZ, but not much.

Bachelors and masters pay fees according to: https://www.epfl.ch/education/studies/en/rules-and-procedure... or https://ethz.ch/en/studies/financial/tuition-fees.html

Tuition is definitely not free, but also not extortionate.

zahllos··on Why I Wrote PGP (1999)
Here's a quick overview: We have what we call primitives that achieve a certain goal. For example AES on its own does a pretty good job of being a block cipher. However it doesn't fulfil all our expectations for actual secure communication alone and for this we need to use it as part of a slightly larger scheme.

These are the constructions tptacek refers to. How we put together the bits we have in a way that meets our expectations, which we refer to as semantic security. This doesn't just apply to AES but also to public key crypto as well. This might seem quite abstract, so let me put it this way: AES alone doesn't know if the ciphertext you feed it has been modified by an attacker. It will simply process that data with a given key. The decrypting software might notice and report an error (the message will look garbled), and there are circimstances where this can actually be exploited to reveal information. This is not what we expected to happen.

We've learned a lot about this since the early 90s. Many modern primitives actually come with all the parts we would call a construction built in, to avoid potential misuse (although these schemes are for the most part academic right now). Almost all modern systems combine primitives like AES in such a way as to meet our expectations. Except perhaps Telegram but nobody knows what they're smoking.

If you want an actual textbook, Introduction to Modern Cryptography by Katz and Lindell, or Cryptography Made Simple by Nigel Smart will cover this in plenty of detail, and are also good all round introductions to most areas of cryptography by leading experts. I learn towards the book by Smart, but either will be perfectly fine.

zahllos··on Swiss Ph.D student’s dismissal spotlights China’s influence
I'm not familiar with universities outside the ETH rules (ETHZ/EPFL only) but students are paid a salary at these universities and hold dual status as employees and students. I'm not sure if their tuition is waived. Even if they pay the same tuition as masters or bachelors students this is usually around 800-900 CHF per semester, the cost of 2-3 months health insurance. Not money you want to pay if you don't have to, but it isn't UK or US fees.

However there are definitely time limits. You would find it hard to be enrolled on a doctoral programme for 6 years or more especially if you aren't about to imminently graduate, and this is likely the main motivation behind the advice given the proposed 3 year break in China.

zahllos··on IPv4 pricing
I only actually pay for 100Mbits symmetric. Quite a lot of VPSes only offer that anyway, even now.

But yes it doesn't make sense for local wiring at all. 1Gbit-capable LAN cabling is cheap and ubiquitous. On the other hand it sounds like you have wired ethernet in your building... that's also quite unusual. Mine (70s) does not :)

zahllos··on IPv4 pricing
It isn't everywhere in Switzerland. I just lucked in to moving to a town that happens to have a lot of fibre underneath.

Plenty of places here are stuck on some form of broadband.

zahllos··on IPv4 pricing
Yeah future proofing makes sense. I'd hope they'd do that anyway if only because once they get out of my building it isn't just a fibre cable for me but for business connectivity too. There's a couple of data centres in my town that host for local businesses so the interconnect need is there.

It just feels a bit dishonest to sell a 10G connection and tell the user to speed test on the router's web portal when their PC won't get remotely near that.

zahllos··on IPv4 pricing
So by natively I mean that if you look at the packets there is only ipv6. 6rd, hurricane electric and so on, you can use these tunnels to get the functional equivalent of having IPv6 at home, but between you and the point-of-presence (the other end of the line your router is connected to where Swisscom decide to do something with your packet) is IPv4.

Customers actively have to opt in to 6rd on Swisscom and actively have to set up hurricane electric and other IPv6 tunnels. Which means connectivity is limited to people who are going to do that, so service providers on the internet must offer IPv4.

zahllos··on IPv4 pricing
In Switzerland it is a level of insanity above this. Major ISPs are now promising 10Gbit and 25Gbit fibre to the home, but only one ISP natively supports IPv6 (init7, not the country's major provider Swisscom).

This is utterly bonkers. While the ethernet cables they give out can likely do 10Gbit (but definitely not 25Gbit) very few people have 10Gbit-capable ethernet or wifi chipsets and there is no way they will actually be able to routinely transmit data at this speed.

Swisscom do 6rd and don't offer static IPv6 either presumably because of how 6rd works. So it is a pain to configure anything except using their own box.

zahllos··on IPv4 pricing
Yes, I remember seeing this as well.

The irony here is that much of the inter-service traffic on the internet could already be sent over IPv6 without anyone noticing. Getting end users onto IPv6 is always going to be a challenge as, well, ISPs, but when my mail server talks to your mail server there's no need for this to be IPv4.

zahllos··on List price for stitches at Stanford Health Care: $93K
> "because I can't possibly fathom my hard earned money paying for someone else's treatment" seems to be the most common reason.

But it is anyway in fact, since that's how insurance works even privately.

There is a model somewhere in between, like the swiss system. Here we pay a deductible amount of our own healthcare per year, which can be one of several set amounts. After that insurance pays 90% up to some set ceiling, then everything.

Costs including monthly premiums are regulated for essential treatment, and people who really can't pay can ask the government for assistance. The differentiator for health insurance is in add on packages. You want a private hotel room if you ever need to stay? Extra. You want something not covered by the basic insurance (most things you might reasonably need are covered)? Extra.

This has the advantage of making the cost of unnecessary healthcare visible to people, which discourages unnecessary use a bit, while making sure that if something really does go wrong you will be treated and you don't need to worry about going bankrupt. It isn't tied to employers either.

It isn't a perfect system but my point is that there is in fact a reasonable middle ground compromise if 'everything is free' isn't acceptable. It is also quite possible to make money even with a system that charges for basic healthcare.

I agree that the US system is probably unchangeable - too many entrenched interests. It seems a shame though. We need some level of safety net as a society.

zahllos··on The cost of the “new way to message on instagram” (2020)
The Microsoft antitrust thing was about bundling Internet Explorer in Windows, and also Microsoft's Java VM. The argument from Microsoft was that these two components constituted essential parts of Windows (to that end internet explorer became a web view control in Windows) and so couldn't be removed. In practice this hurt competition from other browser vendors and from Sun.

20 years on, Internet Explorer is dead and Microsoft Edge uses Blink (the same engine as Chrome). Firefox is the only other browser with a distinct rendering engine.

Microsoft's Java VM also died. It was removed in XP SP2 and Microsoft no longer distribute, even via MSDN, versions of Windows that shipped with it. You could argue these events lead directly to the creation of .net since Microsoft's original plan was to jump on the Java train.

So it worked, or at least certainly shaped those various markets.

zahllos··on Barclays stops UK clients from sending funds to Binance
I would argue yes and no (for the split). They created two separate legal structures under Barclays PLC, since they had to (https://home.barclays/who-we-are/ring-fencing-explained/) but as a consumer would you notice? The branding remains the same and the consumer probably doesn't notice when interacting with Barclays.

Can't comment on the investment bank situation, but I know they went through a few CEOs a few years back :)

zahllos··on Barclays stops UK clients from sending funds to Binance
It isn't about being anticompetitive, it is about regulation, to protect the average consumer from being taken advantage of by unscrupulous people touting scams, and also to protect the government, as the government guarantees deposits up to £85k per person per institution. 'Retail' banks are required to ring-fence certain deposit funds from their more risky investments in an attempt to provide a buffer in the event of another financial crisis and to avoid the need for the government to bail out another bank like Northern Rock. This is on top of the usual requirements for a banking license, rules on capital leverage and the many and varied other rules banks must comply with.

Banks are required to and have large audit functions and have automated systems for flagging potential fraud to these teams, and are independently audited as well. This is why they enforce rules like KYC and so on. No system is perfect and certainly some level of money laundering will always slip through, but the idea they are not acting at all is pure fiction, as the regulator has teeth.

As sibling comments have pointed out, plenty of 'challenger banks' exist in the UK, e.g. Monzo, although they are not the only one, innovating just fine within the confines of 'legacy' banking.

Given the scam that is tether, and the atrocious transaction throughput all cryptocurrencies vs say just the Visa network, plus the fact that through Faster Payments I can move significant sums to any UK account within seconds, I am curious why you feel UK Financial institutions are not keeping up with 'the pace of change', particularly when bitcoin types are shilling a system that reinvents all the problems in the financial system regulation has been enacted to protect against, with no backing and terrible volatility?

zahllos··on Purelymail – cheap, no-nonsense email
I've been operating my own mail server on the same IP for the last 10 years, so not as long as yours and I also don't have problems. I also disagree with one of the parent comments that you will never know what happens to email: Gmail supports DMARC, and will give you stats and tell you what happens. You can also sign up to various sender services and domain whitelist sites and so on. I've also seen mail providers do fun things like 'permanently defer' email as a means of blocking and this actually notifies you, albeit in a disruptive way, by leaving the email permanently in your outgoing queue.

I do agree however IP reputation matters. If you share an IP with other hosters, or your IP has been recycled from a bad reputation IP, or you have a residential IP or have found your way onto any of the email spam lists recently, or been reported for abuse or marked as spam enough times by freemail service users, you may have trouble getting to 'inbox' and eventually even getting delivered. Reporting systems like DMARC should let you know, however, before it becomes serious.

I don't think running your own email is a high maintenance activity that some suggest (especially for small servers) but it is definitely more effort than outsourcing it to someone else. I'm glad services like this exist, if only to prevent email becoming a Microsoft-Google walled garden.

zahllos··on I bought 300 emoji domain names from Kazakhstan and built an email service
.eu domain usage isn't that high, I don't think. I only have anecdata from my time in the UK, but .co.uk appears to be "the" domain to have in the UK.

From what I've seen the same is true on the continent. .fr and .de for example are highly popular in France and Germany. You rarely see local business reaching for .eu domains.

According to wikipedia, the number of affected domains is 344,584. Also compared to wiki there are 11M .uk domains and 16.5M .de domains. According to EurID[0] there are 3.7M .eu domains

[0]: https://eurid.eu/en/welcome-to-eurid/statistics/

zahllos··on (Very) Basic Intro to Elliptic Curve Cryptography
I also didn't mean to be snarky, but E-521 is far too estoric a choice to be casually dropped in without comment. I am fairly sure BLS curves see more use :)

If we're not careful some hodlgang hooligan will have this implemented (badly) in Rust in 30 seconds!

zahllos··on (Very) Basic Intro to Elliptic Curve Cryptography
E-521 is a popular curve? Are you sure you don't mean P-521? I mean I'm all for the Edwards variant but I'm fairly sure most people haven't heard of it and I'm not aware of a single popular crypto library that implements it.
zahllos··on Wikimedia is moving to Gitlab
So the way this is supposed to work is that providers hand out /48s and each site should be allocated a /64. In practice if you for example rent a VPS, you'll be handed a /64 for it by your service provider from their /48.

I would personally treat any /64 as the same. Depending on your local network setup the second half of the address could be anything and could change frequently. You might also get multiple addresses. Whereas getting a new /64, or /48, requires slightly more effort.

Of course there's a risk you'll block a /64 and that takes out some whole company or whatever, but I've seen that happen to corporate proxies that got flagged as a source of spam as well so this is not an easy problem even without the 2^128 address space.

zahllos··on Degoogle: Cutting Google out of your life
The grandparent comment is likely referring to the TOLA Act, which allows Australian police and intelligence agencies to issue for example technical assistance requests to decrypt or otherwise get access to whatever data they want.

As I understand it the oversight is relatively minimal and any company operating on Australian soil can be subject to such a request. Here's their government web page on it: https://www.homeaffairs.gov.au/about-us/our-portfolios/natio...

It passed around the end of 2018 and a lot of Australian companies (e.g. Atlassian) were not fans of it.

zahllos··on macOS 11: copies of dynamic libraries are no longer present on the file system
Stat then dlopen is a toctou (time of check/time of use) bug. There's a race condition between the check succeeding and the dlopen being called in which that library might be replaced by a malicious one.

Like all race condition bugs it is probabilistic, but it can be won. By contrast dlopen either succeeds or does not, and once you have the handle to the library you are good.

Actually windows also works this way, and has done since wow I think vista if not XP? There's a knowndlls registry key. Large parts of the windows api are contained in a few DLLs; these are loaded on system startup. When resolving shared libraries if one of these names is requested the normal DLL loading procedure of checking paths isn't even followed - it just links in the already loaded DLL from the cache.

It actually wasn't designed as a security feature, but for speed. No matter what the OS does there's little need to continually load these DLLs from disk when we know they are already loaded to even display the desktop.

Of course on windows you can still do the windows equivalent of stat'ing these DLLs but nobody ever does.

zahllos··on How is NSA breaking so much crypto? (2015)
We probably have different ideas of what "political" means here. I simply mean that the motivations for dismissing SIMON and SPECK likely have more to do with it being the NSA that proposed them and the Snowden leaks at the time than any particular backdoor in SIMON or SPECK. I am not saying that is a bad thing - it is a line of reasoning and a perfectly valid one. I just think we should be clear that is the reason.

I'm not sure "attack" is helpful in this context. I'm not accusing anyone of attacking anyone else.

As an example, my view that lightweight crypto is largely useless is somewhat political, based on practical concerns. We have working AES accelerators and AES instruction sets in chips today we can exploit and for most of my company's customers, that's absolutely enough. I have a view; others disagree and have interesting counter arguments.

On the arguments quoted, there are multiple modes of the algorithms, and a constrained device is unlikely to transmit multiple gigabytes of data using the 48-bit mode mostly because if it can only cope with the 48-bit mode I'd be skeptical it can transmit multiple gigabits of data at all. ARM pointer authentication can use as little as 3 bits of QARMA, although according to Qualcomm the Linux kernel uses 24-bit PACs. This is entirely fine because the point is to require a low-latency check that is reasonably hard to forge over a short window during which exploitation is possible, not gigabytes of data. This is an example of an actually valid use case of lightweight crypto.

Second argument, AES is 100% broken. Yep. Key recovery over full-round AES. If I present just that fact I could make all kinds of arguments for not using AES, but of course I am neglecting to mention the fact that it only improves things by an order of 4 and that 2^126 computations are still required - impossible for 100 NSAs all joined together - to perform it. The time complexity of the attacks on 70% of Speck48/72's rounds is 2^71.8 so... likewise only a marginal improvement, and this isn't even full-round Speck like the AES attacks.

I wasn't at the standardization meetings, so I can't really speak to that, but if the NSA behaved badly then they probably ought to have known better given the fallout from Snowden. I'm not American and I don't owe them any special deference - I also don't trust them and I'm not advocating you should, either. I'm simply saying that to the best of my knowledge the algorithms seem fine. We've made this tradeoff to trust SHA2 before and to circle back around to the original purpose of this article I would be quite surprised to learn there is a backdoor in SHA2. This is mostly based on the fact that there is a huge motivation, in the form of embarrassing the NSA, to find either weaknesses or a backdoor in any publicly acknowledged NSA algorithm and consequently putting "made in Ft. Meade" on an algorithm is a sure fire way to ensure it gets a lot of cryptanalysis.

Anyway, let's leave it there, we've diverging somewhat from the original topic.

zahllos··on WireGuard Merged into OpenBSD
There's a portable userspace implementation written in Go, for places where a kernel driver is unavailable at present.
← PreviousPage 9 of 11Next →