Skip to content

feat: Makes TPM device path configurable per Agent#24

Closed
jsnctl wants to merge 1 commit intospiffe:masterfrom
cofide:master
Closed

feat: Makes TPM device path configurable per Agent#24
jsnctl wants to merge 1 commit intospiffe:masterfrom
cofide:master

Conversation

@jsnctl
Copy link
Copy Markdown

@jsnctl jsnctl commented Dec 2, 2025

This change introduces TPMPath as a configurable parameter for the Agent plugin to set a non-standard device location for the TPM. If the path is not provided, it falls back to the default case

This is useful for using software TPMs (like swtpm) which often mount in alternative chardev locations to the standard /dev/tpmrm0, and can be used to avoid clashes between hardware and software TPMS in scenarios like testing and CI

* [WIP] Passing a user-defined TPM location

* feat: Adds support for configurable tpm_path on Agent

* Fall back to original OpenConfig when path is not provided

* [From review] Remove redundant methods, add error

Signed-off-by: Jason Costello <jason@cofide.io>

---------

Signed-off-by: Jason Costello <jason@cofide.io>
@jsnctl
Copy link
Copy Markdown
Author

jsnctl commented Jan 8, 2026

Closed in favour of #25

@jsnctl jsnctl closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant