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

shared: generalize signature schemes #303

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Jan 25, 2024

  1. flake: support fine-grained buildRustApp inside of the workspace wr…

    …t packages
    
    Now, it is possible to build any package of the workspace in a fine grained fashion.
    RaitoBezarius committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    9fa26ad View commit details
    Browse the repository at this point in the history
  2. tool(pe): extract stub parameters in their own structure

    We want here to capture the required data to assemble a stub, here is a partial structure
    modulo ESP generation paths.
    
    Other pieces of code can consume this structure, validate it before passing it to the PE assembler
    and the signer.
    
    We convert everything into owned structures because we cannot really do
    deserialization in any context with lifetimes going around, but,
    allocations are generally very cheap in this context.
    RaitoBezarius committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    8c4ad67 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. tool(*): generalize signature mechanisms

    In order to offer more flexible signature mechanisms in lanzaboote,
    we need to take a step back and offer a general PE signature trait.
    
    After this, we will be able to plug various different implementations.
    RaitoBezarius authored and raito committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    fcea16e View commit details
    Browse the repository at this point in the history
  2. nix/tests: extract into a lanzaboote library some common functions

    Our lanzaboote integration tests are getting more and more sophisticated and ambitious.
    
    Let's extract them into a "lanzalib", so they can be used with multiple backends.
    RaitoBezarius authored and raito committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    9a73606 View commit details
    Browse the repository at this point in the history
  3. tool(systemd): improve testing logic for overwrite unsigned images

    We didn't test if there *was* a signature, idempotency of removal of signatures (i.e. removing an non-existent signature
    is the identity operation) could fool us into believing we had a signed thing then not signed.
    RaitoBezarius authored and raito committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    a2456d9 View commit details
    Browse the repository at this point in the history
  4. fix: do not emit a temporary initrd location if it's not needed

    We fabricated a lot of initrds which were exactly the same as the one in
    our store when we had no initrd secrets. This ends this practice.
    RaitoBezarius authored and raito committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    1b40d87 View commit details
    Browse the repository at this point in the history