HNHacker News
TopNewBestAskShowJobs

cimnine

1,565 karma · joined April 29, 2013

[ my public key: https://keybase.io/cma; my proof: https://keybase.io/cma/sigs/71yzFnmaQp3ls5OM8dA7n9GMXlAn6XNT7tyQz7Bu7ks ]

reach me via mail-thesign-cimnine.ch

hnnotify.xyz: 74612c5f1f3e4220beb25e564f2390cb

submissionscomments
cimnine··on GitHub Actions needs OIDC audience constraints
Via https://lobste.rs/s/ipt1em/github_actions_needs_oidc_audienc...
cimnine··on Cold Start DNS
Takeaway from this:

If you operate your own DNS, choose an NS within the same TLD als the domain you resolve: `example.COM` -> `ns.example.COM`, `example.NET` -> `ns.example.NET`, `example.ORG` -> `ns.example.ORG`

It'd be great if a CDN like Cloudflare handed out matching NS records for their most popular TLDs. This would probably speed up DNS resolution time (a little).

So e.g. `*.ns.cloudflare.com` for COM, `*.ns.cloudflare.net` for NET, `*.ns.cloudflare.org` for ORG, etc.

At least for Cloudflare, I believe they have these domains (`cloudflare.TLD`) for most of the important TLDs anyway. And the actual resolvers could be the same servers/IPs, afaict. It's mostly _just_ the (glue) records.

(I know, nothing is _just_ done on a CDN scale. Like, they'd need to also add the logic for handing out the correct NS names for the respective TLDs, which NS.TLD to fall back on for TLDs that they don't operate their own NS in, how to handle this for their bring-your-own-* customers, etc.)

cimnine··on Ubisoft Delays Earnings and Requests Share Trading Halt
https://archive.is/5ShUf
cimnine··on JetKVM – Control any computer remotely
I'm thinking similarly, but not via PCIe, but via USB: There are plenty of USB->VGA and USB->HDMI adapters that contain a dumb graphics card. So, embedd one of these and grab the video signal internally.

Thereby, plugging in just a single USB cable would deliver the power needed, keyboard, video and mouse. And bonus for an emulated USB-Stick/DVD drive.

What I don't know if these USB video cards are initialized during early boot and usable during the UEFI/BIOS phase. Is that why they grab the HDMI?

cimnine··on Windows Subsystem for FreeBSD
The OS of PS4 and PS5 is apparently based on FreeBSD. Netflix uses FreeBSD for its CDN servers. pfSense and OPNsense are popular firewalls that are based on FreeBSD.

See also https://en.wikipedia.org/wiki/List_of_products_based_on_Free...

cimnine··on ForgeFed: ActivityPub-based forge federation protocol
Talk to https://www.codey.ch/.
cimnine··on How I configure my Git identities
I've written a short blogpost about how to link SSH Keys to Git identities: https://brainfood.xyz/post/20241030-use-a-specific-ssh-key-i...
cimnine··on IP.network: Check IP Address
I still prefer ifconfig.co, which is open-source (BSD-3), supports IPv6 as well and has a nice JSON response as well.
cimnine··on Show HN: From dotenv to dotenvx – better config management
I think it's good advice to not pass secrets through environment variables. Env vars leak a lot. Think php_info, Sentry, java vm dumps, etc. Also, env vars leak into sub-processes if you don't pay extra attention. Instead, read secrets from a vault or from a file-system from _inside_ your process. See also [1] (or [2] which discusses [1]). Dotnet does this pretty good with user secrets [3].

[1] https://blog.diogomonica.com/2017/03/27/why-you-shouldnt-use... [2] https://security.stackexchange.com/questions/197784/is-it-un... [3] https://learn.microsoft.com/en-us/aspnet/core/security/app-s...

cimnine··on You'll regret using natural keys
Nope.
cimnine··on You'll regret using natural keys
Yes, and I like to combine two established concepts instead of rolling my own: URI and UUIDv7. So my IDs become `uri:customer_shortname:product_or_project_name:entity_type:uuid`. An example ID could be `uri:cust:super_duper_erp:invoice:018fe87b-b1fc-7b6f-a09c-74b9ef7f4196`. It's even possible to cascade such IDs, for example: `uri:cust:super_duper_erp:invoice:018fe87b-b1fc-7b6f-a09c-74b9ef7f4196:line_item:018fe882-43b2-77bb-8050-a1139303bb65`.

It's immediately clear, when I see an ID in a log somewhere or when a customer sends me an ID to debug something, to which customer, system and entity such an ID belongs.

UUIDv7 is monotonic, so it's nice for the database. Those IDs are not as 'human-readable' for the average Joe, but for me as an engineer it's a bliss.

Often I also encode ID's I retrieve from external systems this way: `uri:3rd_party_vendor:system_name:entity_type:external_id` (e.g. `uri:ycombinator:hackernews:item:40580549:comment:40582365` might refer to this comment).

cimnine··on Google Maps is killing Timeline for Web
> And another one! I actually used this regularly on my PC to remember places I'd gone to on trips, or back in time.

Me too. High-noon to engage Google Takeout [1] – so that I at least have a copy of all that data.

Off-topic: TIL, that Google Takeout can do regular backups automatically for up to one year when you link it to some cloud storage account (GDrive, Dropbox, One Drive, Box).

[1] https://takeout.google.com

cimnine··on AdFlush
So, this begs the question when we'll see ML put in place to avoid AdBlocker detection. Or ads as we know them just disappear from the web and are replaced with other kinds of ML-enabled ads. I imagine deep-fake models used for interchangeable product placement in videos or pictures or so.
cimnine··on Radicle is an open source, peer-to-peer code collaboration stack built on Git
Thanks. I wasn't aware this was submitted recently already.
cimnine··on GitHub bans organizations without warning or explanation
Have a look at GitLab's plans then: https://docs.gitlab.com/ee/architecture/blueprints/activity_...

Edit: Better link

cimnine··on I quit my job to work full time on my open source project
I often hit CTRL-R to reload a services config. I press `CTRL+R`, enter `reload`, and continue to hit `CTRL+R` until the right service appears. Enter. Done. Usually way quicker, especially when switching between distros. As one calls it httpd and one apache, once it's systemd and once it's and init script, and so on.
cimnine··on Tell HN: Cloudflare Pages serves wrong content
After a re-deployment, our website's back in business. But that shouldn't happen.
cimnine··on Colorado ski town fielding dozens of automated 911 calls from iPhones
Devices should offer a quick way too disable the feature for a limited amount of time, so that people don't forget to turn it back on. Like it's possible with Do Not Disturb features. Perhaps that could be called Action Mode.
cimnine··on Ask HN: I have diagnosed ADHD and cannot work with Slack anymore – advice?
It's possible to disable that, see https://discussions.apple.com/thread/4995042
cimnine··on Tell HN: Domain fronting to be blocked on Azure
Good point. So there is more to it, which I didn't consider before. As I understand [1], the client uses the public key of the key pair used by the SNI to encrypt the SNI value, additionally to any TLS encryption. Only the actual SNI has the private key to decrypt the SNI value. The client must look up the public key in the DNS (I guess at least if it doesn't know the key already, which it could have in the cache).

This whole thing is still a draft RFC [2] and currently called encrypted client hello.

What I don't get: The client will have to disclose, which public key it used to encrypt the client hello / SNI value. But don't we know "all" the public keys from the certificate transparency logs? Usually a public key is only valid for a limited set of domains, so it would be easy to associate the public key used for encrypting the SNI value with the relevant service. Just look up the public key, read it's SAN or CN, and you pretty much know the SNI value. Or at least the service, which might be good enough. What am I missing?

[1] https://blog.cloudflare.com/encrypted-sni [2] https://www.ietf.org/archive/id/draft-ietf-tls-esni-15.html

cimnine··on Tell HN: Domain fronting to be blocked on Azure
As I understand, the public key that is used for authenticity is not the same as the one being used for encryption — at least since TLS 1.3, before it depends. The scheme is known as forward secrecy. For the encryption, an ephemeral key pair is used on both sides. These pairs are only used for the Diffie-Helman (or similar) key exchange. Therefore an encrypted connection can be established, then SNI can be exchanged over the encrypted connection, and then the remote can provide the signed nonce together with it's PKI public key, with which it establishes trust respective to the SNI.
cimnine··on EasyList is in trouble and so are many ad blockers
Several opensource projects, especially Linux distributions, have solved this problem long ago by setting up a web of volunteer mirrors. They docs and scripts to quickly set up an additional mirror.

The central HTTP server of easylist could then hand out 302s to fetch the actual file from one of the mirrors. Alternatively to 302s, a modern scriptable DNS server, that uses the mirror list, responds with different IPs, round-robin (or even better if it's geo-aware).

DNS TXT records could maybe be used to serve a digest of the file, do that mirrors can't modify it without that being detected.

cimnine··on Signal TLS Proxy
I wonder why they use nginx, and not Caddy or similar. Some service, which would handle all the certificate stuff natively, without having to deal with an extra script for certificates and without having to ensure that certbot runs from time to time.
cimnine··on Tell HN: After 10 years of experiments, custom username emails receive no spam
Afaik 1password together with Fastmail, see https://1password.com/fastmail/ or https://www.fastmail.com/1password/, respectively.
cimnine··on New EU rules on car speed limiters coming into force
Did anybody else notice that the link to this article about speed limiters is to a site called breaking news?
cimnine··on Mystery GPS Tracker on a Supporter’s Car
Why wouldn't they hire a person that is a professional electronic forensics expert to look into such a device? (Yes, cost, most probably.) I say this as «not connecting ground» sounds like a rooky mistake. Using their procedure – i.e. by what looks to me like amateurishly poking around the device – they would have destroyed anything that could be brought forth as evidence in a court.
cimnine··on Google Maps now requires WiFi scanning to use navigation
I love OSMAnd too and used it in places where Google Maps was subpar, e.g. in India or places in the middle east. But also all over Europe when roaming data was still expensive and recently when I crossed Canada east to west by car. The benefit of the map data coming from the open street map community paid off massively where there was little commercial interest for Google to map the area in detail.

I also love that you can edit and add POIs to OSM right from within OSMAnd.

On a side note: If you like to improve details of OSM, have a look at Street Complete, a gameified app to add details of your area to OSM. One of the tasks is to check/provide opening hours of nearby facilities.

cimnine··on The Matrix Is Unreal
Also https://www.youtube.com/watch?v=nRLNpQfRb1c
cimnine··on It appears that private keys for generating EU Covid Certificates have leaked
I wonder why the private keys of these signing-certificates don't live exclusisvely in HSMs.

At least if they do, then the range of suspects should be pretty narrow.

cimnine··on Google found guilty of infringing Sonos patents
Thanks.

Here are direct links for the curious:

- https://patents.google.com/patent/US8588949B2

- https://patents.google.com/patent/US9195258B2

- https://patents.google.com/patent/US9219959B2

- https://patents.google.com/patent/US10209953B2

- https://patents.google.com/patent/US10439896B2

(Edit: Formatting)

Page 1 of 3Next →