-
Notifications
You must be signed in to change notification settings - Fork 64
Sanitize tss version number too #604
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
base: main
Are you sure you want to change the base?
Conversation
9ae4929 to
bdd2e39
Compare
|
I am not against this. But I would like for the sanitize of the TSS version to be opt-in by using environment variable or by some other means. |
okay, that sounds okay to me. |
|
Every other environment variable that has to deal with tpm2-tss is named something with TPM2_TSS_*. So something like Interesting I tried to build it with static linkage when I finished bundled. But it a bit more complicated so I left it for the future. But if it would be possible to have static linkage on all platforms I think that would be great. |
|
--------
Jesper Brynolf ***@***.***> wrote:
Interesting I tried to build it with static linkage when I finished
bundled. But it a bit more complicated so I left it for the future. But
if it would be possible to have static linkage on all platforms I think
that would be great.
Both swtpm and libtss need a few small patches to build completely
statically.
|
…t-dirty, the rest of the version still has to match
bdd2e39 to
34656f7
Compare
|
I went with: $TPM2_TSS_VERSION_IGNORE_PRERELEASE |
This replaces PR #578.
It is rebased after ther DOCS_RS changes.
Without this patch, the version number does not parse with VersionReq::parse.
(This depends upon #603, please merge that first)