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
Initial Visual Studio VisualGDB projects for tls examples #298
Conversation
heads up I found a few oddities in the existing |
The diff is large... looks like my request for changes did not save, so putting it here in a comment. I installed VS 2022 and Visual GDB. Opened the
The Also in the README.md please clarify the instructions since you show how to create the projects from new, but also have already created some. Thanks |
Curious, the missing file is user specific and not project specific. fwiw - I'm using VS2019 and not VS2022. the WSL I have installed:
my
edit: I'm using VisualGDB version 5.6R4 Build 4534 |
I'm curious what the result is if you try a manual rebuild from command-line in WSL:
I sent a message to sysprog support asking about the missing |
I've found another oddity with these project files. Although they build and run just fine, the clean process is not so good. Fortunately the sysprogs folks implemented a circuit breaker to prevent what could have been a disaster:
I was really hoping to create these projects to be the least intrusive as possible, simply referring to existing source code in the The problem is with the relative references to KEY / CERT / CA files in the
I'm thinking of perhaps adding a second commandline parameter to all of the client apps to optionally accept a specified directory, otherwise use the Alternatively, there could be some sort of @dgarske what do you think? If you agree it would be best to recode all the examples, perhaps it would be best to pull back this PR and implement the new projects one at a time? In the meantime, I have a blog post that shows a walk-through on the client/server TLS13 setup and packet exchange. |
@gojimmypi , summary of what we discussed:
|
@dgarske yes, agreed. Per our discussion, I'm going to:
Regarding the problematic hard-coded paths to the cert files noted above in
|
I've created a bunch of Visual Studio project files, one for each of the wolfSSL tls examples, using the @sysprogs VisualGDB extension.
Solution files are in tls/VisualGDB-tls and each project is in a separate subdirectory.
For convenience, since one would likely want to be running a client and a server concurrently, the client projects are in one solution, and the server projects in another.
These projects were created to work cooperatively with VisualDGB EDP-IDF projects for the ESP32 that I will be working on soon.
There's no new source code here. All project refer to code in the
..\..\tls
directory.See the README.md for examples on creating VisualGDB projects for WSL.