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

Binary for cloak server is wrong on raspberrypi #650

Open
llacroix opened this issue Feb 28, 2024 · 0 comments
Open

Binary for cloak server is wrong on raspberrypi #650

llacroix opened this issue Feb 28, 2024 · 0 comments

Comments

@llacroix
Copy link

llacroix commented Feb 28, 2024

Describe the bug

The binary downloaded in the docker file seems to be invalid. When attempting to execute the file from docker-exec it prints in the console that the binary can't be executed.

To Reproduce
Steps to reproduce the behavior:

Try to configure a OpenVPN over Cloak using defaults.

Expected behavior
The client should be able to execute the binary

Smartphone (please complete the following information):

  • Device: Nokia 6.1
  • OS: Android
  • Version: latest

Server (please complete the following information):

  • OS: 64bit lite image from official rpi image tool

Additional context

While the docker file seems to download the wrong binary for the ck-server, the url pointing here has the right binary. https://github.com/cbeuw/Cloak/releases/download/v2.5.5/ck-server-linux-arm64-v2.5.5

This is the version supposedly used in the Dockerfile. After exchanging the binary with this one, you can go on the client to update the config of the Cloak server and restart it. It will restart properly. If it doesn't it might be necessary to manually generate and add the private key in the config file in /opt/amnezia/cloak/ck-config.json.

What's strange is that technically the url I used and the one used in the Dockerfile should be the same. So maybe the Curl corrupted the file somehow or there would need for a checksum to check that the file we downloaded is the expected one?

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