Giter Club home page Giter Club logo

Comments (9)

ting-ms avatar ting-ms commented on May 24, 2024 2

@qzhuyan Thank you for your efforts! I applied your patch and successfully passed the enhanced authentication.

from emqx.

qzhuyan avatar qzhuyan commented on May 24, 2024 2

glad it works!
We have merged the fix to the master branch.

from emqx.

qzhuyan avatar qzhuyan commented on May 24, 2024

nonce in client finial doesn't match.

expecting:

LXJbjM+4lQHAvt|ZAn%=P0POHT2^e<yVdL&YQm

get:

LXJbjM+4lQHAv*t|ZAn%=P0POHT2^e<yVdL&YQm

from emqx.

ting-ms avatar ting-ms commented on May 24, 2024

Hi @qzhuyan, Thank you for your response. The log information I shared earlier has "*" character being deleted while doing copy paste. I have included the complete log file along with the Wireshark captured packages in the attached zip folder.
auth_test.zip

from emqx.

qzhuyan avatar qzhuyan commented on May 24, 2024

@ting-ms could you share your rumqttc branch will be helpful for me to trouble shoot.
So far I could just see the proof is wrong but don't know why.

from emqx.

qzhuyan avatar qzhuyan commented on May 24, 2024

@ting-ms I guess I found the issue.

could you patch the emqx with this patch? just put the *.beam file under patches dir and restart emqx.
for how to patch refer to https://docs.emqx.com/en/enterprise/v4.4/advanced/patches.html

remember to unzip first!
esasl_scram.beam.zip

from emqx.

ting-ms avatar ting-ms commented on May 24, 2024

@qzhuyan I have do the test again with the patch you provided, the issue persists. Please refer to the attached file for package information and the EMQX log.
auth_test_0415.zip

How can I check whether the patch has been successfully applied?

from emqx.

qzhuyan avatar qzhuyan commented on May 24, 2024

@ting-ms really appreciate your test. I compiled the rustbase_scram and played with it and find it could not interop with the scram module (even with the patched one) in EMQX,
I have narrowed the scope and investigating it.

from emqx.

qzhuyan avatar qzhuyan commented on May 24, 2024

@ting-ms I managed to make it to work with rustbase_scram
from API to API testing, it looks fine, but I want to ensure it works end to end.

esasl_scram.beam.zip
could you try above patch? remember to unzip first!

to ensure the patch is loaded, you could run the following command:

emqx eval 'c:m(esasl_scram)'

it should print that the Object file points to the patched file

from emqx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.