Skip to content

feat: add confidential compute gpu certificate functionality#74

Merged
brayniac merged 1 commit intorust-nvml:mainfrom
jorgeantonio21:ja-cert-chain
Mar 24, 2025
Merged

feat: add confidential compute gpu certificate functionality#74
brayniac merged 1 commit intorust-nvml:mainfrom
jorgeantonio21:ja-cert-chain

Conversation

@jorgeantonio21
Copy link
Contributor

@jorgeantonio21 jorgeantonio21 commented Mar 4, 2025

Add Confidential Compute GPU Certificate Support

This PR adds support for retrieving confidential compute GPU certificates from NVIDIA devices through the NVML API. The implementation includes:

  1. A new ConfidentialComputeGpuCertificate struct that encapsulates certificate data
  2. A method on the Device struct to retrieve the certificate information

Changes

  • Added confidential_compute_gpu_certificate() method to the Device implementation
  • Created a new ConfidentialComputeGpuCertificate struct to hold certificate data
  • Added appropriate documentation for the new functionality

Use Case

This functionality is useful for applications that need to verify the authenticity of NVIDIA GPUs in confidential computing environments, where hardware attestation is required for security purposes.

Testing

The implementation has been tested on systems with compatible NVIDIA hardware that support confidential computing features.

@brayniac
Copy link
Contributor

Thanks for opening this. It looks like there are some build failures to address.

@jorgeantonio21
Copy link
Contributor Author

@brayniac address the build fails

@brayniac
Copy link
Contributor

I think with the merge of #73 there's now a conflict. Please take a look

@jorgeantonio21
Copy link
Contributor Author

@brayniac I have addressed the merging conflicts. Let me know if it can now be merged.

@brayniac brayniac merged commit 572095f into rust-nvml:main Mar 24, 2025
7 checks passed
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