After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

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

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.2.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38083
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Multiple pubkeys/pkeys

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
kdh4318
8
8
Posts: 12
Joined: 2024-11-12 01:17

Multiple pubkeys/pkeys

Post by kdh4318 »

Hello

I've tested the case where the server and client own multiple pkeys and pubkeys, and I've come to the conclusion of the following.
Could you confirm if it's correct?

When the server owns multiple pubkeys, only the pubkey with the fastest name recognizes it as the server's authentication key.
That is, if the server owns A, B, C, and D, even if the client owns B, C, and D, authentication fails because A is not present.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6950
Joined: 2004-04-23 10:21
Contact:

Re: Multiple pubkeys/pkeys

Post by Rudi De Vos »

The server send his keyname 20250325_Server_ClientAuth.pubkey
And the client use the key that start with 20250325

The client can have multiple keys, but the server only has one key
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
kdh4318
8
8
Posts: 12
Joined: 2024-11-12 01:17

Re: Multiple pubkeys/pkeys

Post by kdh4318 »

Hello,

I don't understand the saying that the server only has one key. For the pubkey and pkey generated to work properly, the pubkey must exist in the folder where winvnc.exe is located, and the pkey must exist in the folder where vncviewer.exe is located.

This means that if there are multiple keys in the folder, vncviewer can have multiple pkeys and winvnc can have multiple pubkeys.

I tested this part. When AAA_Server_ClientAuth.pubkey, BBB_Server_ClientAuth.pubkey, and CCC_Server_ClientAuth.pubkey were located in the winnc.exe folder, the connection failed even if BBB_Viewer_ClientAuth.pkey and CCC_Viewer_ClientAuth.pkey were located in the vncviewer folder. The connection was successful only when AAA_Viewer_ClientAuth.pkey was located.

Am I wrong about how to use the Client Authentication Key?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6950
Joined: 2004-04-23 10:21
Contact:

Re: Multiple pubkeys/pkeys

Post by Rudi De Vos »

server A 123_server_key A
server B 456_server_key B

viewer 123_viewer_key A and 456_viewer_key B

viewer can connect to server A and B
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
Post Reply