vnc password hash

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
Post Reply
ping_guin
Posts: 6
Joined: Fri Oct 13, 2017 4:48 pm

vnc password hash

Post by ping_guin »

How does the vnc password feature work?

we tried the following in the conf-file:
vnc_password = 12345

-> access is granted after typing in password "12345".

we tried it with the hash: 12345 = cc72aad3323582f495f9cce9c18dded0
vnc_password=hex:cc72aad3323582f495f9cce9c18dded0

-> authentication rejected after typing 12345 in the passord field.

how does it work for us?

thank's in advance!
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: vnc password hash

Post by aka »

Here is right hash for vnc password:
Untitled.png
Untitled.png (34.85 KiB) Viewed 6034 times
ping_guin
Posts: 6
Joined: Fri Oct 13, 2017 4:48 pm

Re: vnc password hash

Post by ping_guin »

Thanks a lot!

I guess there is a small problem with hashing some words. Some words given in the password field result in a short hash, and then, the vnc-server is not reachable.

Only password "Vrdgtudf" with hash "0686e570d24089f205e10b073cfefe62" is working, if I only change last letter to 9 ("Vrdgtud9"), the hash ("7515fc0ee9a70c827f3c") is more short and vnc doesn't work.

See:
Attachments
scr2.jpg
scr2.jpg (9.64 KiB) Viewed 6022 times
scr3.jpg
scr3.jpg (8.82 KiB) Viewed 6022 times
Scr.jpg
Scr.jpg (101.74 KiB) Viewed 6022 times
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: vnc password hash

Post by akatik »

That's a bug. We've just fixed it, will be in the next version. Thank you!
Post Reply