Skip to content

Wrap sgx api into node-cli - #984

Merged
badrogger merged 4 commits into
betafrom
sgx-api
Sep 23, 2026
Merged

badrogger merged 4 commits into
betafrom
sgx-api

Conversation

@badrogger

Copy link
Copy Markdown
Contributor

This pull request introduces SGX client certificate management commands to the SKALE Node CLI and Fair Node CLI, along with supporting implementation and documentation. The main goal is to allow operators to view the status of, and renew, the SGX wallet authentication certificates directly from the CLI. The changes include new CLI commands, core logic for certificate management, configuration constants, and updates to the documentation.

New SGX Certificate Management Functionality:

  • SGX certificate management commands have been added to both the standard and Fair Node CLIs, enabling users to check the status of SGX certificates and renew them as needed. These commands interact directly with the SGX server and manage certificate files on disk.

CLI Command Additions

SGX commands for Standard and Fair Node:

  • Added sgx command group to both the standard (skale sgx ...) and Fair Node (fair sgx ...) CLIs, with status and renew subcommands for managing SGX client certificates.
  • Updated README.md to document the new SGX commands, their options, and usage examples for both standard and Fair Node CLIs. [1] [2] [3] [4]

Core Logic and Configuration

SGX certificate management implementation:

  • Implemented node_cli/core/sgx.py containing all logic for checking, renewing, and validating SGX certificates, including secure file handling, backup, and communication with the SGX server.

Configuration for SGX support:

  • Added node_cli/configs/sgx.py defining file names, directory paths, timeouts, and other constants used in SGX certificate management.

These changes provide a robust, user-facing interface for SGX certificate lifecycle management, improving node operator experience and security.

@badrogger
badrogger requested review from a team, dmytrotkk and kladkogex as code owners September 22, 2026 18:19
@badrogger
badrogger merged commit 9ee6157 into beta Sep 23, 2026
1 of 2 checks passed
@badrogger
badrogger deleted the sgx-api branch September 23, 2026 16:37
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.

2 participants