cloudflare / cloudflare/ssh-log-cli

Not working on ARM Mac/linux

未关闭
#7 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
26
派生
18
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

调研方向

从 v0.1.1 发布构件和报告中显示的 `decrypt` 命令开始,然后在 ARM Linux 或 macOS 上复现该故障,并将其与 x86 Linux 进行比较。完成标准是:该命令能够创建解密上下文,并在受影响的 ARM 平台上成功解密所提供的输入,同时不破坏正常工作的 x86 情况。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, linux, macos, rust
领域
build-system, cli, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。