Hello,
First time contributor.
I've developed a HTTPS demo (based on the F7's HTTP demo) which shows how to create a HTTPS server using wolfSSL.
The demo requires to link against wolfSSL (in ext/wolfssl). I have also prepared the required binding functions, and placed under os/various/wolfssl_bindings, using the same logic as for the lwip integration.
I am finalizing the documentation (README in the app directory), then I would like to submit this to your attention. What is the tree I should rebase my patch on? Should I send a patch here, or is there another way to submit contributions (e.g. a pull request mechanism)?
Thanks in advance,
--
Daniele "danielinux" Lacamera
GPL contribution: SSL integration
- danielinux
- Posts: 20
- Joined: Sat Nov 04, 2017 12:38 pm
- Location: Amsterdam, The Netherlands
- Has thanked: 4 times
- Been thanked: 2 times
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: GPL contribution: SSL integration
Hello Daniele,
Thanks for your interrest and for your contribution.
Your work can be base on trunk branch because this is the one used for developments and tests purpose.
You can send a patch here so that Giovanni will integrate it to the trunk if every things looks good
Thanks.
Thanks for your interrest and for your contribution.
Your work can be base on trunk branch because this is the one used for developments and tests purpose.
You can send a patch here so that Giovanni will integrate it to the trunk if every things looks good
Thanks.
regards,
Theo.
Theo.
Re: GPL contribution: SSL integration
As a matter of interest, how does wolfSSL compare with openSSL at the software level?
(I had a quick look at licensing, and wolfSSL's licensing model could be prohibitively costly for some commercial applications, while openSSL has an Apache licence)
(I had a quick look at licensing, and wolfSSL's licensing model could be prohibitively costly for some commercial applications, while openSSL has an Apache licence)
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: GPL contribution: SSL integration
Hi,
Posting a patch on the forum is fine. I recommend to prepare a zip file to be located into ./ext like lwIP and FatFS and a demo to be placed under ./demos.
Giovanni
Posting a patch on the forum is fine. I recommend to prepare a zip file to be located into ./ext like lwIP and FatFS and a demo to be placed under ./demos.
Giovanni
- danielinux
- Posts: 20
- Joined: Sat Nov 04, 2017 12:38 pm
- Location: Amsterdam, The Netherlands
- Has thanked: 4 times
- Been thanked: 2 times
Re: GPL contribution: SSL integration
Here is the patch. Comments welcome.
Code is structured as indicated:
- ext/ contains a 7z archive of a "patched" wolfSSL. The settings needed will be anyway integrated in upstream wolfSSL, so it will be possible to link against unmodified git versions as soon as this gets integrated
- os/various/wolfssl_bindings contains the glue code
- demo app for STM32F746-discovery in its own directory, based on Chibios 17.x http example, which serves HTTPS connections on port 443.
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- danielinux
- Posts: 20
- Joined: Sat Nov 04, 2017 12:38 pm
- Location: Amsterdam, The Netherlands
- Has thanked: 4 times
- Been thanked: 2 times
Re: GPL contribution: SSL integration
Is the patch for 17.6 or trunk?
it's for trunk, applies on r10962
- danielinux
- Posts: 20
- Joined: Sat Nov 04, 2017 12:38 pm
- Location: Amsterdam, The Netherlands
- Has thanked: 4 times
- Been thanked: 2 times
Re: GPL contribution: SSL integration
Hello!
Any more comments on this? Would you consider it for merging as is, or do you see anything that need to be changed?
Any more comments on this? Would you consider it for merging as is, or do you see anything that need to be changed?
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- danielinux
- Posts: 20
- Joined: Sat Nov 04, 2017 12:38 pm
- Location: Amsterdam, The Netherlands
- Has thanked: 4 times
- Been thanked: 2 times
Re: GPL contribution: SSL integration
FYI:
The changes needed on wolfSSL side are on their way in a pull request on github:
https://github.com/wolfSSL/wolfssl/pull/1245
The changes needed on wolfSSL side are on their way in a pull request on github:
https://github.com/wolfSSL/wolfssl/pull/1245
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 36 guests