frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Surveillance Is Not Safety: A statement on the UK's latest threat to privacy [pdf]

https://signal.org/blog/pdfs/2026-06-08-uk-surveillance-is-not-safety.pdf
233•g0xA52A2A•2h ago•51 comments

OpenAI Submits S-1 Draft to SEC

https://openai.com/index/openai-submits-confidential-s-1/
88•hackerBanana•1h ago•33 comments

Siri AI

https://www.apple.com/apple-intelligence/
295•0xedb•4h ago•219 comments

Apple reveals new AI architecture built around Google Gemini models

https://www.macrumors.com/2026/06/08/apple-reveals-new-ai-architecture/
278•unclefuzzy•3h ago•241 comments

MiMo-v2.5-Pro-UltraSpeed: 1T model with 1000 tokens per second

https://mimo.xiaomi.com/blog/mimo-tilert-1000tps
444•gainsurier•6h ago•305 comments

Show HN: Performative-UI – A react component library of design tropes

https://vorpus.github.io/performativeUI/
681•lizhang•8h ago•137 comments

Why are cells small?

https://burrito.bio/essays/what-limits-a-cells-size
85•mailyk•3h ago•37 comments

Apple Core AI Framework

https://developer.apple.com/documentation/coreai/
91•hmokiguess•3h ago•5 comments

EU-banned pesticides found in rice, tea and spices

https://www.foodwatch.org/en/eu-banned-pesticides-found-in-rice-tea-and-spices
177•john-titor•6h ago•65 comments

Anti-social: It's fads, not friends, which now dominate social media feeds

https://www.bbc.com/worklife/article/20260520-how-social-media-ceased-to-be-social
498•1vuio0pswjnm7•10h ago•373 comments

xAI is looking more like a datacentre REIT than a frontier lab

https://martinalderson.com/posts/xais-new-rental-business/
332•martinald•7h ago•250 comments

Show HN: Gitdot – a better GitHub. Open-source, anti-AI, and written in Rust

https://gitdot.io/
78•baepaul•5h ago•61 comments

FrontierCode

https://cognition.ai/blog/frontier-code
43•streamer45•1h ago•10 comments

Ask HN: What are tools you have made for yourself since the advent of AI?

87•aryamaan•4h ago•130 comments

Launch HN: Intuned (YC S22) – Build and run reliable browser automations as code

https://intunedhq.com
96•fkilaiwi•8h ago•44 comments

I'm building a parallel internet, and it's called The Thinnernet

https://inavoyage.blogspot.com/2026/06/im-building-parallel-internet-and-its.html
35•initramfs•2h ago•30 comments

Switzerland wil have a referendum to cap population at 10M

https://www.admin.ch/en/sustainability-initiative
182•napolux•3h ago•381 comments

Fooling Go's X.509 Certificate Verification

https://danielmangum.com/posts/fooling-go-x509-certificate-verification/
20•hasheddan•2d ago•10 comments

120k Lines of Rust: Inside the Nosdesk Backend

https://kyle.au/blog/nosdesk-backend-rust
27•kylephillipsau•2d ago•1 comments

AI is slowing down

https://www.wheresyoured.at/ai-is-slowing-down/
304•crescit_eundo•6h ago•344 comments

Stop the Apple Music app from launching

https://lowtechguys.com/musicdecoy/
535•bobbiechen•5h ago•211 comments

Doing Something That's Never Been Done Before

https://talglobus.com/p/doing-something-thats-never-been-done-before/
5•surprisetalk•3d ago•0 comments

OCaml Onboarding: Introduction to the Dune build system

https://ocamlpro.com/blog/2025_07_29_ocaml_onboarding_introduction_to_dune/
135•andrewstetsenko•4d ago•16 comments

Show HN: Courtside – TUI for NBA Games

https://github.com/NolanFogarty/courtside
9•nolanfogarty•2d ago•3 comments

Massachusetts bans sale of precise location data in new privacy rights bill

https://techcrunch.com/2026/06/08/massachusetts-votes-to-pass-new-privacy-rights-bill-that-bans-s...
203•01-_-•5h ago•32 comments

Using XDG-Compliant Config Files (2024)

https://wxwidgets.org/blog/2024/01/using-xdg-compliant-config-files/
27•ankitg12•4d ago•3 comments

The Cypherpunk Library

https://www.cypherpunkbooks.com
345•yu3zhou4•13h ago•94 comments

1worldflag: A blue dot on a transparent background

https://1worldflag.com/
151•davidbarker•20h ago•129 comments

How much of Thermo Fisher's antibody data has been manipulated?

https://reeserichardson.blog/2026/05/28/how-much-of-thermo-fishers-antibody-data-has-been-manipul...
380•mhrmsn•15h ago•83 comments

Apple WWDC 2026

https://www.apple.com/apple-events/event-stream/
223•nextstep•5h ago•422 comments
Open in hackernews

Fooling Go's X.509 Certificate Verification

https://danielmangum.com/posts/fooling-go-x509-certificate-verification/
20•hasheddan•2d ago

Comments

fsmv•2d ago
I don't think that's an ongoing debate looks to me that it ended in 2019 https://github.com/golang/go/issues/31440#issuecomment-53724...
pseudohadamard•1d ago
This is what happens when kids today are unaware of history. This was a known problem 30+ years ago, and the Go kids have just rediscovered it for themselves. The most extreme case of this madness was imagining you could re-encode certificates into a DER blob from their stored components and the signature would still validate, something that OER (from memory) guys are now trying to do.

The rules for DNs are "there is only one encoding rule and that is memcpy(); there is only one matching rule and that is memcmp()". Given that Go has fallen into the decades-old trap of trying to re-encode strings, it's bound to be vulnerable to any number of other issues like evading excludedSubtrees through string-encoding tricks.

ahmedtd•23h ago
From the article, it doesn't seem like Go is trying to re-encode strings? Go is saying (correctly, IMO) that a UTF8String field in the Issuer is not the same as a PrintableString field in the Subject.
pseudohadamard•22h ago
Ah, you're right, I was a bit confused by the bouncing back and forth between Go and OpenSSL and the title, "Fooling Go's X.509" when in fact on re-read Go appears to be doing the right thing and using a strict compare while OpenSSL uses the open-to-manipulation compare.
jchw•1h ago
Between this and the IPv6 zone identifier issue, it feels like there's a bit of a trend of commenters more or less assuming Go is doing the wrong thing when it's actually following the standards/best practices more correctly than average. I wonder where this reputation came from.
fragmede•4m ago
Most people accessing a site are likely not using Golang and are using Chrome. Thus Chrome is assumed right and Go is the one that's the outlier.
agwa•1h ago
The blog post provides a certificate chain that validates in OpenSSL but not in Go.

The reason it doesn't validate in Go is that the Subject field in the CA certificate uses a different string encoding than the Issuer field in the leaf certificate, so the fields are not byte-for-byte equal.

Go requires the Issuer and Subject to be byte-for-byte equal. This was permitted by older specs, but RFC 5280 changed the rules to require the use of RFC 4518 (LDAP stringprep) for comparing strings. This turned a simple memcmp into a complicated algorithm that requires implementing Unicode normalization, for virtually zero benefit. That's the last thing you want in your security-critical certificate verifier, so Go quite sensibly chose to follow the older specs in this regard. The CA/Browser Forum's Baseline Requirements also mandate byte-for-byte equality, so Go's behavior won't cause publicly-trusted certificates to be incorrectly rejected.

Note that LDAP stringprep is so complicated that OpenSSL doesn't even try to implement it properly and uses an approximation instead. So you would also be able to "fool" OpenSSL into rejecting certificate chains that RFC 5280 says are valid.

The blog post says that this is an "ongoing debate" in the Go project but I don't think that's accurate. I'd be shocked if they ever changed this behavior, given that crypto/x509 targets publicly-trusted certificates and the current behavior is so much simpler.

tptacek•28m ago
I feel like basically all the X509 threads on HN should basically be locked until after you write your first comment on them.
jiggawatts•24m ago
Something I noticed decades ago is that some small, innocuous features can drag with them giant ecosystems of software.

I first noticed this when I had to implement a C++ client for a custom RPC protocol and the dev “on the other end of the wire” added one new “convenience” in the data types supported… which would have required me to include the entire Java runtime in my client!

All protocol specs are vulnerable to this effect where it’s all too easy to require clients to include half a dozen different regex engines, three byte code virtual machines, and most of LLVM for good measure.

briansmith•1h ago
This is uninteresting. CAs are well aware that they have to encode the subject DN and issuer DN identically to maximize interoperability. There are several implementations that require that.

If we were to make a new version of the spec for X.509 certificates, I would hope that we would eliminate all the non-UTF8 encodings so that this would be a non-issue.