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

swtpm_setup: Write EK certificate files into a directory #466

Merged
merged 4 commits into from
Jul 30, 2021

Commits on Jul 28, 2021

  1. swtpm_setup: Move functions checking for directory access to library

    Move code from setpm_setup into new function check_directory_access
    that checks for existence of directory and access to it.
    
    Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
    stefanberger committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    d9e77fe View commit details
    Browse the repository at this point in the history
  2. swtpm_setup: Get key description from function generating the EK key

    Pass an optional key_description parameter through the APIs to be able to
    get the a human readable key description, such as 'rsa2048' or 'secp384r1'
    of the key that was created.
    
    Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
    stefanberger committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    3c182dd View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. swtpm_setup: Support --write-ek-cert-files as an option

    Write the EK certificate files into the directory specified as parameter
    to the --write-ek-cert-files option.
    
    Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
    stefanberger committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    f9d0e23 View commit details
    Browse the repository at this point in the history
  2. tests: Use the --write-ek-cert-files option and check for files

    Use the --write-ek-cert-files option in existing test cases
    and check for written files and correctness of the files.
    
    Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
    stefanberger committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    899c657 View commit details
    Browse the repository at this point in the history