]> git.ipfire.org Git - thirdparty/samba.git/commit
librpc/idl: Add idl for tpm20_rsakey_blob
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 30 Jun 2025 21:43:07 +0000 (09:43 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 29 Jul 2025 04:30:34 +0000 (04:30 +0000)
commit93eecdddfe5f192fa4c4463d3c9a25ab9160bd6a
treeba450653161a4af17a741156f1f676f6a92cdea7
parentf9533d5c7764bea42296aca806daaf9a4a2385a2
librpc/idl: Add idl for tpm20_rsakey_blob

Idl and tests for TPM20_RSAKEY_BLOB, one of the possible encoding of
msDSKeyCredentialLink KeyMaterial
Derived from:
    https://dox.ipxe.org/Tpm20_8h_source.html#l00164
    https://stackoverflow.com/questions/78958315/cannot-parse-tpm2-0-public-key

Note: this is a greatly simplified implementation that only handles TPM
      version 2, RSA public keys.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
librpc/idl/keycredlink.idl
librpc/idl/tpm20_rsakey_blob.idl [new file with mode: 0644]
librpc/idl/wscript_build
librpc/wscript_build
python/samba/tests/tpm20_rsakey_blob.py [new file with mode: 0755]
selftest/tests.py
source4/librpc/wscript_build