Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the generator for the TPM sources available? #79

Closed
sharadhr opened this issue Aug 6, 2022 · 8 comments
Closed

Is the generator for the TPM sources available? #79

sharadhr opened this issue Aug 6, 2022 · 8 comments

Comments

@sharadhr
Copy link

sharadhr commented Aug 6, 2022

The TPM sources used by all the samples, and especially the simulator in TPMCmd, have these telltale lines:

/*(Auto-generated)
 *  Created by TpmStructures; Version 4.4 Mar 26, 2019
 *  Date: Mar  6, 2020  Time: 01:50:09PM
 */

Is the source for this TpmStructures script/binary available? I presume based on this discussion that the generator parses the TPM 2.0 specification itself to generate code.

Equivalent work is in TSS.MSR/TssCodeGen, but that doesn't seem to generate C source code (like is seen in this repository), but rather equivalent structures in higher-level languages.

TpmScripts seems likely, but the repository is empty; there are references to it in this repository's gitignore, too.

@bradlitterell
Copy link
Contributor

Sorry, at the current time, those tools are not available publicly.

@DemiMarie
Copy link
Contributor

@bradlitterell could they be replaced by TssCodeGen?

@bradlitterell
Copy link
Contributor

bradlitterell commented Feb 6, 2023 via email

@DemiMarie
Copy link
Contributor

Are there any plans to make the tool publicly available?

@bradlitterell
Copy link
Contributor

Not currently, no. Sorry.

@DemiMarie
Copy link
Contributor

Not currently, no. Sorry.

Understood. Can you provide the reason, or is that also confidential?

@bradlitterell
Copy link
Contributor

Not currently, no. Sorry.

Understood. Can you provide the reason, or is that also confidential?

Simple practicality. They are complex and troublesome, and we wouldn't have the bandwidth to explain or support them for arbitrary users. Plus, we have plans to remove them entirely.

@DemiMarie
Copy link
Contributor

Not currently, no. Sorry.

Understood. Can you provide the reason, or is that also confidential?

Simple practicality. They are complex and troublesome, and we wouldn't have the bandwidth to explain or support them for arbitrary users. Plus, we have plans to remove them entirely.

Will the replacement be publicly available? I ask because there are changes (like #104) that can only be made in the code generator.

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

No branches or pull requests

3 participants