Skip to content

Encryption key calculation failed with protocol salty #15

@petlib

Description

@petlib

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 Ivo@UCIS.nl
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 Ivo@UCIS.nl
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions