Bug 884419

Summary: [remote-viewer]remote-viewer should not prompt authentication when vnc uri contains password
Product: Red Hat Enterprise Linux 6 Reporter: zhe peng <zpeng>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.4CC: cfergeau, dblechte, dyasny
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-06 09:06:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description zhe peng 2012-12-06 08:07:36 UTC
Description of problem:
if vnc uri contains right password, when use remote-viewer to connect guest,should not open input password dialog,if the password wrong,then open it.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-16.el6.x86_64
libvirt-0.10.2-11.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1:prepare a vnc guest with password

2:check the vnc uri
#virsh domdisplay rhel6.4 --include-password
vnc://:redhat.0.1:1
3: use the uri to connect guest
#remote-viewer vnc://:redhat.0.1:5901

Actual results:
Authentication dialog pop up

Expected results:
the password is correctly, so should not pop up the dialog

Additional info:
spice worked well

Comment 2 Daniel Berrangé 2012-12-06 09:06:43 UTC
We explicitly refuse to support passwords in the URIs in virt-viewer - the fact that it works for SPICE is pure luck. This is very insecure and as a result we will not recommend or document its use.