Live data from Hacker News

Camera and microphone require HTTPS in Firefox 68

blog.mozilla.org

211–215 of 215 posts

Re: Camera and microphone require HTTPS in Firefox 68

#211
post #156

Earlier quoted context omitted.

I'm not familiar with this exact setup, but I am assuming you have full control over the router software, but want to limit any installation or configuration of either the browser's computer or the local network fileservers. > Subnet IPs are always different tho. Can I really get a cert for all subnet addresses? SSL certs don't usually have anything to do with the IP address, that is usually handled by the hosts file…

Correct. Probably can even configure local network file servers, but better if not. If we don't ever need to use domains in the mesh (we have a separate directory / search system). Wait, I only have to have the certs locally (offline) on the routers? Ahh, hmm, cause you're saying I could MITM it. But Browsers (especially on mobile) all usually freak out when they go to ` https://subnetIPaddress` saying "your connecti…

> Or you're saying, router still MITM that, but happens to have matching private key, so then it is able to locally (offline) proxy the traffic into the mesh?

The router needs both the private key and a signed cert recent cert. Neither machine needs access to to the internet to validate the cert. The client uses it's preinstalled root certificate public keys to see if any of them signed the certificate provided by the server (any intermediate certs are also provided by the server).

The only online requirement is to have the clients recieve SOME non-local ip address in response to their initial DNS query for the domain (the specific IP address doesn't necissarily matter since the router will be intercepting the request before it is routed using that IP address)

You can get longer multi-year certs, but Let's Encrypt doesn't charge and allows you to script the automatic regeneration of new certs.

Re: Camera and microphone require HTTPS in Firefox 68

#212

Earlier quoted context omitted.

for easy bypass this guard - ( for rapid development / testing ) - and dont have a localhost environment ths helped me (with the 68.0 win edition): about:config set the media.getusermedia.insecure.enabled from false to true

Good to know! I'm leaving it alone on my main FF installation, but I've set that in Developer Edition.

on the developer-edition 69.0b3 it didn´t work - may there are some more flags needed. But on the normal edition 68.0 it worked / it is actually working.

Re: Camera and microphone require HTTPS in Firefox 68

#213
post #170

In general, I'm NOT happy with how camera/microphone, GPS and sensors like Gyro/accel/magnetometers and beacons (radio/wifi/bluetooth/nfc), screen size/resolution, battery level, hardware port identifiers etc are accessed by any website or app on my laptop/phone. This developed over the years without any input or choice from the end-user. The device manufacturers, platform owners (Apple, Google, Microsoft, Mozilla) a…

There's no problem with having the capability in a web app. It's only a problem if those capabilities are not consented to b the user first.

I disagree. Having things like this rolled into the browser means it's one security vulnerability or corporate decsion away from hurting someone.

Re: Camera and microphone require HTTPS in Firefox 68

#214

Earlier quoted context omitted.

Wihtout using any third party service, you could use an SSH tunnel, with autossh for automatic reconnections. autossh -L 2080:localhost:80 192.198.1.14 And then, you'll be able to visit your dev website on http://localhost:2080 Firefox will believe that your service is local, and will allow the activation of the camera and the microphone even though you do not use https.

Browsers have weird behaviors on localhost, such as allowing webcam and microphone on HTTP and iirc, permit cross-origin resource access which is blocked on less trusted domains.

> and iirc, permit cross-origin resource access

Firefox does not do that.

Safari has some behaviors along those lines last I checked.

I can't recall for Chrome whether it does or not.

Re: Camera and microphone require HTTPS in Firefox 68

#215
post #6

Dear Apple: for Christmas I'd like physical, no-bullshit power shutoff switches for your camera and microphone on the Macbook Pro. Other devices too—if you can manage it, that'd be great. Sincerely, the people who put tape over their cameras, the people who don't because it's ugly and messes with closing the lid but wish they could, and the people who would be in one of those two camps if they understood the risk (so…

You can find "slim" webcam privacy covers on Amazon. Since they can slide it they're a better solution than tape.
Post reply on HN