Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryption key calculation failed with protocol salty #15

Open
petlib opened this issue Oct 7, 2018 · 0 comments
Open

Encryption key calculation failed with protocol salty #15

petlib opened this issue Oct 7, 2018 · 0 comments

Comments

@petlib
Copy link

petlib commented Oct 7, 2018

Archlinux 4.14.73-1-ARCH with libsodium 1.0.16-1: key pair created with ./out/quicktun.keypair:

sudo ./out/quicktun -c PROTOCOL salty -c TUN_MODE 1 -c PRIVATE_KEY_FILE priv.key -c PUBLIC_KEY 5206379a6a4d6b06451d64b229687ea4e87dbc4511245a094d6788432a0ef70b
UCIS QuickTun 2.2.6 (c) 2010-2017 Ivo Smits [email protected]
More information: http://wiki.ucis.nl/QuickTun
Initializing UDP socket...
Initializing tun/tap device...
Initializing cryptography...
Encryption key calculation failed
Aborted

works with nacltai

sudo ./out/quicktun -c PROTOCOL nacltai -c TUN_MODE 1 -c PRIVATE_KEY_FILE priv.key -c PUBLIC_KEY 5206379a6a4d6b06451d64b229687ea4e87dbc4511245a094d6788432a0ef70b
UCIS QuickTun 2.2.6 (c) 2010-2017 Ivo Smits [email protected]
More information: http://wiki.ucis.nl/QuickTun
Initializing UDP socket...
Initializing tun/tap device...
Initializing cryptography...
Warning: TIME_WINDOW not set, risking an initial replay attack
The tunnel is now operational!

What am i doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant