ParadoxAlarmInterface / ParadoxAlarmInterface/pai
Cannot enable MQTT authenticated mode for multiple users
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 425
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
Alarm system
EVO192 v.7.70.1
Environment
Rpi/docker
Git branch
master
Question
I'm trying to enable MQTT authenticated mode for multiple users, but the docker container fails at startup.
MQTT_CHALLENGE_SECRET = {'foo': 'bar'}
MQTT_CHALLENGE_ROUNDS = 10000
However, it starts regularly when using a single secret.
MQTT_CHALLENGE_SECRET = 'foo'
MQTT_CHALLENGE_ROUNDS = 10000
What's wrong with the first one?
Logs (if required)
Attempting to load configuration from /etc/pai/pai.conf
Error parsing configuration: Invalid value type <class 'dict'> for config argument MQTT_CHALLENGE_SECRET. Allowed are: [<class 'str'>, <class 'NoneType'>]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how /etc/pai/pai.conf parses MQTT_CHALLENGE_SECRET and how the MQTT authenticated mode consumes that value during Docker startup. Reproduce the failure with the dictionary configuration and confirm that a multi-user secret mapping is accepted while preserving the existing single-secret behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- authentication, backend, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100