Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support VNC password authentication #10

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

dimara
Copy link

@dimara dimara commented Jun 17, 2015

This patch set adds support for authenticating against VNC servers that require different passwords.

The passwords will be included in a multi-line file which will be passed to vncauthproxy via the '--vnc-password-file' option.

dimara added 3 commits June 17, 2015 18:10
Until now we could proxy VNC servers only if no authentication
was required by the server (RFB_AUTHTYPE_NONE).

This patch adds an extra configuration option --vnc-password, the
value of which will be used as the password when RFB_AUTHTYPE_VNC
authentication is requested by the server.

Add missing CONTRIBUTORS file and adjust Copyright messages
accordingly.

Signed-off-by: Dimitris Aragiorgis <[email protected]>
For security reasons, the password should not show up in the command
line. We replace the '--vnc-password' option with the
'--vnc-password-file' option that expects a file path as its value.

This file should contain the password in plain text in the first
line. The remaining lines will be ignored.

Update the docs accordingly.

Signed-off-by: Dimitris Aragiorgis <[email protected]>
Add support for authenticating against VNC servers that require
different passwords.

The VNC password file should now include one password per line,
where lines starting with "#" are ignored.

If the server requests for password authentication, then the proxy
will try to connect using available passwords in the order found in
the password file.

If a server changes its password then this password should be added
in the VNC password file and vncauthproxy should be restarted.

This patch improves logging with regard to the VNC authentication
progress.

Signed-off-by: Dimitris Aragiorgis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant