Skip to content

Crypto configuration concept , extend crypto configuration schema and add JSON validation before serialization - #483

Draft
GuruprasadBhatL wants to merge 14 commits into
eclipse-score:mainfrom
etas-contrib:feature/config-concept
Draft

GuruprasadBhatL wants to merge 14 commits into
eclipse-score:mainfrom
etas-contrib:feature/config-concept

Conversation

@GuruprasadBhatL

Copy link
Copy Markdown
Contributor
  1. Extend the crypto configuration schema with daemon settings, resource quotas, key lifecycle metadata, and default/per-UID shared-memory configuration.
  2. Add certificate-to-private-key-slot mappings and a deployment root for relative key, certificate, and trust-store paths.
  3. Generate JSON Schema from the FlatBuffers source of truth, with a Bazel target to update the checked-in schema.
  4. Introduce JSON validation before FlatBuffer serialization, integrate it into configuration build targets, and add example configurations and rejection tests.
  5. Document the configuration workflow, design goals, tooling reuse opportunities, and open questions around defaults, profiles, cross-module access, and vendor extensibility.

@github-actions

github-actions Bot commented Nov 25, 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.8.2) and connecting to it...
INFO: Invocation ID: 54cc7100-f9dc-4255-8763-70ed007d1f43
Computing main repo mapping: 
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: 
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: 14.824s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@GuruprasadBhatL
GuruprasadBhatL marked this pull request as draft November 25, 2026 17:03

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending :

  1. @required attribute for scalar types.
  2. Check the failing builds

Signed-off-by: Guruprasad Bhat <30743494+GuruprasadBhatL@users.noreply.github.com>

This branch is waiting to be deployed

1 waiting deployment
workflow-approval — e054fc9c Waiting Nov 26, 2026 by GuruprasadBhatL via Build and Test x86_64-qnx / approval #1258
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