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

Windows support #40

Open
Tuttu opened this issue Oct 27, 2017 · 14 comments
Open

Windows support #40

Tuttu opened this issue Oct 27, 2017 · 14 comments
Assignees

Comments

@Tuttu
Copy link

Tuttu commented Oct 27, 2017

Hey there !

I wonder if it would be possible to compile and use this code on a Windows 7 machine or if you are limited to using Unix due to some dependencies.

If possible, what would be the different requirements ?

@ThomasHabets
Copy link
Owner

It may be possible. Arping has compiled on Windows at one point, using winpcap and libnetNT. I don't know if the latter library still works.

I also have heard that Windows no longer supports raw sockets, which could be a problem.

I'd welcome pull requests and would maintain it, but not being a Windows coder I won't be actively try to make it happen.

@ThomasHabets ThomasHabets self-assigned this Oct 27, 2017
@Tuttu
Copy link
Author

Tuttu commented Oct 27, 2017

Thanks for the quick update on the subject. Not being a Windows coder myself, I won't be able to help (Apart from testing) but I will be on the lookout for updates on the topic. :)

@ThomasHabets
Copy link
Owner

Sorry, I confused which project this was for. I guess the caffeine hasn't kicked in.

For simple-tpm-pk11 I have no idea where to start on Windows.

@ThomasHabets ThomasHabets changed the title Compiling code on Windows 7 Windows support Oct 27, 2017
@ThomasHabets
Copy link
Owner

I guess there's also the question of what exactly do you want to do? Just use SSH with TPM?

That you can do like this: https://blog.habets.se/2016/10/Windows-SSH-client-with-TPM.html

@Tuttu
Copy link
Author

Tuttu commented Oct 27, 2017

I have more than 2000 computers using Bitlocker (Keys generated and stored in the TPM) to test and see if their TPM is affected. They should be if I refer myself to all the documentation available on the Web but having the possibility to extract and test the SRK on all the TPM to be sure would be great.

So it's not something I absolutely need to try but that would be a good thing to do nonetheless. :)

@ThomasHabets
Copy link
Owner

Oh you meant specifically the check-srk tool?

Do you have the tooling to start a linux live environment to run this tool? If not, it shouldn't actually be that hard to port. There seems to be trousers for windows, so assuming it works it shouldn't take much time to make check-srk build on Windows.

@Tuttu
Copy link
Author

Tuttu commented Oct 27, 2017

Yep. Sorry, I figured too late the check-srk tool was just a part of the simple-tpm-pk11.

As for your question, the answer is no. We can't deploy a live Linux environment on the workstations as the process must be completely silent to the user. I guess I will just wait and see if a similar windows tool pops on the Web. :)

@ThomasHabets
Copy link
Owner

I've asked on trousers-users

@Tuttu
Copy link
Author

Tuttu commented Oct 27, 2017

Oh, thanks for the help. 👍

@ThomasHabets
Copy link
Owner

What you could do is generate a new key as described here and then use the official scripts to test the key.

@Tuttu
Copy link
Author

Tuttu commented Oct 30, 2017

That's indeed a good idea. I will see what I can do from a test computer.

Edit : looks like I can't use the Smart Card thingy tool as it's a Windows 8 and above tool. Anyway, I will look for something else.

@SquallATF
Copy link

@hajikhorasani
Copy link

@Tuttu and @ThomasHabets I couldn't find the Windows version of TPM-PKCS11. I'll be appreciated if you guide me. I want to use a eToken Pro PKCS11 and TPM-PKCS11 simultaneously in a Windows machine by CryptokiMPX
https://github.com/hajikhorasani/cryptokimpx

@ThomasHabets
Copy link
Owner

@hajikhorasani like I said for coding on Windows I don't even know where to start. And nobody replied to the thread I started (linked above). I've not coded for Windows in about 20 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants