Re: Always get Invalid password while trying to connect to spice server

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

 



> 
> Hey,
> 
> On Wed, Dec 26, 2018 at 01:03:38PM +0100, Niccolò Belli wrote:
> > I just noticed that the problem looks limited to special characters.
> > For example if I set "Password" as password it works, while if I set
> > "Password%%" it doesn't. It's weird because both my server and my desktop
> > client use the same US English layout. It's even more weird because the
> > same
> > password used to work fine before.
> 
> I've been able to bisect this to
> https://git.qemu.org/?p=qemu.git;a=commit;h=8bca4613
> which is new in qemu 3.1.0
> For what it's worth, when you set 'Password%%', you'll be able to
> connect with 'Password%' (ie double % becomes single %).
> I've sent a patch fixing this to qemu-devel, but it does not appear yet
> in its archives.
> 
> Christophe
> 

I think this was the original problem with '%'.
However it seems that virt-manager has some issue quoting.
To check it, use a "problematic" HTML/XML characters (like any in "<>&'""), set
a password with one or more of these and check the xml file. Strings are double
quoted for instance setting "xxx&" you get "xxx&mp;amp;" instead of just
"xxx&amp;". As these "experiments" do not require Qemu/SPICE I expect to be
a bug in virt-manager or libvirt.

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




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