gsliepen / tinc

a VPN daemon

Home Page:http://tinc-vpn.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Peer has an invalid key! on tinc join

andrecastro0o opened this issue · comments

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

  • tinc version: 1.1pre18 (built Aug 23 2023 13:02:45, protocol 17.7)
  • OS: Debian GNU/Linux 11

server:

  • tinc version: 1.1pre18 (built Jul 17 2023 13:22:18, protocol 17.7)
  • OS: Debian GNU/Linux 11