Skip to content

Certificate integration and mediator tests - #465

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

ChansAlive wants to merge 25 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 #463

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

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.8.2) and connecting to it...
INFO: Invocation ID: 2345da69-e49c-4799-9ca0-31bce262125f
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'score_bazel_platforms', the root module requires module version score_bazel_platforms@0.1.2, but got score_bazel_platforms@1.3.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
Computing main repo mapping: 
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: 
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/crypto/crypto/BUILD
ERROR: no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/crypto/crypto/BUILD
INFO: Elapsed time: 13.379s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

This branch is waiting to be deployed

1 waiting deployment
workflow-approval — 2111042a Waiting Nov 20, 2026 by ChansAlive via Build and Test x86_64-qnx / approval #1169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant