Skip to content

Conversation

@fbozic
Copy link
Member

@fbozic fbozic commented Jan 13, 2026

Note

Adds a TEE-aware key management service and enables optional encrypted storage in the node.

  • New crates/mero-kms-phala: Axum service verifying TDX quotes and fetching deterministic keys via dstack-sdk; includes /health and /get-key endpoints, env-based config, Dockerfile, and compose file
  • merod: fetches storage key from configured KMS (tee.kms.phala.url), derives attestation nonce from peer ID, and refuses to start if KMS fetch fails when TEE is configured
  • New calimero-store-encryption: AES-256-GCM value encryption with HKDF-derived DEKs, key versioning/rotation; EncryptedDatabase wrapper and decrypting iterator
  • calimero-store: StoreConfig supports with_encryption; transactions gain raw_put/raw_delete
  • calimero-node: opens RocksDB wrapped by EncryptedDatabase when an encryption key is present
  • calimero-config: adds teekms.phala.url types (using Url)
  • CI/CD: adds mero-kms-phala binary to builds and a container release job with new prebuilt Dockerfile; minor extraction step tweak
  • deny.toml: allows Dstack-TEE/dstack git source

Written by Cursor Bugbot for commit 9aa455a. This will update automatically on new commits. Configure here.

@fbozic fbozic self-assigned this Jan 13, 2026
@fbozic fbozic force-pushed the feat/merod-tee-key-releaser branch 6 times, most recently from 396d2e5 to 3b7e0de Compare January 13, 2026 16:17
@github-actions
Copy link

SDK JS Workflows Failed

The following SDK JS workflow(s) failed:

  • examples/kv-store/workflows/simple-store-js.yml

Please check the workflow logs for more details.

@fbozic fbozic force-pushed the feat/merod-tee-key-releaser branch 5 times, most recently from 6bc9940 to 8bea518 Compare January 14, 2026 13:34
@fbozic fbozic force-pushed the feat/merod-tee-key-releaser branch from 2f21b32 to fb893a0 Compare January 19, 2026 11:42
@fbozic fbozic marked this pull request as ready for review January 19, 2026 11:43
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link
Member

@xilosada xilosada left a comment

Choose a reason for hiding this comment

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

Please, address open issues

cursor[bot]

This comment was marked as outdated.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@github-actions
Copy link

Merobox Proposals Workflows Failed

The following proposal workflow(s) failed:

  • near
  • icp
  • ethereum

Please check the workflow logs for more details.

@github-actions
Copy link

Merobox Workflows Failed

The following workflow(s) failed after retries:

  • nested-crdt-test/workflows/nested-crdt-test.yml

Please check the workflow logs for more details.

@fbozic fbozic merged commit 759409f into master Jan 20, 2026
39 of 45 checks passed
@fbozic fbozic deleted the feat/merod-tee-key-releaser branch January 20, 2026 13:51
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.

3 participants