Skip to content

Certificate integration and mediator tests - #422

Closed
ChansAlive wants to merge 16 commits into
eclipse-score:mainfrom
etas-contrib:feat/cert_integration_test
Closed

ChansAlive wants to merge 16 commits into
eclipse-score:mainfrom
etas-contrib:feat/cert_integration_test

Conversation

@ChansAlive

Copy link
Copy Markdown
Contributor

Will be ready for review after PR #415

Adds end-to-end certificate coverage. Library-level tests for certificate management and certificate verification run against the daemon. A mediator-level test checks certificate context creation with the real certificate management module. The tests use the basic and pki_chain vectors and the cert-slot configuration in the integration deployment.

Changes

  • Library-level integration tests score_cert_management_integration_test and score_cert_verification_integration_test, both run through the daemon over gRPC.
  • Driver cases in integration_test.py for the certificate management run, the uid 1000 write-denial run, and the certificate verification run.
  • Bazel targets for both test binaries, included in the OpenSSL-only integration deployment.
  • basic and pki_chain vector packages. The pki_chain vectors contain a three-level PKI (root, intermediate, leaf) with CRLs, an OCSP signer certificate, and cert-slot files.
  • Cert-slot and trust-store entries in integration_test_config.json, with application resource mappings for the uids the tests use. Keys follow the current schema.
  • score/crypto/tests/mediator: a mediator component test that registers the real key and certificate modules through MediatorFactory and creates CERT:MANAGEMENT and CERT:VERIFICATION contexts through processRequest.
  • Visibility of the certificate management targets extended to //score/crypto/tests/mediator.

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 71b82c68-0c3d-42cc-93e7-91de1e19f2d0
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
DEBUG: Rule 'abseil-cpp+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-m3oGQwXp/ZTRJP+mzDWFkutCtdpYj7TgfQklSqQAhts="
DEBUG: Repository abseil-cpp+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel>
Computing main repo mapping: 
DEBUG: Rule 'grpc+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-CvN7gAlTEwtHwHW1ZoPuYL3D7aPDf8YAQZP1tWl1ggQ="
DEBUG: Repository grpc+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel>
DEBUG: Rule 'protobuf+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-w6Cp7OiTLjHDtzbi2xixxC5wcM2biBOIsm0BqnHiTKI="
DEBUG: Repository protobuf+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:431:31: in <toplevel>
WARNING: For repository 'score_bazel_platforms', the root module requires module version score_bazel_platforms@0.1.2, but got score_bazel_platforms@1.1.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.2.22, but got rules_cc@0.2.25 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'flatbuffers', the root module requires module version flatbuffers@25.12.19, but got flatbuffers@25.12.19.bcr.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_process_description', the root module requires module version score_process_description@2.2.2, but got score_process_description@2.2.4 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Computing main repo mapping: 
Loading: 
Loading: 1 packages loaded
Loading: 1 packages loaded
    currently loading: 
Loading: 1 packages loaded
    currently loading: 
Loading: 1 packages loaded
    currently loading: 
Loading: 1 packages loaded
    currently loading: 
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:license-check': no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/inc_security_crypto/inc_security_crypto/BUILD
ERROR: no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/inc_security_crypto/inc_security_crypto/BUILD
INFO: Elapsed time: 14.800s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-422: https://eclipse-score.github.io/inc_security_crypto/pr-422/

@ChansAlive

Copy link
Copy Markdown
Contributor Author

Have to close this PR and raise #465 due to source branch change

@ChansAlive ChansAlive closed this Nov 20, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in SEC - Security FT Nov 20, 2026

This branch is waiting to be deployed

1 waiting deployment
workflow-approval — 7618ef82 Waiting Nov 18, 2026 by ChansAlive via Build and Test aarch64-qnx / approval #1092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant