cloudflare / cloudflare/ssh-log-cli

Not working on ARM Mac/linux

Đang mở
#7 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
26
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Begin with the v0.1.1 release artifact and the `decrypt` command shown in the report, then reproduce the failure on ARM Linux or macOS and compare it with x86 Linux. Done means the command creates a decryption context and successfully decrypts the supplied input on the affected ARM platforms without breaking the working x86 case.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
docker, linux, macos, rust
Lĩnh vực
build-system, cli, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.