swtpm

Software TPM emulator


License
MIT

Documentation

swtpm

An easy way to bring a Software TPM emulator into your elixir application by wrapping swtpm.

Prerequisites

Ensure the following are installed on your host system:

Installation

The package can be installed by adding swtpm to your list of dependencies in mix.exs:

def deps do
  [
    {:swtpm, "~> 0.1.0"}
  ]
end

Supervision

Add the SWTPM module spec to your application.ex. For more details see docs for &SWTPM.child_spec/1.

defp children(:host) do
  [
    {SWTPM, [state_dir: "data/tpm"]}
  ]
end