Readit News logoReadit News
m_sahaf commented on Enable CORS for Your Blog   blogsareback.com/guides/e... · Posted by u/cdrnsf
travisvn · 13 days ago
Hey folks, I'm the developer working on Blogs Are Back. WakaTime has me clocked in at over 900 hours on this project so far...

If CORS weren't an issue, it could've been done in 1/10th of that time. But if that were the case, there would've already been tons of web-based RSS readers available.

Anyway, the goal of this project is to help foster interest in indie blogs and help a bit with discovery. Feel free to submit your blog if you'd like!

If anyone has any questions, I'd be happy to answer them.

m_sahaf · 13 days ago
How can someone add platforms to the guide? I want to add Caddy
m_sahaf commented on SSL Configuration Generator   ssl-config.mozilla.org/... · Posted by u/smartmic
accrual · 4 months ago
Why are we still using the term "SSL" anywhere? It feels immediately like someone forgot the last 10 years of tech.
m_sahaf · 4 months ago
ElGamal says he uses them interchangeably. He says TLS exists for historical reasons, but the essence of the technology is the same. I got into the habit of using SSL/TLS.
m_sahaf commented on Postman which I thought worked locally on my computer, is down   status.postman.com... · Posted by u/helloguillecl
pjmlp · 5 months ago
We went with a mix of curl, Invoke-WebRequest, favourite scripting language, HTTP files, IDE tooling, Insomina, after Postman went cloud online and became a forbidden tool on our systems.

Also I am not counting that Insomina won't follow the same footsteps as Postman.

m_sahaf · 5 months ago
Allow me to introduce you to Hurl: https://hurl.dev/
m_sahaf commented on Next Steps for the Caddy Project Maintainership   caddy.community/t/next-st... · Posted by u/francislavoie
JimDabell · 5 months ago
> I can't change your belief, nor do I care to

You keep saying that, but you did change my belief! My opinion is not immutable, I listen to what people say, and that is the reason we have ended up here. Because I listened to you and you convinced me to change my mind about Caddy.

> Show me an actual security threat relating to this and I will address it. But this problem as stated is not one.

“This problem” that I’m concerned with is your attitude not the FQDN bug, and I already gave the Signal example. When you start perceiving people reporting bugs as attacks and grudges, it makes it dangerously easy to dismiss real problems.

If that person found another problem with Caddy, I think they are less likely to report it to you because of this. If they did report it, I would think you are very likely to dismiss it because of who they are, not the contents of the bug report. This is a serious problem for my trust in Caddy.

m_sahaf · 5 months ago
> If that person found another problem with Caddy, I think they are less likely to report it to you because of this.

Given they're aware of previous discussion and the stance on the feature request, I don't think they're deterred by the discussion here. Your addition of fuel to fire here is the very thing that's not helping.

> If they did report it, I would think you are very likely to dismiss it because of who they are, not the contents of the bug report.

That's a huge assumption on your behalf.

m_sahaf commented on Next Steps for the Caddy Project Maintainership   caddy.community/t/next-st... · Posted by u/francislavoie
JimDabell · 5 months ago
> a person expressing exasperation

They accused them of a grudge, an attack, slander, and shoving it in their face. For something as mild as this:

> There still remains this simple to reproduce bug where the page doesn't load of you use the full domain name of a site.

That’s a long way beyond exasperation, that’s a massive overreaction.

m_sahaf · 5 months ago
It's a repeat complaint from the same person who admits bringing it up before. The way they framed their complaint is, again, snide.

> That’s a long way beyond exasperation, that’s a massive overreaction.

Your reaction to Francis is _the_ overreaction. Francis simply said to OP to put their money where their mouth is. The "slander" comment comes later as a general statement on why this subject has become annoying.

Stop being hung up on Francis' response. The niche feature was discussed at length multiple times. You're welcome to search the web for all the conversations we had on the subject. Caddy has been around for 11 years. We've seen this subject more than you've seen it brought up. Again, OP referenced the discussion on the issue tracker in one of the earlier times they brought it up. They _admit_ it's niche. What's the point of continuously bringing it up?

m_sahaf commented on Next Steps for the Caddy Project Maintainership   caddy.community/t/next-st... · Posted by u/francislavoie
JimDabell · 5 months ago
> being asked to repeat ourselves again is insulting to us.

> we'd just like for it to stop being shoved in our face.

This is the comment you are referring to:

> There still remains this simple to reproduce bug where the page doesn't load of you use the full domain name of a site.

They aren’t asking you to repeat yourself. They aren’t shoving it in your face. This is an open discussion thread with many participants. They weren’t talking to you directly. This is information anybody here can find interesting and relevant. I did.

> I really don't think it's fair for you to make a judgement on me or the project from an interaction like this. At least judge the project on its technical merits.

How you are reacting to this is far more important to me than the original bug.

Remember when 37signals suffered data loss because they were using GET requests to delete things? When people pointed out they had a bug, they were offended and blamed GWA. What happened next? The same thing happened all over again, users suffered more data loss.

Or how about when Naomi Wu reported a problem with Signal, where the common use case of third-party keyboards for Chinese people was rendering all of their security worthless? They dismissed that as somebody with a grudge and ignored her for a year. What happened next? People found out that Chinese keyboards were compromised; she was 100% right, and Signal users were in danger.

I’ve seen what happens when people have this attitude towards inconvenient people reporting inconvenient bugs. It’s a danger to users, and you are making Caddy seem dangerous with this attitude. I was a happy user of Caddy right up until this thread, and even halfway down this thread – even after reading the mention of the bug – but your reaction has flipped that to the opposite because I can’t trust that there aren’t more bugs you are handling this way.

m_sahaf · 5 months ago
This is being blown out of proportion. You're discounting an entire project and your experience of the software over a person expressing exasperation over an inconsequential feature (not a bug) that even the author of curl had his run through and frustration. The request was not dismissed, rather it was discussed at length on our issue tracker. The OP knows it was discussed at length because they linked to the discussion thread in the earlier times they brought this up. Moreover, the way they presented it this time is snide, agree or not. To quote Matt's statement of the project being "stable and mature" just to say "except you didn't implement my niche feature" (yes, editorialized) is not criticism nor a feature request. It's veiled instigation hiding behind plausible deniability.

Anyways, on the feature request, Caddy is not the only software who disagrees with it being valid, and curl had their back-and-forth on it. There's no legitimate bug being dismissed, and you can go through the issue tracker to audit it. Equating this discussion with 37signals or Signal is false equivalence.

Disclaimer: Caddy maintainer

m_sahaf commented on Abogen – Generate audiobooks from EPUBs, PDFs and text   github.com/denizsafak/abo... · Posted by u/mzehrer
m_sahaf · 7 months ago
I imagine a pipeline between Calibre-Web[0] and audiobookshelf[1] going through Abogen, where Calibre-Web supplies the books, Abogen generates the audio version of it, and Audiobookshelf serves them. Great solution for the hearing impaired.

[0] https://github.com/janeczku/calibre-web

[1] https://github.com/advplyr/audiobookshelf

m_sahaf commented on Ask HN: What Are You Working On? (June 2025)    · Posted by u/david927
m_sahaf · 8 months ago
I'm not actively working on it daily, as I have shortage of free time and helping hands, but the HTTP Spec Test Suite is my Moby-Dick. I wrote about it here: https://www.caffeinatedwonders.com/2024/12/18/towards-valida..., I also discussed it on the HTTP WG mailing list and presented it at the HTTP WG Workshop last year.

Another Moby-Dick of mine is Kadessh, the SSH server plugin of Caddy, formerly known as caddy-ssh. This one is an itch. I wrote about it here https://www.caffeinatedwonders.com/2022/03/28/new-ssh-server..., and the repo is here: https://github.com/kadeessh/kadeessh. Similar to the other one, feedback and helping hands are sorely needed.

They are both sort of an obsession and itches of mine, but between dayjob and school, I barely have a chance to have the clear mind to give them the attention they require.

m_sahaf commented on "I vibe coded and shipped an app in three days. It got hacked. Twice."   threadreaderapp.com/threa... · Posted by u/jasoncartwright
SOLAR_FIELDS · 9 months ago
Honestly the problem is more that Supabase, in the interest of making it easier to onboard to their product, leaves several important Postgres security features in a suboptimal configuration by default in their product. In particular the settings around how auth and RLS are configured are not optimized for security, but rather to remove roadblocks that devs might encounter the first time they set up the project.

One particular example of this is that anonymous access, as hinted in the article, is turned on by default and it’s not straightforward to just disable it, it requires some in depth knowledge around how the Postgres security model works to do it correctly.

m_sahaf · 9 months ago
That isn't true representative of Supabase. Tables respect RLS by default, unless turned off. This is how Supabase works. Views are not, and that is due to multiple reasons which Supabase documents. Supabase also warns the user of this and asks them to configure RLS properly for views by first changing the invoker. They also report the same issue to the user on their Security Advisor. The fix is as easy as running the SQL statement in the SQL Editor. Supabase also offers "Autofix" next to the warning, which tells the user exactly how to modify the CREATE VIEW statement to enable RLS.

This is not a problem with Supabase.

m_sahaf commented on Ssl.com: DCV bypass and issue fake certificates for any MX hostname   bugzilla.mozilla.org/show... · Posted by u/xPaw
btown · a year ago
Public service announcement: CAA records exist and allow you to whitelist the CAs you trust to issue certificates for your domain.

https://letsencrypt.org/docs/caa/

You can use https://www.entrust.com/resources/tools/caa-lookup (or e.g. `dig caa paypal.com`) to see if any domain is protected.

https://isc.sans.edu/diary/26738 is a cautionary study from 2020 indicating only 3% of the Alexa top 1M had CAA records. And just now, I've seen numerous news and government sites that do not have CAA enabled... making them vulnerable to issuance bugs like this on CAs they may never have heard of, and thus making their readership/constituencies vulnerable to misinformation and fraud, especially in the context of a potential multifaceted attack against router infrastructure to perform MITM attacks at scale.

Of course, you'll want to make sure you don't accidentally disavow an important subdomain where an engineer used a different CA than your usual suspects. But looking at all historic issuers for your domain hierarchies on transparency logs using e.g. https://crt.sh/ might be a good place to start.

It's also good to monitor certificate transparency logs, but then the onus is on your security team to react if an incident occurs. Proactive controls are vital as well, and IMHO CAA avoids many of the downsides of pinning.

m_sahaf · a year ago
I always wonder who/what checks if CAs respect CAA. I know some browsers now check the certificate transparency log, but are there any that check the CAA record against the issuer of the certificate?

u/m_sahaf

KarmaCake day798September 25, 2015View Original