Re: remote-viewer spice auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Original Message -----
> 
> 
> Current remote viewer only ask for a password when connecting to a spice
> session
> 
> which requires auth:
> 
> 
> 
> from virt-viewer-session-spice.c:
> 
> 
> 
> case SPICE_CHANNEL_ERROR_AUTH:
> 
> DEBUG_LOG("main channel: auth failure (wrong password?)");
> 
> int ret = virt_viewer_auth_collect_credentials(self->priv->main_window,
> 
> "SPICE",
> 
> NULL,
> 
> NULL, &password);
> 
> 
> 
> I want to make it possible to do authentication using username and password.
> 
> 
> 
> Would you accept a patch for that, or do you think above code is all we need?

We shouldn't ask username for the current auth methods.

I think you could add a SPICE_CHANNEL_ERROR_AUTH_USER_AND_PASS (and a property "username" on the session)

> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]