-
Notifications
You must be signed in to change notification settings - Fork 158
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
Post-Quantum MQTT Support #415
Comments
Hi Camblor. I'm sorry to see you are having problems with our post-quantum integration in wolfMQTT. Its been a while since that work was done and it might need to be updated. Please let me try it out and report back what I'm seeing. Please stay tuned. In the meantime can you let us know a bit about yourself and your project? For example, is this out of professional, academic or personal interest? Warm regards, Anthony |
Hi Anthony, I'm working as Researcher-Engineer at Gradiant, a technology center where we research about cybersecurity among other topics. Here, we have a research project about the usage of post quantum cryptography in MQTT communication between IoT devices. I'll stay tuned. If you require more information or something I can help with, please tell me. Warm regards, |
Hi Alfonso, I should let you know that we have our own implementation of Kyber/MLKEM and Dilithium/MLDSA So, you don't actually need to build and link against liboqs. Please try this configure command for wolfSSL:
Warm regards, Anthony |
Hi Anthony, I have just tried that configuration, but it gives compilation errors in wolfMQTT without the
and after I add that part to the command, when I run the mqttclient with the mosquitto containers generating the Dilithium2 files, I get:
The good part is that I managed to make this work by using liboqs 0.10.0, wolfssl current version:
wolfMQTT current version and falcon512 in the Dockerfile, but we would like to use Dilithium/MLDSA for the project. Warm regards, |
Alfonso, Instead of Warm regards, Anthony |
Hi Anthony, Yes, I tried that option and it works for wolfssl, but after that, when I compile wolfMQTT I get the error of the previous message. Warm regards, |
Hello,
I have followed the tutorial given in the README.md about Post-Quantum MQTT Support.
When reaching to the point where it's just executing the mqttclient, I got an error.
I have tried with liboqs 0.8.0 and 0.10.0. I do:
After installing the library, for every liboqs version, I enter the following in the wolfssl latest version configuration:
The
--enable-experimental
is not included in the wolfssl INSTALL file, it just points to--with-liboqs
, but I assumed it wouldn't cause any error, so I managed to compile wolfssl and install it with that configuration. The same happens about the--enable-kyber=yes,original
, which happens to cause a problem when compiling wolfMQTT if it's not included.In the instructions, it is said to copy some files from the cert folder of the publisher container:
And the problem is that when executing the following command:
./examples/mqttclient/mqttclient -h 172.18.0.2 -t -A CA.crt -K publisher.key -c publisher.crt -m "Hello from post-quantum wolfMQTT!!" -n test/sensor1 -Q KYBER_LEVEL1
With every other instruction followed and this setup as base, an error arises:
I would appreciate any help with this problem.
The text was updated successfully, but these errors were encountered: