rustdesk / rustdesk-server

RustDesk Server Program

Home Page:https://rustdesk.com/server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restore secrets & public key does not work

Andre0be opened this issue · comments

Bug Description

Hello,

I use a VPS server and have installed my RustDesk server there.

A secret and a public key were generated. I have saved these keys in keepass.

Unfortunately, I had to reinstall the VPS server. So I also reinstalled RustDesk. I then entered the old public key in id_ed25519.pub and the old secret key in id_ed25519 (from KeePass). I then restarted the VPS server.

However, all my devices are now reporting: Not ready. Please check your network connection.

I don't really want to enter a new key on all my devices and those of my friends.

A check with validatekeypair says: Valid

Have I overlooked something or done something wrong?

How to Reproduce

Install a VPS server. Generate a public and sercet key. register a pc. Then delete the VPS. Install VPS new. Take the old key.

Expected Behavior

The PCs with the (old) keys can't register.

Operating system(s) on local side and remote side

Windows 11

RustDesk Version(s) on local side and remote side

RustDesk Server (free) 1.1.9 / Client 1.2.3

Screenshots

Screenshot 2024-01-29 142153
Screenshot 2024-01-29 142908

Additional Context

No response

It looks like it is an IPv6 problem.

If I disable ipv6 in windows, it works.