Bug 884419 - [remote-viewer]remote-viewer should not prompt authentication when vnc uri contains password
Summary: [remote-viewer]remote-viewer should not prompt authentication when vnc uri co...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-06 08:07 UTC by zhe peng
Modified: 2012-12-06 09:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-06 09:06:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

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@127.0.0.1:1
3: use the uri to connect guest
#remote-viewer vnc://:redhat@127.0.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.


Note You need to log in before you can comment on or make changes to this bug.