oxidecomputer / oxidecomputer/hubris

Do we want epochs tied to hubris images to prevent rollback

Open
#1,366 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

security
Dominant language
Rust
Stars
3.6k
Forks
239
Avg merge
1d 12h
Merged PRs (30d)
23

Description

Currently, hubris versions are semver included in the caboose. We previously had an idea of using (epoch, version) pairs in order to not allow rolling back to a previous epoch when updating. This is useful for security purposes, like if we want to ensure an old vulnerability cannot be re-activated on a given machine.

The question is whether we still want to use epochs, or some other mechanism. If we do use epochs, where do we store them? In the caboose?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how semver versions are currently included in the caboose and how Hubris images are updated or rolled back. Decide whether epoch/version pairs or another mechanism should prevent rollback to vulnerable older images, and determine where epoch data would be stored if epochs are retained.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.