Skip to content

Enrollz TPM 1.2 RotateAIK() enrollment flow README#4836

Merged
gh4683 merged 3 commits intomainfrom
README1.2
Dec 2, 2025
Merged

Enrollz TPM 1.2 RotateAIK() enrollment flow README#4836
gh4683 merged 3 commits intomainfrom
README1.2

Conversation

@muntazirsal
Copy link
Copy Markdown
Contributor

Added README for Enrollz TPM 1.2 flow

@muntazirsal muntazirsal requested a review from a team as a code owner November 20, 2025 19:29
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @muntazirsal, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces comprehensive documentation for the EnrollZ TPM 1.2 RotateAIK enrollment process. The newly added README provides a clear understanding of the intricate multi-step flow, the cryptographic elements involved, and the interaction between the EnrollZ service and TPM 1.2 devices, ensuring future developers and maintainers can easily grasp this critical security mechanism. It details the purpose, protobuf definitions, underlying TPM structures, and a step-by-step guide through the entire enrollment lifecycle.

Highlights

  • New Documentation: A new README file has been added to thoroughly document the EnrollZ TPM 1.2 RotateAIK enrollment flow.
  • Detailed Workflow Explanation: The README provides a comprehensive, multi-phase breakdown of the RotateAIK process, covering initialization, key generation, service-side verification, certification, encryption, device-side activation, and finalization.
  • Protocol Buffer and TPM Structure Details: The documentation includes definitions for the RotateAIKCertRequest and RotateAIKCertResponse Protocol Buffers, along with a list and explanation of critical TPM 1.2 structures involved in the flow.
  • Cryptographic Parameters Summary: A summary table outlines the cryptographic parameters used, such as TPM version, identity label, OAEP parameter, hash algorithm, symmetric key type, and issuer key size.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@OpenConfigBot
Copy link
Copy Markdown

OpenConfigBot commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a comprehensive README.md file detailing the TPM 1.2 RotateAIK enrollment flow. The document is well-structured and provides a clear step-by-step guide to the protocol, including the protobuf messages and underlying TPM structures involved. My review focuses on ensuring the technical accuracy and clarity of this documentation. I've identified a significant error in one of the specified TPM structure values and have also provided suggestions to improve the precision of some descriptions. Overall, this is a valuable addition for understanding the TPM 1.2 enrollment process.

Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md
Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md
Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md
@coveralls
Copy link
Copy Markdown

coveralls commented Nov 20, 2025

Pull Request Test Coverage Report for Build 19841885558

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 10.112%

Totals Coverage Status
Change from base Build 19807068140: 0.0%
Covered Lines: 2227
Relevant Lines: 22023

💛 - Coveralls

@muntazirsal muntazirsal force-pushed the README1.2 branch 4 times, most recently from adfbb41 to 888e535 Compare November 20, 2025 21:51
Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md Outdated
Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md Outdated
Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md Outdated
Comment thread feature/security/attestz/tests/enrollz_tpm12/README.md Outdated
@muntazirsal muntazirsal force-pushed the README1.2 branch 2 times, most recently from fc20faf to 48266c5 Compare November 21, 2025 16:59
@gh4683 gh4683 force-pushed the README1.2 branch 3 times, most recently from e324f0b to c7392de Compare November 26, 2025 19:45
Copy link
Copy Markdown
Member

@mihirpitale-googler mihirpitale-googler left a comment

Choose a reason for hiding this comment

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

lgtm

@gh4683 gh4683 merged commit 7900bf8 into main Dec 2, 2025
17 checks passed
@gh4683 gh4683 deleted the README1.2 branch December 2, 2025 18:14
steve-goog pushed a commit that referenced this pull request Dec 9, 2025
* Enrollz TPM 1.2 RotateAIK() enrollment flow README

* add test cases

* fix some test descriptions

---------

Co-authored-by: Saloni Gupta <gsaloni@google.com>
raviv-arista pushed a commit to raviv-arista/featureprofiles that referenced this pull request Dec 12, 2025
* Enrollz TPM 1.2 RotateAIK() enrollment flow README

* add test cases

* fix some test descriptions

---------

Co-authored-by: Saloni Gupta <gsaloni@google.com>
priyaranjannanda pushed a commit to priyaranjannanda/featureprofiles that referenced this pull request Jan 22, 2026
* Enrollz TPM 1.2 RotateAIK() enrollment flow README

* add test cases

* fix some test descriptions

---------

Co-authored-by: Saloni Gupta <gsaloni@google.com>
nsadhasivam pushed a commit to nsadhasivam/featureprofiles that referenced this pull request Apr 6, 2026
* Enrollz TPM 1.2 RotateAIK() enrollment flow README

* add test cases

* fix some test descriptions

---------

Co-authored-by: Saloni Gupta <gsaloni@google.com>
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.

6 participants