gsliepen / tinc

a VPN daemon
http://tinc-vpn.org/
Other
1.87k stars 280 forks source link

Peer has an invalid key! on tinc join #441

Closed andrecastro0o closed 10 months ago

andrecastro0o commented 10 months ago

Hi y'all,

I have been using tinc for some time. And recently, after migrating the tinc server to different VM, when I create an invitation in the server, the client is not able to accept it, complaining about invalid key.

If you could help me understand and find a solution for this issue, I would highly appreciate.

steps towards error

On server:

tinc.XXXvpn> invite p009pi
5.22.XXX.YYY/?????????LxWRX-ALvRVuvMfwq 

the invitations dir includes: the following files ed25519_key.priv, m0FCMSt7P_Hu11NP_YRbBQCr

On client:

$ tinc join 5.22.208.99/b?????????LxWRX-ALvRVuvMfwq
Connected to 5.22.XXX.YYY port 655...
Peer has an invalid key!
b?????????LxWRX-ALvRVuvMfwq

(??? and XXX, YYY added by me)

FACTS:

client

server: