HNHacker News
TopNewBestAskShowJobs

cpach

8,011 karma · joined May 27, 2008

Sono Rintracciabile.

Residing in Södermanland, Sweden.

Get in touch? E-mail: c (at) tunnel53 (dot) net

Website: https://www.tunnel53.net/

Interesting HN people to follow: ('tptacek 'cperciva 'tlb 'FiloSottile 'Animats 'DannyBee 'mcpherrinm 'phasmantistes 'pbsd 'patio11)

submissionscomments
cpach··on Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Program
I mean what you run is still machine code anyway, right?
cpach··on Estimates are difficult for developers and product owners
I’m afraid I don’t follow. Would you mind to elaborate a bit?
cpach··on Decreasing Certificate Lifetimes to 45 Days
I know that many feel strongly that the web’s trust system should somehow move into DNS.

I think the first questions to ponder are: What is it that is wrong with the current WebPKI? (As it is in 2025, not as it was in 1999.) What would actually become better if we tried to move all of this into DNS?

Ponder this: Why do we place the “trust handling” in the application layer? (HTTP with TLS.) Why not in the IP layer?

cpach··on Decreasing Certificate Lifetimes to 45 Days
These are two good articles regarding why DNSSEC is not a good alternative to the webPKI.

https://sockpuppet.org/blog/2015/01/15/against-dnssec/

https://sockpuppet.org/blog/2016/10/27/14-dns-nerds-dont-con...

cpach··on Ask HN: Anyone writing code from scratch or mostly doing architecting and LLM?
“is anyone really writing code from scratch”

Oh yeah, lots of people do. I have friends that hate AI and refuse to use it at all.

However, I guess it depends on what you mean with “from scratch”. In a corporate context, I would say most code-writing is fixing bugs or adding features to an existing project.

“Am I wasting time doing these exercises when they can easily be done with LLM within one or two shots?”

Depends on what your goal is. If you want to get better at programming, how would you get better if you don’t let your neurons form new pathways? However, perhaps you are more interested in the output and not in the process. But some day, you might need to debug your code, and then those pathways in your brain might come handy.

cpach··on Ghostty is now non-profit
Ah. Cool!
cpach··on Ghostty is now non-profit
A while ago I compiled Ghostty from HEAD, because it had a bug fix I cared for. It was a very stable and pleasant experience. No hassle whatsoever.
cpach··on The Power of Proximity to Coworkers [pdf]
Very interesting research!
cpach··on Decreasing Certificate Lifetimes to 45 Days
Very good question. On e.g. AWS one could probably do something like that with a custom Lambda…? Still, would be very convenient if there was some IAM rule for that.
cpach··on Decreasing Certificate Lifetimes to 45 Days
One key difference: A cert is a “pickled” thing, it’s stored and kept until it is successfully renewed. So if you attempt to renew at day 30 and LE is down, then you still have nearly more than two weeks to retrieve a new cert. Hopefully LE will get on their feet again within that time. Otherwise you have Google, ZeroSSL, etc where you can fetch a replacement cert.
cpach··on Decreasing Certificate Lifetimes to 45 Days
For those who want to solve the problem buy throwing money at it, one can probably buy a solution for this. I’m thinking of stuff like AWS IoT Core, I would guess there are other vendors in that space too.
cpach··on Decreasing Certificate Lifetimes to 45 Days
PS. Saw this insightful comment over on Lobsters:

“One quantitative benefit is that the maximum lifetime of certificates sets a bound on the size of certificate revocation lists. John Schanck has done heroic work on CRLite at Mozilla to compress CRLs, and the reduction from 398 days to 47 days further shrinks them by a factor of more than 8. For Let’s Encrypt the current limit is 90, so a more modest but still useful factor of 2.”

https://lobste.rs/s/r2bamx/decreasing_certificate_lifetimes_...

cpach··on Decreasing Certificate Lifetimes to 45 Days
If you forget a cert then you’re no worse off than the case where the automation fails during the vacation.

You could also run a simple program that checks each site and tells you the remaining lifetime of the cert used, to verify that you didn’t miss any cert.

It all depends on the scale of your operations, of course.

cpach··on Decreasing Certificate Lifetimes to 45 Days
“I really hope they don’t try to make it shorter than this. Because I really don’t want to worry about certificate expiry during a vacation.”

You might want to consider force-renewing all your certs a few days before your vacation. Then you can go away for over 40 days. (Unless something else breaks…)

cpach··on Decreasing Certificate Lifetimes to 45 Days
There are quite many solutions. For very funky systems, you can use a cert tied to a private CA. Then you can control the cert lifetimes. Or place them behind a reverse proxy that is easier to control.
cpach··on Decreasing Certificate Lifetimes to 45 Days
“Aside from all that, what happens if a hacker manages to wreck the let’s encrypt infra so badly they need 2 weeks to get it back online?”

There are other CAs that offer certs via ACME. For example, Google Trust Services.

cpach··on Decreasing Certificate Lifetimes to 45 Days
Google Trust Services https://pki.goog/
cpach··on Decreasing Certificate Lifetimes to 45 Days
The primary reason: Revocation doesn’t work for webscale (OCSP is now obsolete). So instead, shorter cert lifetimes.
cpach··on Decreasing Certificate Lifetimes to 45 Days
I hear ya. I’m also not fond of certbot and other existing clients.

The best solution I’ve found so far was to implement a custom cert manager using the formidable acmez library.

cpach··on Decreasing Certificate Lifetimes to 45 Days
Yep, being able to “redirect” the “challenge record” is very handy in some cases. Did a writeup here with some examples of how it can be arranged: https://hsm.tunnel53.net/article/dns-for-acme-challenges/
cpach··on Decreasing Certificate Lifetimes to 45 Days
Main discussion thread over here: https://news.ycombinator.com/item?id=46117126
cpach··on Tell HN: I'm posting this while in flight over Atlantic Ocean
I haven’t tried, but I’m guessing it would be much slower than HN.
cpach··on Can Management Be Outsourced?
Interesting question. If you would ask Deming I believe he would say “no”.
cpach··on Ask HN: What Are You Thankful For?
I am grateful for this: My kids have their health and they have friends and a school within walking distance. Both me and me wife are employed. We have enough to provide for our family. No bombs are falling over our heads. There are lots of other things to be grateful for, this I feel is the foundation.
cpach··on Ask HN: Where can you find old NetBSD packages?
Out of curiosity, why do you want this specific version? :)
cpach··on International Crypto Association elections botched by loss of key
More comments here: https://news.ycombinator.com/item?id=46020596
cpach··on Cryptographers Held an Election. They Can't Decrypt the Results
A few comments over here: https://news.ycombinator.com/item?id=46013307
cpach··on TCP, the workhorse of the internet
Are you referring to NAT?
cpach··on Ask HN: Effective way to deal with mosquitoes?
There’s actually a YC startup that tries to address this question: https://tornyol.com/
cpach··on XSLT RIP
This look with animations and bright text on dark repeated backgrounds was definitely popular for a while in the late 90s. You wouldn’t see it on larger sites like Yahoo or CNN, but it was definitely not unheard of for personal sites.

Gray backgrounds where also popular, with bright blue for unvisited links and purple for visited links. IIRC this was inspired by the default colors of Netscape Navigator 2.

← PreviousPage 5 of 34Next →