Skip to content

workflows: add build-cryptography.yml for riscv64 wheels - #362

Open
threexc wants to merge 2 commits into
mainfrom
tgamblin/cryptography
Open

workflows: add build-cryptography.yml for riscv64 wheels#362
threexc wants to merge 2 commits into
mainfrom
tgamblin/cryptography

Conversation

@threexc

@threexc threexc commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Upstream statically links a prebuilt OpenSSL that only exists for their own platforms; we link the manylinux_riscv64 image's system OpenSSL dynamically instead and let auditwheel vendor libssl/libcrypto into the wheel.

threexc and others added 2 commits August 25, 2026 22:56
Upstream statically links a prebuilt OpenSSL that only exists for their
own platforms; we link the manylinux_riscv64 image's system OpenSSL
dynamically instead and let auditwheel vendor libssl/libcrypto into the
wheel.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
The manylinux_riscv64 image's system openssl.cnf applies RHEL-style
crypto-policies that reject SHA1 signing/verification, causing 11 real
test failures. That config file isn't bundled by auditwheel (only the
.so is), so it never reaches the shipped wheel - it's an artifact of
testing inside the build container. Set OPENSSL_CONF to handle this for
the test phase only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc
threexc force-pushed the tgamblin/cryptography branch from ce9b32c to e99b4f0 Compare August 26, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant