rust-tss-esapi icon indicating copy to clipboard operation
rust-tss-esapi copied to clipboard

implement bundled feature and improve windows support

Open uglyoldbob opened this issue 1 year ago • 14 comments
trafficstars

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

uglyoldbob avatar Apr 15 '24 14:04 uglyoldbob

Excellent work. I will have a look at those errors when I get the time to see if we can get this merged.

Superhepper avatar Apr 16 '24 14:04 Superhepper

I have a few changes required for bundled on linux remaining.

uglyoldbob avatar Apr 16 '24 16:04 uglyoldbob

Only thing left for you to do is signing the commits.

Superhepper avatar Apr 19 '24 14:04 Superhepper

The latest commit on the pull request should have signature on it now.

uglyoldbob avatar Apr 29 '24 00:04 uglyoldbob

@ionut-arm @Superhepper Should we re-review this? This will assist me with MacOS development.

Firstyear avatar Jul 28 '24 04:07 Firstyear

@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).

wiktor-k avatar Jul 29 '24 07:07 wiktor-k

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.

Firstyear avatar Jul 30 '24 01:07 Firstyear

@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 :)

Firstyear avatar Jul 30 '24 06:07 Firstyear

This needs to be rebased on the latest main.

Superhepper avatar Aug 05 '24 07:08 Superhepper

@uglyoldbob It would be greate if you could rebase this on lastest from main so we could get it merged.

Superhepper avatar Aug 17 '24 07:08 Superhepper

@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.

uglyoldbob avatar Aug 17 '24 13:08 uglyoldbob

@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.

Superhepper avatar Aug 18 '24 18:08 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.

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:

wiktor-k avatar Aug 19 '24 09:08 wiktor-k

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.

Superhepper avatar Sep 13 '24 20:09 Superhepper