Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ostree-prepare-root: Validate ed25519 signatures when requested #2921

Merged
merged 3 commits into from
Jul 11, 2023

Commits on Jul 8, 2023

  1. build-sys: Add libsodium to OT_DEP_CRYPTO

    There's no reason to have these distinct really.  If we're using
    libsodium, we want it in the same places we're using openssl.
    
    Prep for further refactoring.
    cgwalters committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    265cf7d View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Factor out a libotcore

    This will contain logic shared between ostree-prepare-root
    and libostree-1.so.  It will just link to libgio.so, so as
    to avoid pulling in e.g. libcurl and other things.
    
    In other words, `ostree-prepare-root` will not link to `libostree-1.so`,
    but will pull in just what it needs from this library.
    cgwalters committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    b8ff210 View commit details
    Browse the repository at this point in the history
  2. ostree-prepare-root: Validate ed25519 signatures when requested

    If requested, by specifying ot-composefs=signed=/path/to/pub.key then
    the commit object is validated against the specified ed25519 public
    key, and if valid, the composefs digest from the commit object is used
    to ensure we boot the right digest.
    alexlarsson authored and cgwalters committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    c29f419 View commit details
    Browse the repository at this point in the history