micropython / micropython/micropython-lib

Why, if I use the authentication by user / password (Publisher) can I see the data sent in another BROKER without authentication?

オープン
#253 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
2.9k
フォーク
1.1k
平均マージ
7日 6時間
マージ済み PR(30日)
3

説明

629/5000
Hello friends, I am implementing a project that uses user / password authentication. The publisher is thus:
self.client_mqtt = MQTTClient (self.CLIENT_ID, BROKER, PORT, NAME, MQTT_PASS)

On the other hand the BROKER is running mosquitto, this works well. But I've done tests with another BROKER on my PC and another client on my PC with: mosquitto_sub -d -t / #
The problem is that the PC client and the PC BROKER shows the data.

Why, if I use the authentication by user / password (Publisher) can I see the data sent in another BROKER without authentication?
I am doing something wrong?

photo_2018-01-20_18-55-23

Micropython: 1.9.3 with ESP8266

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイルもテストも指定されていません。まず MicroPython 1.9.3、MQTTClient、Mosquitto、mosquitto_sub -d -t / を使ってセットアップを再現し、次に接続とブローカーの設定を調べて、2 番目のブローカーがどのようにデータを受信するのかを明らかにしてください。動作が説明され、具体的なコードまたは設定の変更範囲が明確になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
authentication, networking
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。