gsliepen / tinc

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

Tinc tries to write config to a non-existent directory in Windows #385

Open viktor02 opened 2 years ago

viktor02 commented 2 years ago

Tries to write to a mingw emulated directory, but even through mingw terminal it doesn't work

C:\Program Files\tinc>tinc.exe
tinc> init
Enter the Name you want your tinc node to have: vdesktop
Could not create directory D:/a/_temp/msys64/mingw64/etc\tinc: No such file or directory
tinc>
tinc> generate-ed25519-keys
Generating Ed25519 key pair:
Done.
Please enter a file to save private Ed25519 key to [D:/a/_temp/msys64/mingw64/etc\tinc\ed25519_key.priv]:
viktor02 commented 2 years ago

latest version from releases

tinc> version
tinc version 1.1pre18-190-gc32235ac (built May  2 2022 19:18:01, protocol 17.7)
Features: curses legacy_protocol

Copyright (C) 1998-2018 Ivo Timmermans, Guus Sliepen and others.
See the AUTHORS file for a complete list.

tinc comes with ABSOLUTELY NO WARRANTY.  This is free software,
and you are welcome to redistribute it under certain conditions;
see the file COPYING for details.

Windows 10 21H2 x64, ver 19044.1288

viktor02 commented 2 years ago

Fixed when adding a key with the path to the tinc directory to the registry. 09103

viktor02 commented 2 years ago

But not to the end image