cloudflare / cloudflare/ssh-log-cli

Not working on ARM Mac/linux

Open
#7 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
26
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I noticed the compilation on https://github.com/cloudflare/ssh-log-cli/releases/tag/v0.1.1 is for `x86_64 apple darwin` although I tried to run and I've got this error message:

```
./ssh-log-cli decrypt -i 9d84679aa4ffd38e62c620bef8e57724099e46ae856779cf6c52c09d21a7c417.txt -k sshkey --replay
Error: "Could not create decryption context"ns is not enabled.
```

Even cloning the repo and building a new executable from source I've got the same error.

`Linux on ARM - Docker` I'm getting the same error:

```
root@92bf03839517:/test/Linux# ls -l
total 5100
-rw-r--r-- 1 root root 1865 Apr 13 2022 README.md
-rwxr-xr-x 1 root root 3891104 Apr 13 2022 ssh-log-cli
-rw-r--r-- 1 root root 1323426 Apr 13 2022 ssh-log-cli-v0.1.1-x86_64-unknown-linux-musl.zip
root@92bf03839517:/test/Linux# ./ssh-log-cli decrypt -i ../9d84679aa4ffd38e62c620bef8e57724099e46ae856779cf6c52c09d21a7c417.txt -k ../sshkey --replay
Error: "Could not create decryption context"
root@92bf03839517:/test/Linux# uname -a
Linux 92bf03839517 6.10.14-linuxkit #1 SMP Mon Feb 24 16:35:16 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
```

Same test on a Linux X86 worked flawlessly. The workaround that I've found is create a x86 VM for now...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.