Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Password encryption algorithm

Post Reply
ronan
8
8
Posts: 21
Joined: 2004-09-29 06:57
Location: France

Password encryption algorithm

Post by ronan »

What is the algorithm used for encrypting the password in the registry ?

I am thinking over a way to setup UltraVNC with a specific password, eventually chosen by the user during install. Any hint is welcome.

Regards,

Ronan

P.S. : I know the answer is in the code, but I am not a C++ guru (yet). Any hint is welcome.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Create a passwd local
export the specific key from the registry
during installation import the key back...add it ot
the default regs file

export and inport registry, no c needed
ronan
8
8
Posts: 21
Joined: 2004-09-29 06:57
Location: France

Post by ronan »

Rudi, thank you for your answer (this is how I do for now), but I would like the user to input its own password during the setup.

Any idea here ?

Ronan
NightRyder
80
80
Posts: 157
Joined: 2004-08-15 08:33
Location: WA, USA

Post by NightRyder »

Wait, you want the user to set the pass?
Whats wrong with the setup now, where after installing, it brings up the config box and wants you to enter the password?
using latest code.... always... except when im not.
ronan
8
8
Posts: 21
Joined: 2004-09-29 06:57
Location: France

Post by ronan »

NightRyder wrote:Wait, you want the user to set the pass?
Whats wrong with the setup now, where after installing, it brings up the config box and wants you to enter the password?
I would like a one click install where the user does not enter into UltraVNC parameters. I still want him to set the password so that he still has the control.

Ronan
byteboon
20
20
Posts: 34
Joined: 2004-08-10 23:57
Location: Canada
Contact:

Post by byteboon »

The password is encrypted using DES. You will probably need to make a plugin or DLL for your installer to do this, since most installer scripting languages would be hard pressed to implement DES.

See: winvnc/d3des.c, winvnc/vncpasswd.h for the related source code.

Hope this helps,
Jeremy Cross
Developer
NetworkStreaming.com
Post Reply