Closed a-agmon closed 6 months ago
from the above details log message I can see that it failed to verify openssl archive:
{ kind: Other, error: "command [\"/usr/bin/gpg\", \"--homedir\", \"/project/.cache/.gnupg\", \"--verify\", \"/project/.cache/openssl-3.2.0.tar.gz.asc\", \"/project/.cache/openssl-3.2.0.tar.gz\"] exited with code 2" }
As a quick fix, it can follow the https://github.com/nginxinc/ngx-rust/pull/60 pattern and make OPENSSL_GPG_SERVER_AND_KEY_IDS configurable via env variables or simply add GPG key into https://github.com/nginxinc/ngx-rust/blob/master/nginx-sys/build.rs#L27
cc: @dekobon
This should be fixed in the latest commit. Would you mind verifying that it works for you?
The current openssl versions does not include 3.0.7 that ngx-sys was compiled against so I have added in the Dockerfile the latest version:
ENV OPENSSL_VERSION 3.2.0
However, the dockerfile fails with an error that seems to be related to pgp validation in the build actions in ngx-sys: