Repository navigation
Feat/decouple dynamic linking switches for PKCS11 and OpenSSL - #456
ShoroukRamzy wants to merge 3 commits into
Conversation
|
Hi @OliverHeilwagen, this PR is stacked on top of #317 and the scope of this PR is only this commit 157cba9 |
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
|
@OliverHeilwagen, Per your suggestion, I executed local trials across the combinations not covered by CI and all passed 1 bazel build //score/crypto/src/daemon:crypto_daemon //score/tests/integration_tests:init_pkcs11_token
Combination 2: Dynamic OpenSSL Decoupled (--config=openssl-dynamic) 1 bazel build //score/crypto/src/daemon:crypto_daemon --config=openssl-dynamic
Combination 3: Dynamic PKCS#11 with Enforced Guardrail (--config=pkcs11-dynamic) 1 bazel build //score/crypto/src/daemon:crypto_daemon --config=pkcs11-dynamic
Combination 4: Dynamic PKCS#11 with OpenSSL Disabled + readelf Check 1 bazel build //score/crypto/src/daemon:crypto_daemon
1 0x0000000000000001 (NEEDED) Shared library: [libsofthsm2.so]
Combination 5: Tool Isolation (init_pkcs11_token) + readelf Check 1 bazel build //score/tests/integration_tests:init_pkcs11_token --//score/crypto/src/backend:pkcs11_link_type=dynamic
1 0x0000000000000001 (NEEDED) Shared library: [libsofthsm2.so]
Combination 6: Cryptoki Static Linking Parity (rust_static_library) 1 bazel build //score/crypto/src/daemon:crypto_daemon
Combination 7: Cryptoki Dynamic Plugin Linking (rust_shared_library) 1 bazel build //score/crypto/src/daemon:crypto_daemon
Combination 8: Full Crypto & Integration Test Suites 1 bazel build //score/crypto/... //score/tests/integration_tests/...
|
157cba9 to
d9c4701
Compare
|
Documentation preview for this pull request is available at: |
d9c4701 to
4e33775
Compare
Note stacked on #317 and should be merged after it.
Closes #348
unblocks #173
Note
The
rust_cryptoki_selectedconfig group is temporarily maintained because the C++ token parser still uses the legacy#if USE_RUST_PKCS11macro. This macro has already been removed in PR #420, and these temporary config settings will be cleaned up once #420 is merged.