Skip to content
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

MQTT passwords are cut after 31 chars #39

Closed
marcoraddatz opened this issue Dec 20, 2024 · 3 comments · Fixed by #40
Closed

MQTT passwords are cut after 31 chars #39

marcoraddatz opened this issue Dec 20, 2024 · 3 comments · Fixed by #40
Labels
bug Something isn't working

Comments

@marcoraddatz
Copy link

marcoraddatz commented Dec 20, 2024

I updated the whole software from 0.4 to 0.11 and had to re-setup all credentials. While doing so, I created a separated MQTT user for this project and unfortunately set the password length to 32 characters (yes, I know it's embedded and shouldn't be that long...). It took some time to find out the reason why it's not been working - the password was missing the last character.

I think the password length should either be mentioned or validated 😉

@adlerre adlerre linked a pull request Dec 20, 2024 that will close this issue
@adlerre
Copy link
Owner

adlerre commented Dec 20, 2024

ups....

@adlerre adlerre added the bug Something isn't working label Dec 20, 2024
@adlerre
Copy link
Owner

adlerre commented Dec 20, 2024

Added space for the null terminator. Thanks for finding this.

@marcoraddatz
Copy link
Author

You're welcome! Thanks for fixing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants