Skip to content

Utility used for calling the SEV platform ioctl

Notifications You must be signed in to change notification settings

codomania/pspioctl

Repository files navigation

Build

$ sh ./autogen.sh

$ make

Run

The output contents is a base64 encoded and similar we expecte the input must be base64 encoded.

  • Show the platform status

    $ ./pspioctl --status

  • To generate new PEK

    $ ./pspioctl --pek-gen

  • To re-generate the PDH

    $ ./pspioctl --pdh-gen

  • To generate CSR

    $ ./pspioctl --pek-csr

    Generated certificate will be saved in certs/output

  • To import the CERTs

    $ ./pspioctl --pek-import

    Before issuing the command you must copy your a valid PEK and OCA certificates in certs/input/pek.b64 and certs/input/oca.b64.

  • To export the PDH and identify of the platform

    $ ./pspioctl --pdh-export

    All the certificates will be saved in certs/output directory.

  • To export the ID

    $ ./pspioctl --get-id

  • To dump the contents of the certificate file

    $ ./pspioctl --decode-cert

About

Utility used for calling the SEV platform ioctl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages