getUserMedia() is deprecated on insecure origins. When?

4,117 views
Skip to first unread message

DevelopDaily

unread,
Aug 9, 2015, 11:22:47 PM8/9/15
to Chromium-discuss
This warning message has been out for a while:

"getUserMedia() is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS."

Any updates? How near in the future would it happen?

I think it is quite unnecessary to put the getUserMedia() into the deprecation list on insecure origins. The most compelling case of the function is the WebRTC, which has already got the end to end security. The signalling systems that the WebRTC use have their own security. The getUserMedia() from a secure origin won't offer any extra security. I believe it would even give you some false sense of security because the party who requests the getUserMedia() over the HTTPs may not be necessarily a good guy. Ultimately, the end to end trust must be established between the peers over the WebRTC. A secure origin of the app won't help there, will it?


PhistucK

unread,
Aug 10, 2015, 2:16:39 AM8/10/15
to c...@datacivilization.com, Chromium-discuss
A malicious script can take photographs of you and submit them anywhere, or identify you by your face, or record your actions.

I do not know when, though.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

DevelopDaily

unread,
Aug 10, 2015, 9:39:46 PM8/10/15
to Chromium-discuss
Just want you to know HTTPs/Certificates will not prevent malicious scripts from harming you. That is not what the HTTPs is designed for.

I think it is really important to know when it will be removed. 

PhistucK

unread,
Aug 11, 2015, 1:52:21 AM8/11/15
to c...@datacivilization.com, Chromium-discuss
While they will not prevent, it does provide some assurance regarding the identity of the website, or the third party scripts the website uses.
The site itself can be malicious, of course. But HTTP can be man in the middled easily, while HTTPS cannot (easily). You can go to your usually trusted website in HTTP and get a similarly looking website with malicious code instead. HTTPS better protects you from that.


PhistucK

On Tue, Aug 11, 2015 at 4:39 AM, DevelopDaily <c...@datacivilization.com> wrote:
Just want you to know HTTPs/Certificates will not prevent malicious scripts from harming you. That is not what the HTTPs is designed for.

I think it is really important to know when it will be removed. 

--

Aanand Vats

unread,
Dec 11, 2015, 7:17:56 AM12/11/15
to Chromium-discuss
Its already deprecated from 10th december 2015

PhistucK

unread,
Dec 11, 2015, 7:24:14 AM12/11/15
to kis...@ashmar.in, Chromium-discuss
It is not deprecated anymore - it is completely disabled.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.

kishore

unread,
Dec 11, 2015, 7:55:38 AM12/11/15
to phis...@gmail.com, Chromium-discuss
Yes I agree, if we run any script with get user media function in https enabled website then it's working fine



Sent from my Mi phone

Marc

unread,
Dec 15, 2015, 11:08:13 AM12/15/15
to Chromium-discuss, phis...@gmail.com
I confirm even with https getUserMedia() don't work anymore. 

Where can i find the best alternative code for Chrome ?

thanks in advance



Anton Vayvod

unread,
Dec 15, 2015, 11:23:05 AM12/15/15
to buat...@gmail.com, Chromium-discuss, PhistucK Productions, j...@chromium.org, jub...@chromium.org, blink-dev
See the blink-dev threads:

From my reading there's no workaround and the usage was considered too low to prevent the removal. The WebRTC team shared some concern but never got back with the specific examples of complaining customers.

Marc

unread,
Dec 15, 2015, 1:17:16 PM12/15/15
to Chromium-discuss, buat...@gmail.com, phis...@gmail.com, j...@chromium.org, jub...@chromium.org, blin...@chromium.org, ava...@chromium.org
thanks for your answer Anton

Joel Weinberger

unread,
Dec 15, 2015, 1:54:24 PM12/15/15
to Marc, Chromium-discuss, phis...@gmail.com, jub...@chromium.org, blin...@chromium.org, ava...@chromium.org
Marc, if you're expiencing getUserMedia() not working with a Secure Context, that's a bug, and we'd appreciate if you would file that at https://crbug.com. However, please do verify that it's a Secure Context, which doesn't strictly mean just HTTPS, that it's not working on.
--Joel
Reply all
Reply to author
Forward
0 new messages