linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kselftest and cargo
@ 2025-09-16 13:48 Jarkko Sakkinen
  2025-09-16 13:52 ` Jarkko Sakkinen
  2025-09-16 22:39 ` Shuah Khan
  0 siblings, 2 replies; 7+ messages in thread
From: Jarkko Sakkinen @ 2025-09-16 13:48 UTC (permalink / raw)
  To: linux-kselftest, Shuah Khan; +Cc: linux-integrity, rust-for-linux

Hi,

The pre-existing kselftest for TPM2 is derived works of my earlier Python
based rudimentary TPM2 stack called 'tpm2-scripts'.

In order to get more coverage and more mainintainable and extensible test
suite I'd like to eventually rewrite the tests with bash and tpm2sh, which
is a TPM2 cli written with Rust and based on my new TPM2 stack [1] [2].

Given linux-rust work, would it be acceptable to require cargo to install
a runner for kselftest? I'm finishing off now 0.11 version of the tool,
which will take some time (versions before that are honestly quite bad,
don't try them) but after that this would be something I'd like to
put together.

NOTE: while tpm2-protocol itself is Apache/MIT, tpm2sh is GPL3 licensed
command-line program (for what it is worth).

[1] https://github.com/puavo-org/tpm2sh
[2] https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2-protocol.git/about/

BR, Jarkko



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-18 16:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 13:48 kselftest and cargo Jarkko Sakkinen
2025-09-16 13:52 ` Jarkko Sakkinen
2025-09-16 22:39 ` Shuah Khan
2025-09-18 15:06   ` Jarkko Sakkinen
2025-09-18 15:15     ` Jarkko Sakkinen
2025-09-18 16:04       ` Shuah Khan
2025-09-18 16:35         ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).