HNHacker News
TopNewBestAskShowJobs

filleokus

3,558 karma · joined June 6, 2012

[ my public key: https://keybase.io/filleokus; my proof: https://keybase.io/filleokus/sigs/X3sy2-d75jviQGx30hY5coCfZDG_epBylXhEwlSSHls ] filleokus_at_gmail.com
submissionscomments
filleokus··on Planes are having their GPS hacked. Could new clocks keep them safe?
In other comments to this link people are describing GPS according to my mental model, which is hard to combine with cryptography making it un-spoofable.

If someone can re-broadcast the keystream and control the latency I perceive as a receiver, how would me checking that the MAC is correct help?

filleokus··on Wine Releases Framework Mono 6.14 in Taking over the Mono Project
"Modern" .NET (previously ".NET Core" v1, v2, v3 - but now just ".NET" v6, v7, v8, v9) works really well on Linux and in containers etc. "Legacy" .NET, .NET Framework, version 4.X, does not.

If you build something new today in .NET land you are using a version that is compatible out of the box with linux, but there's gazillions of LOC .NET Framework out in enterprises that have yet not been migrated/rewritten.

But I don't actually know if Mono is stable enough to run Framework services on Linux?

I don't know how (if at all) Kudu is related to Mono, but on Azure you can run .NET Framework in e.g App Services (which uses Kudo under the hood). It's probably the only way to host a Framework service outside of IIS on a Windows VM. And Kudo contains references to Mono, and looks really linuxy when I've used it.

filleokus··on Geothermal power is a climate moon shot beneath our feet
> as if no amount of solar and wind power generation capacity could be an adequate substitute for any amount of geothermal power, because you don't have solar power at night, for example. But actually that's just a question of how much it costs to store the energy until it's needed or transmit it from where it's still being produced.

I guess this depends on the region, at least to some extent. In Northern Europe we've had these periods during fall/winter in recent years where it's cold, essentially dark, and (worst) no wind. It's not really feasible to store ≈multiple days of consumption for tens of millions of people.

In three of the four Swedish price regions I think we are essentially in a situation now where wind power is "worthless" and can't be built out any more, at least not without major changes to consumption patterns. When the wind is blowing there is such high production that prices go almost to 0, and the operators earn ish nothing, and when prices go up there is no wind so no-one can produce.

filleokus··on Geothermal power is a climate moon shot beneath our feet
This phenomenon is something I would like to learn more about. Of course there is an element of frequency illusion mixed in, but this happens every now and again. Some random subject is all of sudden talked / written about by unrelated actors.

It doesn't necessarily have to be anything nefarious about it, papers and YouTubers need stuff to write and talk about after all. But at the same time that can be very beneficial for e.g Quaise in this case. How does it work, I'm guessing a "publicist" is involved somehow? How much does it cost? Has anyone here done something similar?

filleokus··on How to gain code execution on hundreds of millions of people and popular apps
> For Windows signing, use Azure Trusted Signing

I recently checked it out as an alternative to renewing our signing cert, but it doesn't support issuing EV certs.

I've understood it as having an EV code signing cert on Windows is required for drivers, but somehow also gives you better SmartScreen reputation making it useful even for user space apps in enterprisey settings?

Not sure if this is FUD spread by the EV CA's or not though?

filleokus··on Writing a simple windows driver in Rust
I didn't even realise I still had stuff in ~/Applications. Probably got there via some Installer wizard...

   ls  ~/Applications
   Autodesk Fusion Service Utility.app
   Autodesk Fusion.app
   Chrome Apps.localized
   Edge Apps.localized
   Remove Autodesk Fusion.app

   ls -ls /Applications | wc -l
   94
filleokus··on The young, inexperienced engineers aiding DOGE
(Really) not saying it's a good idea, but if Swedes were required to fill in the paperwork, or even better/worse actually transfer the taxes (maybe including payroll), we would probably be more upset with how our taxpayer money is spent.

If you are politically motivated to minimize the tax burden, it makes sense to be skeptical of direct filing (even if you are not bribed by Intuit).

filleokus··on All the data can be yours: reverse engineering APIs
Is there a drop-in "thing" for using DeviceCheck? I would guess that something like Auth0 uses it (or maybe not? [0]). It seems like this could be a feature in any API Gateway / WAF'y product?

Not that I'm hoping for it, I too like to play around like OP. But I'm surprised how little I've encountered it in the wild.

[0]: https://github.com/search?q=org%3Aauth0%20DCDevice&type=code

filleokus··on Mitmproxy 11: Full HTTP/3 Support
If I were to guess, it's to allow Google freedom in experimenting with changes to QUIC, since they control both the client and large server endpoints (Google Search, Youtube etc).

They can easily release a sightly tweaked QUIC version in Chrome and support it on e.g Youtube, and then use metrics from that to inform proposed changes to the "real" standard (or just continue to run the special version for their own stuff).

If they were to allow custom certificates, enterprises using something like ZScaler's ZIA to MITM employee network traffic, would risk to break when they tweak the protocol. If the data stream is completely encrypted and opaque to middleboxes, Google can more or less do whatever they want.

Kinda related: https://en.wikipedia.org/wiki/Protocol_ossification

filleokus··on Rearchitecting: Redis to SQLite
Really great article and I really appreciate seeing this "flavour" of "distributed" sqlite, think it can be useful in many no/low-write scenarios.

But about the formatting of the data, is it completely inherent to the rest of the system / unchangeable? Spontaneously I would have guessed that for example a bitfield in redis would have performed better. Did you test any other formattings?

filleokus··on Show HN: ts-remove-unused – Remove unused code from your TypeScript project
It would be kinda cool to use git status to avoid accidental data loss for tools like this.

I've never interacted with git programatically so I don't know how messy it would be to implement. But for tools that mostly operate on "whole files" rather than lines in files, I guess it shouldn't be that tricky?

filleokus··on Reclaim the Stack
If you are in Kubernetes land you probably want object storage and some kind of PVC provider. Not thaaat different from an old fashioned iSCSI/NFS setup to be honest, but in my experience different enough to cause friction in an enterprise setting. You really don't want a ticket-driven, manual, provisioning process of shares
filleokus··on Reclaim the Stack
As with everything it's not black or white, but rather a spectrum. Sure, updating k8s is not that bad, but operating a distributed storage solution is no joke. Or really anything that requires persistence and clustering (like elastic).

You can also trade operational complexity for cash via support contracts and/or enterprise solutions (like just throwing money at Hitachi for storage rather than trying to keep Ceph alive).

filleokus··on EUCLEAK Side-Channel Attack on the YubiKey 5 Series
> You can already reset CTAP2-compliant FIDO keys using a (non-PIN-authenticated) command [1], so this wouldn't add anything that isn't already there.

Ah I did not know that, thanks.

> There are just too many ways for this to go wrong, and while Yubikey has, I believe, looked into this option in the past (there's a draft design doc for this idea somewhere), they probably came to the same conclusion.

Would be interesting to see the draft. But yes of course, there are tradeoffs. Having a LED similar to on the Bio to indicate it's paired could be one way, or selling pairs in a SKU where the user actually have to initialise them (with some clear physical difference to help solve the family/friends case). But it's complicated, and I think Yubico has made the correct decision that it's simply not worth it (not that it's impossible to do in a secure way).

However, the lack of a resonable backup solution is keeping me away from Yubikey for any non-enterprise use, where a broken key would actually lock me out of an account for real.

filleokus··on EUCLEAK Side-Channel Attack on the YubiKey 5 Series
Yeah of course the operation needs to be (cryptographically) authenticated somehow, I edited my comment in haste while going to work and accidentally messed it up completely. Thanks for pointing it out!

The idea I thought of is to essentially use the public key of (2) to seed the generation of the root secret on (1). Meaning the sync-pairing-setup is destructive to the root secret, and can only be done at startup (or if you are willing to reset the device).

(A mallory could of course reset it still, unless you have some e-fuse or something, but anyways that's only marginally worse than simply physically destroying it.)

filleokus··on Show HN: OBS Live-streaming with 120ms latency
What's the state of the art in distributing WebRTC to 100k+ clients?

When I was more into the low latency streaming space a few years ago, it felt like WebRTC was there when it came to << 1 second latency, but the infrastructure to actually distribute it was not really. I think Cloudflare (and maybe some other vendors) were working on creating some standard, has it landed? Can I run my own horizontally scalable WebRTC broadcaster (are there open source implementations)?

Something like Low-Latency HLS or CMAF was at like < 5 second latency, but was on the other hand stupidly easy to distribute widely (just static files on a plain old CDN / http server).

filleokus··on EUCLEAK Side-Channel Attack on the YubiKey 5 Series
I mean you could also design keys to be synchronisable by the user. Generate a key-pair inside of key (2), transfer the public key from (2) to (1). Encrypt the the root key inside of (1) with the public key, transfer it over to (2).

(Or just allow the user to generate the root key outside of the device and insert it)

I honestly think the interest from customers is just too low. I would bet the majority of Yubico's customers are enterprises where this is not really an issue for most use cases. If you loose your key used for Entra ID / SSO, just go to IT support and get a new one enrolled to your account. Much cheaper than having synchronised hot spares (at 30-50 USD a pop) for thousands of employees.

filleokus··on Economist Eugene Fama: 'Efficient markets is a hypothesis. It's not reality
Agree more with you than GP. Revealed preference is a thing, virtue signalling and performative behaviour is rampant.

However, you can have a situation in a hypothetical economy where the VAST majority cares deeply about an issue and actually put the wallet where their mouth is. But the aggregate spending is different simply due to an enormous inequality in wealth. The integral of "revealed preference" across the population is not the same as a popular vote after all.

I guess some people would argue this is the case in western economies, that we "have no choice" due to powers at be, but I don't agree with this view. But it's conceivable that in some economies this is, or at least could be, the case.

filleokus··on European iPhones are more fun now
It's going to be interesting to see the state of things in a few years.

I'm admittedly in the less pro-regulation camp, but I'm not hopeful this is going to enable much meaningful innovation, rather I'm expecting enshittification via oligopoly.

Sure, there will probably be some apps that use new EU features / APIs to do something cool. Most likely Apple will add those in the "standard" API set. Similar to how jailbreakers and Android have paved the way for e.g third party keyboards or call blocking api's. Emulators are the first example of this.

We will go from the "apple monopoly" to probably an oligopoly, where companies with enough pull effect will start their own stores. To get more info about the users, "own" the relationship, skip (part of) the apple tax etc. Great, now I'll get the pleasure to create yet another account or jump through 47 hoops to cancel my subscription.

I'm also expecting this will sooner or later put the nail in the coffin of the last substantial non-chromium browser user base. "This page is best viewed in Chrome for iOS". Also really looking forward to when some German MDM company will figure out they can innovate some custom phone/messagings apps to improve the "security posture" of my employer.

filleokus··on JavaScript dates are about to be fixed
If the calendar application want to be really accurate in a couple of years it's probably best to ask the user for coordinates for the event. You never know if that spot in Florida will be part of America/New_York next year.

(Of course a tz identifier will be better than an integer offset, but I'm only half joking: https://en.wikipedia.org/wiki/Time_in_Indiana#tz_database)

filleokus··on Accident Forgiveness
Like everything else it's a tradeoff. If you are running _everything_ inside Kubernetes you can easily move away, but I think you're loosing much of the benefit of being in the $big_cloud to begin with. If you have the staffing to provide your own db's, block storages, caches, IAM, logging/monitoring, container registries etc in a reliable way "as a service", the jump to some much cheaper bare metal hosting is not that far.

For me the sweet spot is to have all compute in Kubernetes and stick to open source or "standard" (e.g S3) services for your auxiliary needs, but outsource it to the cloud provider. Fairly easy to move somewhere else, while still keeping the operational burden down.

But agree that having e.g all your databases in a proprietary solution from the cloud vendor seems sketchy.

filleokus··on Project Oak: Meaningful control of data in distributed systems
> Rust has huge advantages over Go in this area.

Could you name some advantages? I would agree Rust has huge advantages compared to C/C++, and Rust also has a much bigger presence in the "security space". But I would say that's more because of Rust's lack of GC, smaller footprint which works in embedded systems etc.

I guess you could say that Rust's type system being more expressive might eliminate certain classes of bugs, which have security implications. But "huge advantages"?

(Honestly I'm not flame baiting, I'm genuinely curious if my worldview is wrong)

filleokus··on Postgres.new: In-browser Postgres with an AI interface
> Please connect from a laptop or desktop to use postgres.new.

There's nothing wrong using Webkit / Safari on your laptop or desktop. There are dozens of us, DOZENS!

filleokus··on Critical vulnerabilities in 6 AWS services disclosed at Black Hat USA
One interesting snippet is:

> [...] the researchers note that their findings demonstrate the importance of treating potential identifiers, such as AWS account IDs, as secrets

Which seems to be pretty opposite to the prevailing opinion, at least in some circles. For example the comments here [0] about how to get the account ID for an arbitrary S3 bucket, where many said it was essentially a nothing burger, similar to IP's or emails.

Regardless of who is correct, I think it's a telling example of the "dangers" with identifiers that are kinda-public-kinda-private. I'm guessing at least part of the root cause of this bug are AWS engineer's not thinking about the fact that account ID's aren't fully private.

[0]: https://news.ycombinator.com/item?id=39512896

filleokus··on Tracking supermarket prices with Playwright
On the business side, what's your business model, how do you generate revenue? What's the longer term goals?

(Public data shows the company have a revenue of ≈400k USD and 6 employees https://www.allabolag.se/5590076351/matspar-i-sverige-ab)

filleokus··on Show HN: 1-FPS encrypted screen sharing for introverts
Apart from having a local binary / extension / some bookmark URI magic I don't think so.

A "lighter" /alternative to a local binary is to a have a local index.html and use SRI when linking to the remote scripts [0]. But seems clunky as well...

[0]: https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

filleokus··on Flux: Open-source text-to-image model with 12B parameters
> It's certainly not true that models are not copyrightable; databases have copyright protection if creativity was involved in creating them.

Are you talking about https://en.wikipedia.org/wiki/Database_right or plain old copyright?

I'm no IP lawyer, but I've always thought that copyright put "requirements" on the artefact (i.e the threshold of originality), not the process.

In my jurisdiction we have database rights, meaning that you get IP protections for the artefact based on the work put into the process. For example a database of distances between adress pairs or something is probably not copyrightable, but can be protected under database rights if enough work was done to compile the data.

EDIT: Saw in another place in thread speaking about the https://en.wikipedia.org/wiki/Sweat_of_the_brow doctrine, relates to Database rights. (Neither of which notably are not applicable in the U.S)

filleokus··on GitOpper: GitOps Without Kubernetes
What's really a True Scotsman? But I wouldn't really say so, no. I think [0] represent what I would consider a gitops pushed based approach, the way we did it differed in two main ways:

- (1) We didn't have any "environment repository". The manifest files were in the same repository as the application code

- (2) Perhaps more importantly: The manifest files did not _exactly_ represent what was deployed. We had a template-variable in the Deployment yaml file, where the Github action substituted the tag that had just been built. To see which version was deployed you either had to look in the cluster, or the Github Action logs.

[0]: https://www.gitops.tech/#push-based-deployments

filleokus··on GitOpper: GitOps Without Kubernetes
When I started out with Kubernetes Gitops hadn't really gained any momentum. We just used normal CI/CD pipeline tooling. For our own apps the pipeline simply built the docker image, pushed it, and then ran kubectl apply. No manual labour, no magic.

For third party stuff (like helm charts for ELK or whatever) it was the same but with helm cli/kubectl, without building the image.

I don't know why really, but gitops have never seemed that nice for me. It's perhaps kinda useful for third party stuff. But for your own applications, where you need to actually build the docker image and then either manually bump the tag or have some rube goldberg machinery committing to your repos, it just seems annoying.

Wanna see the state / source of truth? Use kubectl (or some other tool), we have this whole cluster just for keeping track of the state. Wanna see how/why/by who something was deployed? Look at the CI/CD tooling history.

filleokus··on Proposed rule would ban airlines from charging parents to sit with children
... or some standardised why to compare the total cost across carriers on a meta search engine (kinda what Google Flights allows you to do with luggage).
← PreviousPage 2 of 23Next →