snap connect myapp:camera out-of-the-box

Gustavo Niemeyer gustavo at niemeyer.net
Tue Feb 21 16:23:37 UTC 2017


Actually, we do have a mechanism that enables the automatic connections in
those cases, and we can enable it in sensible cases, even for the camera.

The question we should ask here is this: what is the snap purpose?  Is it
clear from the snap name and description that this is using a camera?

If the answer yes, then I think it's fine to auto-connect.

In this particular case, the snap name is called "webcam-webui". IMO, it'd
be fine to auto-connect it.  Jamie?



On Tue, Feb 21, 2017 at 1:15 PM, Oliver Grawert <ogra at ubuntu.com> wrote:

> hi,
> Am Dienstag, den 21.02.2017, 11:03 -0500 schrieb Dev Dev:
> > Hi,
> >
> > Anyone can give me more information (ETA, how it will works) about
> > the
> > connection to camera. Right now, I need to ask my users who installed
> > myapp via the Software Center to open a terminal and run:
> > sudo snap connect myapp:camera
> >
> > It needs to be automagically connected.
>
> if that was the case, what would keep me from creating "myapp-so-much-
> more-shiny" that then quietly and constantly streams the camera pic to
> some website without the user knowing ? (and also since i used the
> myapp name in my snap your company might even get the blame for the
> spying as well as the bad press around it)
>
> the manual connection of some risky interfaces is exactly what keeps
> the users safe from bad stuff happening, we would not need interfaces
> if we connected all of them automatically.
>
> i agree that having a more interactive way is the way to go here ...
> i.e. if you install a gui app it should ask for the connection on first
> access (and only on first) ... or when installing from cmdline it might
> offer the connection at install time, but such potentially security
> critical interfaces should really not auto-connect.
>
> ciao
>         oli
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 

gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170221/b4b082c2/attachment.html>


More information about the Snapcraft mailing list