franziskuskiefer / hpke-rs

Pure Rust implementation of HPKE (https://www.rfc-editor.org/rfc/rfc9180.html)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test failures on GitHub macOS actions

sayrer opened this issue · comments

commented

See:

https://github.com/ctz/rustls/runs/2522332833

This unwrap is failing on GitHub's macOS CI, but not on my local Mac. The tests pass on Linux and Windows in CI.

https://github.com/grafica/rustls/blob/083073b14cbd2c838b4fcb00100252ed9ff7dbe4/rustls/src/ech_key.rs#L252

Thanks for the report @sayrer ! I suspect that the issue is that the GH macOS CI machines don't have the necessary CPU instructions to use the evercrypt AES implementation. Can you try to add the "rust-crypto" feature? This pulls in the RustCrypto AES implementation as fallback for CPUs that are not supported by evercrypt at this point.

commented

Yep, that was it, thanks.

commented

Nice! I assumed they were using some old Macs and just enabled the fallback for GH actions but never looked into the actual hardware they are using.