Skip to content

Implement update session command protocol for htool - #289

Open
daimeng-wang wants to merge 1 commit into
google:mainfrom
daimeng-wang:update_session
Open

Implement update session command protocol for htool#289
daimeng-wang wants to merge 1 commit into
google:mainfrom
daimeng-wang:update_session

Conversation

@daimeng-wang

Copy link
Copy Markdown
Collaborator

Adds protocol support for starting, finalizing, and querying RoT update sessions, as well as corresponding htool CLI subcommands:

  • htool update_session start [--timeout=<seconds>] [<timeout_seconds>]
  • htool update_session finalize (alias: end)
  • htool update_session status (alias: get_status)

Tested:

  • Added update_session_test covering start payload, timeout validation, null checks, short responses, and state string formatting.
  • bazel test //... passes all 30 tests.
  • Verified CLI options via bazel run //examples:htool -- update_session --help.

Adds protocol support for starting, finalizing, and querying RoT update sessions, as well as corresponding htool CLI subcommands:
  - htool update_session start [--timeout=<seconds>] [<timeout_seconds>]
  - htool update_session finalize (alias: end)
  - htool update_session status (alias: get_status)

Signed-off-by: daimeng <daimeng@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.

1 participant