Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-11-18 Thread i iordanov
Hi Christophe, On Mon, Sep 16, 2013 at 8:23 AM, Christophe Fergeau wrote: > I've been looking into this today, and ended up adding a ssl-ca-file > property to RestProxy (which OvirtProxy inherits from). This is needed > in order to be able to use custom CA certificates for the REST https > commun

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-16 Thread i iordanov
Hi Christophe, On Mon, Sep 16, 2013 at 8:23 AM, Christophe Fergeau wrote: > I've been looking into this today, and ended up adding a ssl-ca-file > property to RestProxy This is for the oVirt (non-spice-related) SSL encryption, right? This makes sense, and it will allow people with self-signed ce

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-16 Thread Christophe Fergeau
Hey, On Fri, Sep 13, 2013 at 12:53:51PM -0400, i iordanov wrote: > I hope this is not too much to ask, but would it be possible for OvirtProxy > to have a ca-cert-file property as well as a ca-cert property? This way, > supporting the spice-ca-file option as well as the existing aSPICE > functiona

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-16 Thread Christophe Fergeau
Hey Iordan, On Sun, Sep 15, 2013 at 02:13:05PM -0400, i iordanov wrote: > Hi Christophe, > > I've tested the function and made one small change (bytes had to be > unref-ed before ca_file). This works for my purposes and solves my > issue of not being able to download the file using glib network I

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-15 Thread i iordanov
Hi Christophe, I've tested the function and made one small change (bytes had to be unref-ed before ca_file). This works for my purposes and solves my issue of not being able to download the file using glib network I/O. Would you be willing to include it in govirt? Notice that it automatically uses

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-13 Thread i iordanov
Hi Christophe, If adding a ca-file property to OvirtProxy is not acceptable, would you consider adding (something like) the following function to ovirt-proxy.c? Please note that this is a preliminary variant that I haven't tested much, and may not have enough error checking! void ovirt_proxy_loa

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-13 Thread i iordanov
Hi Christophe, I hope this is not too much to ask, but would it be possible for OvirtProxy to have a ca-cert-file property as well as a ca-cert property? This way, supporting the spice-ca-file option as well as the existing aSPICE functionality will be much easier. Thanks! iordan On Fri, Sep 13

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-13 Thread i iordanov
Hi Christophe, I read through some govirt code, and I think you're right that gvfs is only used during the fetching of the certificate. If that's the case, I will start by not fetching the CA automatically, but requiring for users to provide it to aSPICE the same way as they have to provide it for

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-12 Thread i iordanov
Hi Christophe, It is currently very hard, bordering on impossible to build gvfs for Android, because it ends up depending on GTK. The sequence of dependencies is: glib network I/O -> gvfs -> libsoup-gnome -> gnome-keyring -> gcr-3 -> gcr-ui-3 -> GTK The glib guys are arguing that this is not a b

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-12 Thread Christophe Fergeau
Hey Iordan, On Thu, Sep 12, 2013 at 01:11:45PM -0400, i iordanov wrote: > Hi Christophe, > > It is currently very hard, bordering on impossible to build gvfs for > Android, because it ends up depending on GTK. The sequence of > dependencies is: > > glib network I/O -> gvfs -> libsoup-gnome -> gn

Re: [Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-09 Thread Christophe Fergeau
Hey Iordan, On Mon, Sep 09, 2013 at 03:08:58PM -0400, i iordanov wrote: > I've been looking at adding oVirt support to aSPICE, and at the moment I'm > completely stuck because of some glib functionality not working on Android. > The library govirt uses glib's convenient support for network file I/

[Spice-devel] oVirt support in aSPICE stalled due to broken network file I/O

2013-09-09 Thread i iordanov
Hey guys, I've been looking at adding oVirt support to aSPICE, and at the moment I'm completely stuck because of some glib functionality not working on Android. The library govirt uses glib's convenient support for network file I/O (for fetching certificates, VMs, etc.), but because of gio's relia