rust-tss-esapi
rust-tss-esapi copied to clipboard
implement bundled feature and improve windows support
This pull request adds a feature bundled. It builds the tpm2-tss library from source after fetching with git. The normal requirements for build the software apply.
The linux build needs all of the normal requirements for building tpm2-tss as described in their repository.
Windows builds require visual studio 2017, with the c2 clang option, visual studio build tools 10.0.17134.0. Openssl should be installed to C:\OpenSSL-v11-Win64
Excellent work. I will have a look at those errors when I get the time to see if we can get this merged.
I have a few changes required for bundled on linux remaining.
Only thing left for you to do is signing the commits.
The latest commit on the pull request should have signature on it now.
@ionut-arm @Superhepper Should we re-review this? This will assist me with MacOS development.
@ionut-arm @Superhepper Should we re-review this? This will assist me with MacOS development.
Just FYI I'm not opposed to merging this but I've been unable to successfully test it in a reasonable time, both on a Windows machine locally and via CI (https://github.com/parallaxsecond/rust-tss-esapi/pull/524).
I've been trying to test it on macos, but there are issue in the tpm2-tss side, I need to double check it on linux.
@ionut-arm @Superhepper Should we re-review this? This will assist me with MacOS development.
Just FYI I'm not opposed to merging this but I've been unable to successfully test it in a reasonable time, both on a Windows machine locally and via CI (#524).
https://github.com/parallaxsecond/rust-tss-esapi/pull/531
My branch on top of this tests on linux and has it working :)
This needs to be rebased on the latest main.
@uglyoldbob It would be greate if you could rebase this on lastest from main so we could get it merged.
@Superhepper Ok I applied my changes to the latest on main, even with gpg signatures on the two commits. I couldn't figure out how to squash them into a single commit.
@Superhepper Ok I applied my changes to the latest on main, even with gpg signatures on the two commits. I couldn't figure out how to squash them into a single commit.
I usually squash commits using interactive rebase and remove all the signing thing from the comment. Then I sign the commit using amend.
Ok I applied my changes to the latest on main, even with gpg signatures on the two commits. I couldn't figure out how to squash them into a single commit.
Just for the record when you do git rebase main (or something like that) you can also do git rebase -i main to start "interactive" rebase which would present you with a list of commits. If you mark the later ones as squash or fixup they'd be melded with previous ones automatically. Just FYI. :wave:
I saw that there were some interest in trying to run the crate under windows using TBS so i moved the TCTI part of this PR into #545 and added you as co-author. I hope that is ok.