-
Notifications
You must be signed in to change notification settings - Fork 836
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
Add support for Mosquitto OSP #6460
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Seeing some test failures from Mosquitto which we discussed on Slack.
Apologies for forgetting this in the initial review, we are trying to test all OSP integrations using Github Actions. Please add an action to test Mosquitto. The tests are located in .github/workflows
94082f3
to
40c49a7
Compare
853b060
to
8271af5
Compare
Converted to draft. Will revisit effort when prioritized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. I have some comments on the action.
2a33a61
to
11113d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last fix.
.github/workflows/mosquitto.yml
Outdated
sudo apt-get install -y build-essential libev-dev libssl-dev automake python3-docutils libcunit1 libcunit1-doc libcunit1-dev pkg-config make | ||
|
||
- name: Checkout mosquitto | ||
uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: actions/checkout@v3 | |
uses: actions/checkout@v4 |
.github/workflows/mosquitto.yml
Outdated
run: | | ||
cd $GITHUB_WORKSPACE/mosquitto/ | ||
patch -p1 < $GITHUB_WORKSPACE/osp/mosquitto/${{ matrix.ref }}.patch | ||
make WITH_TLS=wolfssl WITH_CJSON=no WITH_DOCS=no -j |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to use WOLFSSLDIR
to point to the location of wolfSSL.
Tabs-to-spaces from my editor messed up the patch file |
5be1476
to
6648df3
Compare
Fixed a bunch of failing mosquitto tests by concatenating the server cert with the CA. Should be good for final review now. |
Description
To support mosquitto OSP
Add
SSL_CTX_set_dh_auto
stubAdd
--enable-mosquitto
config optionTesting
wolfSSL
Mosquito OSP patch
https://github.com/wolfSSL/osp/blob/master/mosquitto/2.0.18.patch
Eclipse Mosquitto
Checklist