News for hackers. Stuff that matters.
Re:Barcode Detection API by arjvik on Wednesday March 09, 2022 @08:24PM (#30622175)
Internal domains, where getting a certificate to client devices is painful
Re:Barcode Detection API by jonhohle on Wednesday March 09, 2022 @08:35PM (#30622259)
I've had the same issue, but mostly for home lab type stuff. Even if you set up an internal CA and all the trappings, you still have a root cert problem. For consumer devices without easy access to certificate stores, it gets complicated fast.

Maybe the state of the art has changed since the last time I looked, but it would be really nice to have something as easy as Lets Encrypt for private tools while at the same time not exposing internal network details.

Re:Barcode Detection API by cloudwizard on Thursday March 10, 2022 @10:41AM (#30628122)
It works in secure contexts. internal domains with .localhost name are considered secure.

https://developer.mozilla.org/en-US/docs/Web/Security/Secure... Locally-delivered resources such as those with http://127.0.0.1 URLs, http://localhost and http://*.localhost URLs (e.g. http://dev.whatever.localhost/), and file:// URLs are also considered to have been delivered securely.

Re:Barcode Detection API by xg15 on Thursday March 10, 2022 @03:04PM (#30631730)
Yes, because they are hardwired to point to your own machine. You cannot use those to deploy an internal webapp.
Re:Barcode Detection API by hhh on Wednesday March 09, 2022 @10:49PM (#30623032)
External wildcard cert? Maybe it’s different in smaller shops, but it’s just as easy for me to get an internal cert as it is to get an external cert. Only annoying part about our shop is a hard req fit EV certs, so no ACME.
Re:Barcode Detection API by pests on Wednesday March 09, 2022 @08:34PM (#30622257)
You can use a public CA like LetsEncrypt then. Exposes you to the certificate log but you should be secured already anyways. Just have to use the DNS challenge (unless you wanna poke a hole for certbot) to grab it
Re:Barcode Detection API by tedunangst on Wednesday March 09, 2022 @10:56PM (#30623064)
And people wonder why ioshit devices are all so cloud dependent. I just want my microwave to talk to my refrigerator (or whatever). But they have to use https, because. And the cert has to expire every 90 days, because. So now I provision a kitchen full of stuff with AWS creds so they can respond to DNS challenges to get those certs.

So much simpler for everything to revert to client only mode and route all messages through a server 3000 miles away. Until they pull the plug and nothing works at all.

Re:Barcode Detection API by eternityforest on Wednesday March 09, 2022 @11:44PM (#30623303)
This is why I hate privacy first thinking. The IoT is a big deal. I own basically nothing that has electricity that wouldn't be slightly to majorly improved, at low cost, by IoT.

So... lets... make the tech that powers it not suck, so we can stop with all this analog business.

Re:Barcode Detection API by schwartzworld on Thursday March 10, 2022 @08:50AM (#30626843)
Why would you ever want your microwave to talk to your fridge? Imo the real reason IOT is such a shit show is because it's being crammed into every device without any actual benefit to the end user.
Re:Barcode Detection API by makeitdouble on Wednesday March 09, 2022 @09:08PM (#30622463)
Looking at guides for LetsEncrypt on internal IPs/domains, it seems to be as painful as creating and managing your own CA: https://geontech.com/using-letsencrypt-ssl-internally/
Re:Barcode Detection API by jupp0r on Thursday March 10, 2022 @02:09AM (#30623943)
DNS challenge is easy to pass and automate if you can programmatically add txt records to your DNS zone. Every major cloud provider supports this with command line tools, so it's a matter of moving the DNS zone there and writing a shell script and a cron item in the worst case.
Re:Barcode Detection API by pests on Thursday March 10, 2022 @09:18AM (#30627140)
Exactly.

The steps for an intranet or regular domain is exactly the same if you use the DNS challenge as the web server is no longer involved regardless.

Re:Barcode Detection API by pests on Sunday March 13, 2022 @06:24PM (#30666347)
I had a chance to skim through the link you posted - they are doing the http challenge verification (in step 6) for some reason which involves forwarding their domain into their internal network.

The DNS methods we already mentioned does not involve any of that - just a simple zone file change or a few clicks in a web UI to add a new record.

Re:Barcode Detection API by ivoc on Thursday March 10, 2022 @07:43AM (#30626253)
Can someone productize this as a service please ?
Re:Barcode Detection API by jupp0r on Thursday March 10, 2022 @10:25AM (#30627921)