Skip to content

Not working on ARM Mac/linux #7

@gknepper

Description

@gknepper

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions