Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Added VNC standard DES authentication #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcclymont
Copy link

I'm working with Xen servers that have VNC authentication, found myself writing this to get my custom packer plugin working.

So far I have tested this against Xen, and RealVNC

A reference to explain the "non-RFC-documented" behaviour of VNC authentication:
http://bytecrafter.blogspot.com.au/2010/09/des-encryption-as-used-in-vnc.html

@kward
Copy link
Contributor

kward commented May 2, 2015

Would love to see this merged.

@mcclymont
Copy link
Author

I believe all the comments of @vtolstov have been addressed. Let me know if it's preferred to squash my commits together

@kward
Copy link
Contributor

kward commented May 3, 2015

FYI, I've added a pull request for mcclymont/go-vnc that adds an additional unit test for the VNC Authentication. (mcclymont#1)

@mcclymont
Copy link
Author

I rebased onto master, squashing the 2 commits together, and force pushed. I didn't realise that @vtolstov and I had made comments directly on the commits rather than on the PR - they are no longer visible.

@kward, I'm finding the concept of a PR on a PR difficult, since I can't tell what the repo owner @mitchellh would prefer in terms of functionality and style. I'm also not convinced of the utility of the integration test with a literal hex code challenge and response. Therefore I would prefer to keep my PR simpler, how it is now.

@kward
Copy link
Contributor

kward commented May 5, 2015

The unit test demonstrates that the bit rotation code works properly with
various length passwords, which also proves that the 0 padding is working.
The point is that these are challenge/response values that properly worked
against a real server. If the code were to be changed (e.g. removing the
bit rotation code because it isn't trusted), the code would break.

On Mon, May 4, 2015 at 2:06 PM, Chris McClymont [email protected]
wrote:

I rebased onto master, squashing the 2 commits together, and force pushed.
I didn't realise that @vtolstov https://github.com/vtolstov and I had
made comments directly on the commits rather than on the PR - they are no
longer visible.

@kward https://github.com/kward, I'm finding the concept of a PR on a
PR difficult, since I can't tell what the repo owner @mitchellh
https://github.com/mitchellh would prefer in terms of functionality and
style. I'm also not convinced of the utility of the integration test with a
literal hex code challenge and response. Therefore I would prefer to keep
my PR simpler, how it is now.


Reply to this email directly or view it on GitHub
#7 (comment).

Kate Ward [email protected]

@vtolstov
Copy link
Contributor

vtolstov commented May 6, 2015

nice, @mitchellh please merge..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants